Share via


SCRIPT_DIGITSUBSTITUTE (Windows Embedded CE 6.0)

1/6/2010

This structure contains the native digit and digit substitution settings.

Syntax

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

Header usp10.h
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ScriptRecordDigitSubstitution

Other Resources

Uniscribe Structures