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. |
|
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 |
|
|
|
|
|
|
Sets a callback to receive the recording data for one stream.
The zero-based index of the stream. The index is returned in the pdwSinkStreamIndex parameter of the IMFCaptureSink::AddStream method.
A pointer to the IMFCaptureEngineOnSampleCallback interface. The caller must implement this interface.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Calling this method overrides any previous call to IMFCaptureRecordSink::SetOutputByteStream or IMFCaptureRecordSink::SetOutputFileName.