Share via


IDVDDecoderCSS:IUnknown (Windows CE 5.0)

Send Feedback

This interface provides implementation support for the DVD CSS protocol.

A pointer to an IDVDDecoderCSS interface can be obtained by calling the IUnknown::QueryInterface method of an IDVDRenderer:IUnknown object and specifying the IID_IDVDDECODERCSS reference identifier.

The IDVDDecoderCSS interface has the following methods.

Method Description
IDVDDecoderCSS::SetSectorLength Sets the sector length, in bytes, for a decoder.
IDVDDecoderCSS::NewDisk Notifies the decoder that a new disk has been inserted.
IDVDDecoderCSS::InitiateAuthentication Called in order to enter authentication and negotiation processes before any key transfer operations can take place.
IDVDDecoderCSS::GetChallenge Gets the challenge key from a decoder chip.
IDVDDecoderCSS::SendDriveResponseKey Sends the drive challenge response to the DVD renderer.
IDVDDecoderCSS::SendDriveChallenge Sends the DVD drive challenge key to the DVD decoder.
IDVDDecoderCSS::GetResponseKey Gets the DVD chip challenge response key.
IDVDDecoderCSS::ResetAuthentication Terminates the authentication process.
IDVDDecoderCSS::SendScrambledDiskKeyData Transfers the 2048-byte scrambled disk key data.
IDVDDecoderCSS::SendTitleKey Sends the title key to the appropriate location.
IDVDDecoderCSS::EnableDescrambler Enables the descrambler at the end of title authentication process and before playback has begun.
IDVDDecoderCSS::BypassDescrambler Bypasses the descrambler for disks with fake encryption.

The IDVDDecoderCSS interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

The following code needs to be implemented and exposed by the decoder in order to implement DVD CSS protocol. It needs to be QI-able from the IDVDRenderer interface.

typedef struct { UINT8 key[5]; } CSS_KEY;
typedef struct { UINT8 challenge[10]; } CSS_CHALLENGE;
typedef struct { UINT8 sdks[2048]; } CSS_SDKS;

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdcss.idl.

See Also

DVD-Video Renderer Interfaces

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.