IMFMediaStreamSourceSampleRequest::SetSample method

Sets the sample for the media stream source.

Syntax

HRESULT SetSample(
  [in] IMFSample *value
);

Parameters

value [in]

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]
IDL
Mfidl.idl

See also

IMFMediaStreamSourceSampleRequest