ScriptString_pcOutChars function

Returns a pointer to the length of a string after clipping.

Syntax


const int* ScriptString_pcOutChars(
  _In_ SCRIPT_STRING_ANALYSIS ssa
);

Parameters

ssa [in]

A SCRIPT_STRING_ANALYSIS structure for the string.

Return value

Returns a pointer to the length of the string after clipping if successful. The length is the number of Unicode code points. The function returns NULL if it does not succeed.

Remarks

To use this function, the application needs to specify SSA_CLIP in its original call to ScriptStringAnalyse.

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

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
ScriptStringAnalyse
ScriptStringFree
SCRIPT_STRING_ANALYSIS

 

 

Show: