Partager via


IDVDNavigatorSink

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.

Programming element 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.

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 reference identifier.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

DVD-Video API Interfaces

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.