Skip to content

Latest commit

 

History

History
75 lines (60 loc) · 3.1 KB

nf-mfcaptureengine-imfcapturerecordsink-setsamplecallback.md

File metadata and controls

75 lines (60 loc) · 3.1 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.IMFCaptureRecordSink.SetSampleCallback
IMFCaptureRecordSink::SetSampleCallback (mfcaptureengine.h)
Sets a callback to receive the recording data for one stream.
IMFCaptureRecordSink interface [Media Foundation]
SetSampleCallback method
IMFCaptureRecordSink.SetSampleCallback
IMFCaptureRecordSink::SetSampleCallback
SetSampleCallback
SetSampleCallback method [Media Foundation]
SetSampleCallback method [Media Foundation]
IMFCaptureRecordSink interface
mf.imfcapturerecordsink_setsamplecallback
mfcaptureengine/IMFCaptureRecordSink::SetSampleCallback
mf\imfcapturerecordsink_setsamplecallback.htm
mf
1D7BB0D1-3F77-4AF3-9624-73EE4D0D0BCE
12/05/2018
IMFCaptureRecordSink interface [Media Foundation],SetSampleCallback method, IMFCaptureRecordSink.SetSampleCallback, IMFCaptureRecordSink::SetSampleCallback, SetSampleCallback, SetSampleCallback method [Media Foundation], SetSampleCallback method [Media Foundation],IMFCaptureRecordSink interface, mf.imfcapturerecordsink_setsamplecallback, mfcaptureengine/IMFCaptureRecordSink::SetSampleCallback
mfcaptureengine.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
Windows
19H1
IMFCaptureRecordSink::SetSampleCallback
mfcaptureengine/IMFCaptureRecordSink::SetSampleCallback
c++
APIRef
kbSyntax
COM
mfcaptureengine.h
IMFCaptureRecordSink.SetSampleCallback

IMFCaptureRecordSink::SetSampleCallback

-description

Sets a callback to receive the recording data for one stream.

-parameters

-param dwStreamSinkIndex [in]

The zero-based index of the stream. The index is returned in the pdwSinkStreamIndex parameter of the IMFCaptureSink::AddStream method.

-param pCallback [in]

A pointer to the IMFCaptureEngineOnSampleCallback interface. The caller must implement this interface.

-returns

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

-remarks

Calling this method overrides any previous call to IMFCaptureRecordSink::SetOutputByteStream or IMFCaptureRecordSink::SetOutputFileName.

-see-also

IMFCaptureRecordSink