Share via


IDVDProgramChain::GetNavCommand (Windows CE 5.0)

Send Feedback

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(ENavCmdAreaarea,UINT16commandN,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

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.