Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 2.83 KB

nf-mfcaptureengine-imfcaptureengine-stoprecord.md

File metadata and controls

75 lines (60 loc) · 2.83 KB
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.
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
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
IMFCaptureEngine::StopRecord
mfcaptureengine/IMFCaptureEngine::StopRecord
c++
APIRef
kbSyntax
COM
mfcaptureengine.h
IMFCaptureEngine.StopRecord

IMFCaptureEngine::StopRecord

-description

Stops recording.

-parameters

-param bFinalize [in]

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.

-param bFlushUnprocessedSamples [in]

A Boolean value that specifies if the unprocessed samples waiting to be encoded should be flushed.

-returns

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

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.

-see-also

IMFCaptureEngine