Share via


IDVDProgramChain::GetLink (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, given a specified navigation direction, returns a PGC number (PGCN) from the PGC navigation control (PGC_NV_CTL).

Syntax

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 Value

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

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDProgramChain