Microsoft DirectX 9.0

IXDSToRat::Init

This topic applies to Windows XP Service Pack 1 only.

The Init method sets the XDSToRat object to its initial state.

Syntax

HRESULT Init(void); 

Parameters

This method takes no parameters.

Return Values

The method returns an HRESULT. Possible values include those in the following table.

Value Description
S_OK The method succeeded.

Remarks

The XDS Codec filter calls this method on startup or after a discontinuity, such as a channel change. The XDSToRat object should clear any internal buffers and reset its parsing state. This method prevents decoding errors caused by channel changes or other interruptions.

See Also