IMFDeviceTransform::GetInputStreamState method (mftransform.h)

The GetInputStreamState method gets the Device MFT’s input stream state.

Syntax

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

Parameters

[in] dwStreamID

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

[out] value

Specifies the current DeviceStreamState of the specified input 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 input stream’s state.

Requirements

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

See also

IMFDeviceTransform