Share via


IDVDDomain::GetPGC (Windows Embedded CE 6.0)

1/6/2010

This method returns an IDVDProgramChain interface and the program chain category for a specified program chain number (PGCN) in the current domain.

Syntax

HRESULT GetPGC(
  UINT16 pgcn,
  IDVDProgamChain* pPGC,
  UINT32* pPGCCat
);

Parameters

  • pgcn
    [in] Specified PGCN in the current domain.
  • pPGC
    [out] Returns the IDVDProgramChain interface for program chain pgcn in the current domain.
  • pPGCCat
    [out] Returns the program chain category for the current domain (VMGM_PGC_CAT, VTS_PGC_CAT, or VTSM_PGC_CAT).

Return Value

If the function succeeds, the return value is S_OK.

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

Error value Description

E_INVALIDARG

One or more arguments is invalid.

E_NOINTERFACE

The method was unable to obtain and return an interface pointer.

E_OUTOFMEMORY

There was not enough memory available for the operation.

E_POINTER

The returned pointer is invalid.

Requirements

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

See Also

Reference

IDVDDomain