2.2.6 Unicode Comparison Flags

These values are associated with string handling in the NSPI Protocol. These values are defined in terms of definitions from [MS-UCODEREF]. The server uses the constants NSPI_DEFAULT_LOCALE_COMPARE_FLAGS and NSPI_NON_DEFAULT_LOCALE_COMPARE_FLAGS to modify the behavior of comparisons of Unicode string representations, as detailed in section 3.1.1.2.

Name and value

Description

NSPI_DEFAULT_LOCALE_COMPARE_FLAGS

(NORM_IGNORECASE | \

 NORM_IGNOREKANATYPE | \

 NORM_IGNORENONSPACE | \

 NORM_IGNOREWIDTH | \

 SORT_STRINGSORT)

Flags used when comparing Unicode strings in the language code identifier (LCID) represented by NSPI_DEFAULT_LOCALE.

NSPI_NON_DEFAULT_LOCALE_COMPARE_FLAGS

(NORM_IGNORECASE | \

 NORM_IGNOREKANATYPE | \

 NORM_IGNORENONSPACE | \

 NORM_IGNOREWIDTH | \

 NORM_IGNORESYMBOLS | \

 SORT_STRINGSORT)

Flags used when comparing Unicode strings in any LCID except the LCID represented by NSPI_DEFAULT_LOCALE.

Show: