Share via


IDVDProgramChain::GetNavCommand

This method reads the program chain general information (PGC_GI) for the current program chain (PGC) and returns the navigation command of a specified type from the PGC command table (PGC_CMDT).

HRESULT GetNavCommand(
  ENavCmdArea area,
  UINT16 commandN,
  DVD_NAV_CMD* pCmd
);

Parameters

  • area
    [in] ENavCmdArea enumeration value specifying the type of command to retrieve.
  • commandN
    [in] Specifies the command number in the PGC_CMDT.
  • pCmd
    [out] Pointer to a DVD_NAV_CMD value based on area and commandN.

Return Values

If the method succeeds, it returns S_OK.

If this method fails, the return value may be the following error value.

Error value Description
E_NOINTERFACE The method was unable to obtain and return an interface pointer.

Requirements

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

See Also

IDVDProgramChain | IDVDProgramChain::GetNavCommandsCount

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.