Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

capErrorCallback callback function

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

To set the callback, send the WM_CAP_SET_CALLBACK_ERROR message to the capture window or call the capSetCallbackOnError macro.

Syntax


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

Parameters

hWnd

Handle to the capture window associated with the callback function.

nID

Error identification number.

lpsz

Pointer to 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.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Capture
Video Capture Functions

 

 

Show: