Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ScriptGetProperties

ScriptGetProperties function

Retrieves information about the current scripts.

Syntax


HRESULT ScriptGetProperties(
  _Out_ const SCRIPT_PROPERTIES ***ppSp,
  _Out_       int               *piNumScripts
);

Parameters

ppSp [out]

Pointer to an array of pointers to SCRIPT_PROPERTIES structures indexed by script.

piNumScripts [out]

Pointer to the number of scripts. The valid range for this value is 0 through piNumScripts-1.

Return value

Returns 0 if successful. The function returns a nonzero HRESULT value if it does not succeed. The application can test the return value with the SUCCEEDED and FAILED macros.

Remarks

See Determining If a Script Requires Glyph Shaping for an example of the use of this function.

Important  Starting with Windows 8: To maintain the ability to run on Windows 7, a module that uses Uniscribe must specify Usp10.lib before gdi32.lib in its library list.
 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Internet Explorer 5 or later on Windows Me/98/95

Header

Usp10.h

Library

Usp10.lib

DLL

Usp10.dll

See also

Uniscribe
Uniscribe Functions
SCRIPT_PROPERTIES

 

 

Community Additions

ADD
Show:
© 2015 Microsoft