IMFDeviceTransform::GetOutputStreamState method (mftransform.h)

The GetOutputStreamState method gets the Device MFT’s output stream state.

Syntax

HRESULT GetOutputStreamState(
  [in]  DWORD             dwStreamID,
  [out] DeviceStreamState *value
);

Parameters

[in] dwStreamID

Stream ID of the output stream whose state needs to be retrieved.

[out] value

Specifies the current DeviceStreamState of the specified output Device MFT stream.

Return value

The method returns an HRESULT. Possible values include but not limited to values given in the following table.

Return code Description
S_OK
Transitioning the stream state succeeded.
MF_E_INVALIDREQUEST
Device MFT could not support the request at this time.
MF_E_INVAILIDSTREAMNUMBER
An invalid stream ID was passed.

Remarks

This method is used by device transform manager (DTM) to get a specific output stream’s state.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1703
Target Platform Windows
Header mftransform.h

See also

IMFDeviceTransform