The capGetUserData macro retrieves a LONG data value associated with a capture window. You can use this macro or explicitly call the WM_CAP_GET_USER_DATA message.
BOOL capGetUserData(
hwnd
);
Returns the value previously saved by using the capSetUserData macro.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Macros, WM_CAP_GET_USER_DATA