IDVDProgramChain::GetLink

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(
  EPGCLinkType eType,
  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

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.