Platform SDK: International Features

ScriptGetProperties

The ScriptGetProperties function returns information about the current scripts.

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

Parameters

ppSp
[out] Receives a pointer to an array of pointers to SCRIPT_PROPERTIES structures indexed by script.
piNumScripts
[out] Receives the number of scripts. The valid range for this value is zero through NumScripts –1.

Return Values

If the function succeeds, the return value is zero.

If the function fails, it returns a nonzero value. And if any other unrecoverable error is encountered, it is also returned as HRESULT. For example, error returns from Win32 API functions are converted to HRESULT using the HRESULT_FROM_WIN32 macro and returned to the client in the HRESULT.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Usp10.h.
  Library: Use Usp10.lib.

See Also

Uniscribe Overview, Uniscribe Functions, SCRIPT_PROPERTIES