Поделиться через


IMultiLanguage2::EnumCodePages method

Creates a Code Page Enumeration Object, initializes it with the value specified with grfFlags, and gets the corresponding IEnumCodePage interface.

Syntax

HRESULT EnumCodePages(
  [in]  DWORD         grfFlags[in],
  [in]  LANGID        LangId[in],
  [out] IEnumCodePage **ppEnumCodePage[out]
);

Parameters

  • grfFlags [in]
    An unsigned long integer value that contains flags that control code page enumeration. This can be a combination of the MIMECONTF values.

  • LangId [in]
    A LANGID that specifies the language to be associated with the code pages.

  • ppEnumCodePage [out]
    A pointer to the IEnumCodePage interface of the Code Page Enumeration Object.

Return value

Returns S_OK if successful, or an error value otherwise.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Mlang.h

IDL

Mlang.idl

DLL

Mlang.dll

See also

IMultiLanguage2