CAPYIELDCALLBACK callback function (vfw.h)
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.
Syntax
CAPYIELDCALLBACK Capyieldcallback;
LRESULT Capyieldcallback(
HWND hWnd
)
{...}
Parameters
hWnd
Handle to the capture window associated with the callback function.
Return value
None
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | vfw.h |