Microsoft DirectX 9.0


This topic applies to Windows XP Service Pack 1 only.

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


HRESULT Init(void); 


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.


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