Share via


IDVDProgramChain::GetPlaybackMode (Windows Embedded CE 6.0)

1/6/2010

This method reads the program chain general information (PGC_GI) for the current program chain (PGC) and returns the playback mode, repeat count, and still time value from the PGC navigation control (PGC_NV_CTL).

Syntax

HRESULT GetPlaybackMode(
  EPGCPlaybackMode* pMode,
  UINT8* pRepeatCount,
  UINT8* pStillTime
);

Parameters

  • pMode
    [out] Pointer to a value indicating the playback mode for the current PGC. The following table lists the possible values.

    Value Playback mode

    0

    Sequential

    1

    Random

    2

    Shuffle

  • pRepeatCount
    [out] Pointer to the number of times that the programs in the current PGC will be repeated.
  • pStillTime
    [out] Pointer to the still time for the PGC.

Return Value

This method always returns S_OK.

Requirements

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

See Also

Reference

IDVDProgramChain
IDVDProgramChain::GetPlaybackTime