Video channel configuration parameters should be stored in the registry, individually for each user. To store and retrieve a user’s channel configuration parameters, a user-mode driver can call VC_WriteProfileUser and VC_ReadProfileUser. The driver generally obtains channel configuration parameters, and stores them in the registry, when it receives DVM_DIALOG messages.
The VCUser.lib library provides three functions for passing channel configuration parameters to the kernel-mode driver. The VC_ConfigDisplay function is used for passing parameters associated with the output display. The VC_ConfigFormat function is used for passing data format parameters. The VC_ConfigSource function is used for passing parameters associated with the input source. For more information about channel configuration parameters, see Configuring Video Channels.