capCaptureSequence macro (vfw.h)
The capCaptureSequence macro initiates streaming video and audio capture to a file. You can use this macro or explicitly send the WM_CAP_SEQUENCE message.
Syntax
void capCaptureSequence(
hwnd
);
Parameters
hwnd
Handle to a capture window.
Return value
None
Remarks
If you want to alter the parameters controlling streaming capture, use the capCaptureSetSetup macro prior to starting the capture.
By default, the capture window does not allow other applications to continue running during capture. To override this, either set the fYield member of the CAPTUREPARMS structure to TRUE, or install a yield callback function.
During streaming capture, the capture window can optionally issue notifications to your application of specific types of conditions. To install callback procedures for these notifications, use the following macros:
- capSetCallbackOnError
- capSetCallbackOnStatus
- capSetCallbackOnVideoStream
- capSetCallbackOnWaveStream
- capSetCallbackOnYield
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 |