NLSVERSIONINFO structure (winnls.h)

Deprecated. Contains version information about an NLS capability.

Starting with Windows 8, your app should use NLSVERSIONINFOEX instead of NLSVERSIONINFO.

Syntax

typedef struct _nlsversioninfo {
  DWORD dwNLSVersionInfoSize;
  DWORD dwNLSVersion;
  DWORD dwDefinedVersion;
} NLSVERSIONINFO, *LPNLSVERSIONINFO;

Members

dwNLSVersionInfoSize

Size, in bytes, of the structure.

dwNLSVersion

NLS version. This value is used to track changes and additions to the set of code points that have the indicated capability for a particular locale. The value is locale-specific, and increments when the capability changes. For example, using the COMPARE_STRING capability defined by the SYSNLS_FUNCTION enumeration, the version changes if sorting weights are assigned to code points that previously had no weights defined for the locale.

dwDefinedVersion

Defined version. This value is used to track changes in the repertoire of Unicode code points. The value increments when the Unicode repertoire is extended, for example, if more characters are defined.

Remarks

Starting with Windows 8, NLSVERSIONINFO is deprecated. In fact, it is identical to NLSVERSIONINFOEX, which your app should use instead.

See Remarks for NLSVERSIONINFOEX.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header winnls.h

See also

GetNLSVersion

GetNLSVersionEx

Handling Sorting in Your Applications

IsNLSDefinedString

NLSVERSIONINFOEX

National Language Support Structures