Platform SDK: International Features

ScriptString_pLogAttr

The ScriptString_pLogAttr function returns a pointer to a logical attributes buffer for an analyzed string.

const SCRIPT_LOGATTR* WINAPI ScriptString_pLogAttr(
  SCRIPT_STRING_ANALYSIS ssa 
);

Parameters

ssa
[in] A SCRIPT_STRING_ANALYSIS structure for the string.

Return Values

If the function is successful, it returns a pointer to the logical attributes buffer.

If the function fails, it returns NULL. 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.

Remarks

The buffer pointer is valid only until the associated ssa is passed to ScriptStringFree.

The logical attribute buffer contains *ScriptString_pcOutChars (ssa) entries.

Requirements

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

See Also

Uniscribe Overview, Uniscribe Functions, ScriptStringFree, ScriptString_pcOutChars, SCRIPT_STRING_ANALYSIS