SCRIPT_DIGITSUBSTITUTE (Windows CE 5.0)

Send Feedback

This structure contains the native digit and digit substitution settings.

typedef struct tag_SCRIPT_DIGITSUBSTITUTE {  DWORD NationalDigitLanguage;  DWORD TraditionalDigitLanguage;  DWORD DigitSubstitute;  DWORD dwReserved;} SCRIPT_DIGITSUBSTITUTE;

Members

  • NationalDigitLanguage
    Language for native substitution.
  • TraditionalDigitLanguage
    Language for traditional substitution.
  • DigitSubstitute
    Substitution type.
  • dwReserved
    Reserved. Initialize to 0.

Remarks

The DigitSubstitute member of SCRIPT_DIGITSUBSTITUTE structure is normally set by ScriptRecordDigitSubstitution. However, it may be replaced by any one of the following values:

SCRIPT_DIGITSUBSTITUTE_CONTEXT: Digits U+0030 to U+0039 are substituted using the language of the prior letters. If there are no prior letters, digits are substituted using the TraditionalDigitLanguage member of the SCRIPT_DIGITSUBSTITUTE structure. This member is normally set to the primary language of the locale passed to ScriptRecordDigitSubstitution.

SCRIPT_DIGITSUBSTITUTE_NATIONAL: Digits U+0030 to U+0039 are substituted using the NationalDigitLanguage member of the SCRIPT_DIGITSUBSTITUTE structure. This member is normally set to the national digits returned for the NLS LCTYPE LOCALE_SNATIVEDIGITS by ScriptRecordDigitSubstitution.

SCRIPT_DIGITSUBSTITUTE_NONE: Digits are not substituted. Unicode values U+0030 to U+0039 are displayed with Arabic, that is Western, numerals.

SCRIPT_DIGITSUBSTITUTE_TRADITIONAL: Digits U+0030 to U+0039 are substituted using the TraditionalDigitLanguage member of the SCRIPT_DIGITSUBSTITUTE structure. This member is normally set to the primary language of the locale passed to ScriptRecordDigitSubstitution.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: Usp10.h.

See Also

ScriptRecordDigitSubstitution

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.