capErrorCallback

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

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

Parameters

hWnd
Handle of the capture window associated with the callback function.
nID
Error identification number.
lpsz
Address of a textual description of the returned error.

Remarks

A message identifier of zero indicates a new operation is starting and the callback function should clear the current error.

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