Partager via


IMultiLanguage2::EnumScripts method

Creates a Script Enumeration Object, initializes it with the specified SCRIPTINFO constants, and gets the corresponding IEnumScript interface.

Syntax

HRESULT EnumScripts(
  [in]  DWORD       dwFlags,
  [in]  LANGID      LangId,
  [out] IEnumScript **ppEnumScript
);

Parameters

  • dwFlags [in]
    An unsigned long integer value that contains the flags that control the enumeration. These flags are found in SCRIPTFONTCONTF.

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

  • ppEnumScript [out]
    A pointer to the IEnumScript interface of the 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