capDriverConnect macro (vfw.h)

The capDriverConnect macro connects a capture window to a capture driver. You can use this macro or explicitly send the WM_CAP_DRIVER_CONNECT message.

Syntax

void capDriverConnect(
   hwnd,
   i
);

Parameters

hwnd

Handle to a capture window.

i

Index of the capture driver. The index can range from 0 through 9.

Return value

None

Remarks

Connecting a capture driver to a capture window automatically disconnects any previously connected capture driver.

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