IMLangFontLink2::CodePageToScriptID method

Gets the script identifier associated with a code page.

Syntax

HRESULT CodePageToScriptID(
  [in]  UINT      uiCodePage,
  [out] SCRIPT_ID *pSid
);

Parameters

  • uiCodePage [in]
    An unsigned integer value that specifies the code page.

  • pSid [out]
    A pointer to a SCRIPT_ID value that receives the script identifier associated with the code page.

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

IMLangFontLink2