VC_ConfigDisplay

BOOL
VC_ConfigDisplay(
    VCUSER_HANDLE
vh,
    PCONFIG_INFO
pConfig
   
);

The VC_ConfigDisplay function sends display-configuration information to a kernel-mode video capture driver.

Parameters
vh
Handle to the kernel-mode driver, obtained from VC_OpenDevice.
pConfig
Pointer to a CONFIG_INFO structure.
Return Value

Returns TRUE if the operation succeeds. Otherwise returns FALSE.

Comments

User-mode video capture drivers use the VC_ConfigDisplay function to send channel configuration parameters to the kernel-mode driver. Typically, this function is used to send video overlay parameters associated with the VIDEO_EXTERNALOUT channel.

This VC_ConfigDisplay function calls DeviceIoControl (described in the Win32 SDK) to send an IOCTL_VIDC_CONFIG_DISPLAY control code to the specified kernel-mode driver. When a kernel-mode driver using VCKernel.lib receives this control code, its ConfigDisplayFunc function is called.

For more information about channel configuration, see Configuring Video Channels.