Microsoft DirectX 8.1 (C++)

IMPEG2ComponentType::put_StreamType

The put_StreamType method sets the MPEG2 stream type.

Syntax

HRESULT put_StreamType(
    MPEG2StreamType MP2StreamType
    );

Parameters

MP2StreamType

[in] Variable of type MPEG2StreamType that specifies the stream type.

Return Values

Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.

See Also