Share via


IDVDMenu::GetMenuLanguageInfo (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Header dvdata.h, dvdata.idl
Library Ddvdids.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IDVDMenu