The capCaptureAbort macro stops the capture operation. You can use this macro or explictly send the WM_CAP_ABORT message.
BOOL capCaptureAbort(
hwnd
);
Returns TRUE if successful or FALSE otherwise.
The capture operation must yield to use this macro.
In the case of step capture, the image data collected up to the point of the capCaptureAbort macro will be retained in the capture file, but audio will not be captured.
Use the capCaptureStop macro to halt step capture at the current position, and then capture audio.
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, capCaptureStop, WM_CAP_ABORT