Microsoft DirectX 9.0

IMpeg2PsiParser::GetTransportStreamId

The implementation of this method is provided as sample code with the DirectShow SDK. It is not a supported DirectShow API.

The GetTransportStreamId method retrieves the transport_stream_id field from the PAT. This value is defined by the user, and can be used to distinguish a particular transport stream from other streams on the same network. A transport stream contains at most one PAT.

Syntax

HRESULT GetTransportStreamId(
    WORD *pStreamId
);

Parameters

pStreamId

[out]  Pointer to a variable that receives the transport_stream_id field.

Return Values

The method returns an HRESULT value. Possible values include, but are not limited to, the values shown in the following table.

Value Description
S_OK Success.

See Also