Share via


IDVDTextManager::GetTextItemsCount

This method returns the number of item text search pointers (IT_TXT_SRP_Ns) in the text data (TXTDT) for a specified title in a specified text data language unit (TXTDT_LU). This method can also return the IT_TXT_SRP_Ns for the TXTDT_LU's volume.

HRESULT GetTextItemsCount(
  DVD_TEXT_LANGUAGE_UNIT* pTLU,
  UINT8 title,
  UINT16* pCount
);

Parameters

  • pTLU
    [in] Specified pointer to a DVD_TEXT_LANGUAGE_UNIT structure obtained from a previous call to IDVDTextManager::EnumerateTextLanguageUnits.
  • title
    [in] Specified title number in the range from 1 to 99. A title value of 0 will return data for the TXDT_LU's volume.
  • pCount
    [out] IT_TXT_SRP_Ns in the TXTDT_LU, specified by pTLU, for the title specified by title.

Return Values

This method always returns S_OK.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Dvdata.h, Dvdata.idl.
Link Library: Ddvdids.lib.

See Also

IDVDTextManager | DVD_TEXT_LANGUAGE_UNIT

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.