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.
CAPDRIVERCAPS CapDrvCaps;
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for