Share via


IDVDProgramChain

This interface provides information about the program chain that is currently playing.

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

Programming element Description
GetDomain Returns a pointer to the IDVDDomain interface for the parent domain of the current program chain.
GetContents Returns the program chain contents (PGC_CNT) for the current program chain (PGC).
GetPlaybackTime Returns the program chain playback time (PGC_PB_TM) for the current program chain (PGC).
GetUserOperationControlMask Returns the PGC user operation control (PGC_UOP_CTL) for the current program chain (PGC).
GetAudioStreamSelector Returns the PGC audio stream control (PGC_AST_CTL) information for a specified audio stream in the current program chain (PGC).
GetSubpictureStreamSelector Returns the PGC subpicture stream control (PGC_SPST_CTL) information for a specified audio stream in the current program chain (PGC).
GetLink Returns a PGC number (PGCN) from the PGC navigation control (PGC_NV_CTL) based on a specified navigation direction.
GetPlaybackMode Returns the playback mode, repeat count, and still time value from the PGC navigation control (PGC_NV_CTL) for the current program chain (PGC).
GetSubpicturePalette Returns a buffer containing all 16 PGC subpicture palettes (PGC_SP_PLT) for the current program chain (PGC).
GetNavCommandsCount Returns the number of program command of a specified type from the PGC command table information (PGC_CMDTI) for the current program chain (PGC).
GetNavCommand Returns the navigation command of a specified type from the PGC command table (PGC_CMDT) for the current program chain (PGC).
GetProgramEntryCell Returns the entry cell number (EN_CN) for a specified program number for the current program chain (PGC).
GetCellPlaybackInfo Returns cell playback information (C_PBI) for a specified cell in the current program chain (PGC).
GetCellPosition Returns cell position information (C_POSI) for a specified cell in the current program chain (PGC).
GetPGCN Returns the program chain number (PGCN) for the current program chain (PGC)

The IDVDProgramChain 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 IDVDProgramChain interface in the following ways:

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.