Share via


ScriptStringValidate (Windows CE 5.0)

Send Feedback

This function checks the SCRIPT_STRING_ANALYSIS structure for invalid sequences.

HRESULT WINAPI ScriptStringValidate(  SCRIPT_STRING_ANALYSIS ssa);

Parameters

  • ssa
    [in] A SCRIPT_STRING_ANALYSIS structure for a string.

Return Values

If there are no invalid sequences, the function returns S_OK.

If there are one or more invalid sequences, the function returns S_FALSE. If any other unrecoverable error is encountered, it is returned as an HRESULT.

Remarks

This function is intended for use in editors that reject the input of invalid sequences.

Invalid sequences are only checked for those scripts with the fRejectInvalid member set in SCRIPT_PROPERTIES. For example, it is conventional for Notepad to reject invalid Thai character sequences. However, invalid Indian sequences are not conventionally rejected, but instead are displayed in composition with a missing base character symbol.

Requirements

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

See Also

SCRIPT_PROPERTIES | SCRIPT_STRING_ANALYSIS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.