다음을 통해 공유


ScriptString_pLogAttr (Windows CE 5.0)

Send Feedback

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

const SCRIPT_LOGATTR* WINAPI ScriptString_pLogAttr(  SCRIPT_STRING_ANALYSIS ssa);

Parameters

Return Values

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

If the function fails, it returns NULL.

Remarks

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

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

When scanning the SCRIPT_LOGATTR array for a wordbreak point you should look backwards for fWordStop and fWhiteSpace. This is because ScriptStringAnalyse simply calls ScriptBreak on each run, and ScriptBreak never sets fWordBreak on the first character of a run because it does not know whether the previous run ended in whitespace.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.
Link Library: Uspce.lib.

See Also

ScriptBreak | ScriptStringAnalyse | ScriptStringFree | SCRIPT_STRING_ANALYSIS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.