The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Obtaining the Capabilities of a Capture Driver

The WM_CAP_DRIVER_GET_CAPS message returns the capabilities of the capture driver and underlying hardware in the CAPDRIVERCAPS structure. Each time an application connects a new capture driver to the capture window, it should update the CAPDRIVERCAPS structure. The following example uses the capDriverGetCaps macro to obtain the capture driver capabilities.


SendMessage (hWndC, WM_CAP_DRIVER_GET_CAPS, 
    sizeof (CAPDRIVERCAPS), (LONG) (LPVOID) &CapDrvCaps); 

// Or, use the macro to retrieve the driver capabilities. 
// capDriverGetCaps(hWndC, &CapDrvCaps, sizeof (CAPDRIVERCAPS)); 

Related topics

Using Video Capture