Configuring Video Channels, Using VCKernel.lib

Kernel-mode video capture drivers can provide three functions for setting device characteristics that are based on the channel configuration options defined by the user-mode driver. These functions are:

ConfigDisplayFunc 
Sets characteristics of the overlay display.
ConfigFormatFunc 
Sets video data format characteristics.
ConfigSourceFunc 
Sets characteristics of the video source.

Code in VCKernel.lib calls these functions in response to requests from the user-mode driver, which are explained in Configuring Video Channels, Using VCUser.lib.

Whenever video data format characteristics are changed, the kernel-mode driver should call VC_SetImageSize to indicate the maximum number of bytes needed to store an image, using the current format.