IDVDProgramChain::GetCellPosition

This method reads the program chain general information (PGC_GI) for the current program chain (PGC) and returns cell position information (C_POSI) for a specified cell in the cell position information table (C_POSIT).

HRESULT GetCellPosition(
  UINT8 cn,
  UINT16* pVOB_ID,
  UINT8* pC_IDN
);

Parameters

  • cn
    [in] Specifies the C_POSI set in the C_POSIT.
  • pVOB_ID
    [out] Pointer to the video object ID number (C_VOB_ID) of the cell specified by cn.
  • pC_IDN
    [out] Pointer to the cell ID number (C_IDN) of the cell specified by cn.

Return Values

If the method succeeds, it returns S_OK.

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

Error value Description
E_NOINTERFACE The method was unable to obtain and return an interface pointer.

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.