capDriverGetVersion macro (vfw.h)

The capDriverGetVersion macro returns the version information of the capture driver connected to a capture window. You can use this macro or explicitly send the WM_CAP_DRIVER_GET_VERSION message.

Syntax

void capDriverGetVersion(
   hwnd,
   szVer,
   wSize
);

Parameters

hwnd

Handle to a capture window.

szVer

Pointer to an application-defined buffer used to return the version information as a null-terminated string.

wSize

Size, in bytes, of the application-defined buffer referenced by szVer.

Return value

None

Remarks

The version information is a text string retrieved from the driver's resource area. Applications should allocate approximately 40 bytes for this string. If version information is not available, a NULL string is returned.

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