IDvdInfo2::GetDVDTextNumberOfLanguages

 
Microsoft DirectShow 9.0

IDvdInfo2::GetDVDTextNumberOfLanguages

The GetDVDTextNumberOfLanguages method retrieves the number of languages in which DVD text strings appear.

Syntax

  HRESULT GetDVDTextNumberOfLanguages(
  ULONG *pulNumOfLangs
);

Parameters

pulNumOfLangs

[out] Receives the number of text languages.

Return Values

Returns one of the following HRESULT values.

Return code Description
S_OK Success.
E_POINTER Invalid argument.
E_UNEXPECTED An unexpected internal error occurred.

Remarks

Depending on how the disc is authored, the number of languages will be valid either for the entire disc, or only for the current side of the disc.

If the DVD does not contain any text strings, the method succeeds, but pulNumOfLangs receives the value zero.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also