The capGrabFrame macro retrieves and displays a single frame from the capture driver. After capture, overlay and preview are disabled. You can use this macro or explicitly call the WM_CAP_GRAB_FRAME message.
BOOL capGrabFrame(
hwnd
);
Returns TRUE if successful or FALSE otherwise.
For information about installing callback functions, see the capSetCallbackOnError and capSetCallbackOnFrame macros.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in vfw.h.
Video Capture Overview, Video Capture Macros, capSetCallbackOnError, capSetCallbackOnFrame, WM_CAP_GRAB_FRAME