Skip to content

Latest commit

 

History

History
105 lines (71 loc) · 3.83 KB

nf-usp10-scriptstring_plogattr.md

File metadata and controls

105 lines (71 loc) · 3.83 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:usp10.ScriptString_pLogAttr
ScriptString_pLogAttr function (usp10.h)
Returns a pointer to a logical attributes buffer for an analyzed string.
ScriptString_pLogAttr
ScriptString_pLogAttr function [Internationalization for Windows Applications]
_win32_ScriptString_pLogAttr
intl.scriptstring_plogattr
usp10/ScriptString_pLogAttr
intl\scriptstring_plogattr.htm
Intl
ff898c79-2d37-4c0b-af83-2322ab7cf656
12/05/2018
ScriptString_pLogAttr, ScriptString_pLogAttr function [Internationalization for Windows Applications], _win32_ScriptString_pLogAttr, intl.scriptstring_plogattr, usp10/ScriptString_pLogAttr
usp10.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Usp10.lib
Usp10.dll
Windows
Internet Explorer 5 or later on Windows Me/98/95
19H1
ScriptString_pLogAttr
usp10/ScriptString_pLogAttr
c++
APIRef
kbSyntax
DllExport
Usp10.dll
Ext-MS-Win-usp10-l1-1-0.dll
GDI32.dll
GDI32Full.dll
ScriptString_pLogAttr

ScriptString_pLogAttr function

-description

Returns a pointer to a logical attributes buffer for an analyzed string.

-parameters

-param ssa [in]

A SCRIPT_STRING_ANALYSIS structure for the string.

-returns

Returns a pointer to a buffer containing SCRIPT_LOGATTR structures defining logical attributes if successful. The function returns NULL if it does not succeed.

-remarks

The pointer returned by this function is valid only until the application passes the associated SCRIPT_STRING_ANALYSIS structure to ScriptStringFree.

The logical attribute buffer contains at least the number of integers indicated by the ssa parameter of ScriptString_pcOutChars.

When scanning the SCRIPT_LOGATTR array for a word break point, the application should look backward for the values of the fWordStop and fWhiteSpace members. ScriptStringAnalyse just calls ScriptBreak on each run, and ScriptBreak never sets fWordBreak on the first character of a run, because it has no information that the previous run ended in white space.

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.
 

-see-also

SCRIPT_STRING_ANALYSIS

ScriptBreak

ScriptStringAnalyse

ScriptStringFree

ScriptString_pcOutChars

Uniscribe

Uniscribe Functions