Partager via


IDVDNavigatorSink (Windows Embedded CE 6.0)

1/6/2010

This interface is a COM connection point that allows applications to monitor the dynamic state of DVD playback. As the DVD-Video API encounters navigation-based events, it issues callbacks through the IDVDNavigatorSink interface. You must implement the specific IDVDNavigatorSink methods within your DVD player application.

The following table lists the methods for IDVDNavigatorSink in the order the compiler calls them.

Method Description

OnSPRMChange

Called whenever a system parameter (SPRM) value changes.

OnGPRMChange

Called whenever a general parameter (GPRM) value changes.

OnNewProgramChain

Called whenever the player switches to a new program chain (PGC).

OnNewProgram

Called whenever the player switches to a new program (PG).

OnNewCell

Called whenever the player switches to a new cell.

OnGOPUserData

Called when the player encounters user data in a group of pictures (GOP).

OnUOPChange

Called when the navigation manager receives a new user operation (UOP).

OnPlaybackStateChange

Called whenever the playback state changes.

OnDiskReadError

Called whenever the navigation manager is unable to read from the DVD volume.

ConfirmTemporaryParentalLevel

Called when the navigation manager receives a navigation command that changes the parental level (PTL_LVL).

OnNavigationException

Called when the navigation manager receives a navigation request that it cannot complete.

InitializeSystemParameters

Called whenever system parameters (SPRM) must be initialized in response to the event categories described by the EDVDSParamEvent enumeration.

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

Remarks

You can obtain a pointer to an IDVDNavDataStatusSink interface by calling the IUnknown::QueryInterface method of a DVDData object and specifying the IID_IDVDNavDataStatusSink interface identifier, see DVD-Video API Interface Identifiers.

Requirements

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

DVD-Video API Interfaces