| Microsoft DirectX 8.1 (C++) | 
The get_StreamType method retrieves the stream type.
Syntax
HRESULT get_StreamType(
    MPEG2StreamType* pMP2StreamType
    );
Parameters
pMP2StreamType
[out] Pointer to a variable of type MPEG2StreamType that receives the stream type value.
Return Values
Returns S_OK if successful. If the method fails, error information can be retrieved using the standard COM IErrorInfo interface.
See Also