Поделиться через


IDVDProgramChain (Windows Embedded CE 6.0)

1/6/2010

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.

Method 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 methods:

Remarks

You can obtain a pointer to an IDVDProgramChain interface in the following ways:

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