IMFASFStreamConfig::GetStreamType method (wmcontainer.h)

Gets the major media type of the stream.

Syntax

HRESULT GetStreamType(
  [out] GUID *pguidStreamType
);

Parameters

[out] pguidStreamType

Receives the major media type for the stream. For a list of possible values, see Major Media Types.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header wmcontainer.h
Library Mfuuid.lib

See also

IMFASFStreamConfig

IMFMediaType