Microsoft DirectX 9.0

IDvdInfo2::GetDVDTextNumberOfLanguages

The GetDVDTextNumberOfLanguages method retrieves the number of text languages for the current DVD or disc side.

Syntax

HRESULT GetDVDTextNumberOfLanguages(
  ULONG *pulNumOfLangs
);

Parameters

pulNumOfLangs

[out] Pointer to a variable of type ULONG that 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 for the current side only.

See Also