IMFMediaStreamSourceSampleRequest::SetSample method (mfidl.h)

Sets the sample for the media stream source.

Syntax

HRESULT SetSample(
  [in] IMFSample *value
);

Parameters

[in] value

The sample for the media stream source.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header mfidl.h

See also

IMFMediaStreamSourceSampleRequest