IDVDMenu::GetMenuLanguageInfo

This method retrieves the requested video manager menu language unit (VMGM_LU).

HRESULT GetMenuLanguageInfo(
  UNIT16* plangcount,
  UINT16* pLCBuffer,
  UINT8* pFlagsBuffer
);

Parameters

  • plangcount
    [out] Address of the number of languages.
  • pLCBuffer
    [out] Address of the language code buffer.
  • pFlagsBuffer
    [out] Address of the PGC existence flags.

Return Values

If the function succeeds, the return value is S_OK.

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

Error value Description
E_INVALIDARG The method received an invalid argument.

Remarks

If you call this method with pLCBuffer and pFlagsBuffer both set to NULL, he number of languages in plangcount is returned. This can be useful for determining how big to make the buffers for pLCBuffer and pFlagsBuffer.

Requirements

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

See Also

IDVDMenu

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.