Share via


IDVDProgramChain::GetLink (Windows CE 5.0)

Send Feedback

This method reads the program chain general information (PGC_GI) for the current program chain (PGC) and, given a specified navigation direction, returns a PGC number (PGCN) from the PGC navigation control (PGC_NV_CTL).

HRESULT GetLink(EPGCLinkTypeeType,UINT16* pgcn);

Parameters

  • eType
    [in] Specifies the navigation direction for the upcoming PGC according to the following values.
    Value Navigation direction
    0 Next_PGCN
    1 Previous_PGCN
    2 GoUp_PGCN
  • pgcn
    [out] Pointer to the PCGN specified by eType.

Return Values

If the method succeeds, it returns S_OK.

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

Error value Description
E_INVALIDARG One or more arguments is invalid.

Requirements

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

See Also

IDVDProgramChain

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.