capSetUserData

The capSetUserData macro associates a LONG data value with a capture window. You can use this macro or explicitly call the WM_CAP_SET_USER_DATA message.

BOOL capSetUserData(
  hwnd,  
  lUser  
);

Parameters

hwnd

Handle to a capture window.

lUser

Data value to associate with a capture window.

Return Values

Returns TRUE if successful or FALSE if streaming capture is in progress.

Remarks

Typically this message is used to point to a block of data associated with 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 Macros, WM_CAP_SET_USER_DATA