IDVDDomain::GetPGC
This method returns an IDVDProgramChain interface and the program chain category for a specified program chain number (PGCN) in the current domain.
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 Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.
See Also
Last updated on Thursday, April 08, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.