The DVM_GET_CHANNEL_CAPS message requests a user-mode video capture driver to return the capabilities of a video channel.
The driver should return DV_ERR_OK if the operation succeeds. Otherwise, it should return one of the DV_ERR error codes defined in msvideo.h. Custom error codes are also allowed (see DVM_GETERRORTEXT).
A client sends the DVM_GET_CHANNEL_CAPS message by calling the driver’s DriverProc entry point, passing the specified parameter values. Applications can send this message by calling the videoGetChannelCaps function, which is described in the Video for Windows Development Kit.
The driver fills in the client-supplied CHANNEL_CAPS structure with channel information for the specified channel.