IDVDProgramChain::GetPlaybackMode

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).

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 Values

This method always returns S_OK.

Requirements

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

See Also

IDVDProgramChain | IDVDProgramChain::GetPlaybackTime

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.