WM_CAP_DRIVER_GET_CAPS

The WM_CAP_DRIVER_GET_CAPS message returns the hardware capabilities of the capture driver currently connected to a  capture window. You can send this message explicitly or by using the capDriverGetCaps macro.

WM_CAP_DRIVER_GET_CAPS 
wParam = (WPARAM) (wSize); 
lParam = (LPARAM) (LPVOID) (LPCAPDRIVERCAPS) (psCaps); 

Parameters

wSize

Size, in bytes, of the structure referenced by s.

psCaps

Pointer to the CAPDRIVERCAPS structure to contain the hardware capabilities.

Return Values

Returns TRUE if successful or FALSE if the capture window is not connected to a capture driver.

Remarks

The capabilities returned in CAPDRIVERCAPS are constant for a given capture driver. Applications need to retrieve this information once when the capture driver is first connected to a capture window.

Requirements

**  Windows NT/2000/XP:** Included in Windows NT 3.1 and later.
**  Windows 95/98/Me:** Included in Windows 95 and later.
**  Header:** Declared in Vfw.h.

See Also

Video Capture, Video Capture Messages, CAPDRIVERCAPS, capDriverGetCaps