capSetUserData macro (vfw.h)

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

Syntax

void capSetUserData(
   hwnd,
   lUser
);

Parameters

hwnd

Handle to a capture window.

lUser

Data value to associate with a capture window.

Return value

None

Remarks

Typically this message is used to point to a block of data associated with a capture window.

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