capDriverConnect  1W7HHS5 

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

BOOL capDriverConnect(

    hwnd,

 

    iIndex

 

   );

 

 

Parameters

iIndex

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

hwnd

Handle of a capture window.

 

Return Values

Returns TRUE if successful or FALSE if the specified capture driver cannot be connected to the capture window.

Remarks

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

See Also

WM_CAP_DRIVER_CONNECT