IDVDProgramChain::GetNavCommand (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 navigation command of a specified type from the PGC command table (PGC_CMDT).
Syntax
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 Value
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
Header | dvdata.h, dvdata.idl |
Library | Ddvdids.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |