UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mfcaptureengine.IMFCaptureEngine.StopRecord |
IMFCaptureEngine::StopRecord (mfcaptureengine.h) |
Stops recording. |
|
mf\imfcaptureengine_stoprecord.htm |
mf |
737C23E0-D4EF-4630-A460-2AE56FE50A12 |
12/05/2018 |
IMFCaptureEngine interface [Media Foundation],StopRecord method, IMFCaptureEngine.StopRecord, IMFCaptureEngine::StopRecord, StopRecord, StopRecord method [Media Foundation], StopRecord method [Media Foundation],IMFCaptureEngine interface, mf.imfcaptureengine_stoprecord, mfcaptureengine/IMFCaptureEngine::StopRecord |
mfcaptureengine.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
Stops recording.
A Boolean value that specifies whether to finalize the output file. To create a valid output file, specify TRUE. Specify FALSE only if you want to interrupt the recording and discard the output file. If the value is FALSE, the operation completes more quickly, but the file will not be playable.
A Boolean value that specifies if the unprocessed samples waiting to be encoded should be flushed.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This method is asynchronous. If the method returns a success code, the caller will receive an MF_CAPTURE_ENGINE_RECORD_STOPPED event through the IMFCaptureEngineOnEventCallback::OnEvent method. The operation can fail asynchronously after the method succeeds. If so, the error code is conveyed through the OnEvent method.