capYieldCallback

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

To set the callback, send the WM_CAP_SET_CALLBACK_YIELD message to the capture window or call the capSetCallbackOnYield macro.

LRESULT CALLBACK capYieldCallback(
  HWND hWnd  
);

Parameters

hWnd

Handle to the capture window associated with the callback function.

Remarks

The capture window calls the yield callback function at least once for every captured video frame, but the exact rate depends on the frame rate and the overhead of the capture driver and disk.

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.

See Also

Video Capture, Video Capture Functions