Redigera

Dela via


capDriverGetCaps macro (vfw.h)

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

Syntax

BOOL capDriverGetCaps(
     hwnd,
     s,
     wSize
);

Parameters

hwnd

Handle to a capture window.

s

Pointer to the CAPDRIVERCAPS structure to contain the hardware capabilities.

wSize

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

Return value

Type: BOOL

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header vfw.h

See also

Video Capture

Video Capture Macros