capStatusCallback

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

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

Parameters

hWnd
Handle of the capture window associated with the callback function.
nID
Message identification number.
lpsz
Address of 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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in vfw.h.
  Import Library: User-defined.

See Also

Video Capture Overview, Video Capture Functions