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 of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.

See Also

Video Capture Overview, Video Capture Macros, WM_CAP_SET_USER_DATA