capStatusCallback

The capStatusCallback function is the status callback function used with video capture. The name capStatusCallback is a placeholder for the application-supplied function name.

To set the callback, send the WM_CAP_SET_CALLBACK_STATUS message to the capture window or call the capSetCallbackOnStatus macro.

LRESULT CALLBACK capStatusCallback(
  HWND hWnd,  
  int nID,    
  LPCTSTR lpsz 
);

Parameters

hWnd

Handle to the capture window associated with the callback function.

nID

Message identification number.

lpsz

Pointer to a textual description of the returned status.

Remarks

During capture operations, the first message sent to the callback function is always IDS_CAP_BEGIN and the last is always IDS_CAP_END. A message identifier of zero indicates a new operation is starting and the callback function should clear the current status.

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.
  Library: Use Vfw32.lib.
  Unicode: Implemented as Unicode and ANSI versions on Windows NT/2000/XP.

See Also

Video Capture, Video Capture Functions

Show: