MI_LocaleType enumeration (mi.h)

Type of locale is needed when setting and getting locales.

Syntax

typedef enum _MI_LocaleType {
  MI_LOCALE_TYPE_REQUESTED_UI,
  MI_LOCALE_TYPE_REQUESTED_DATA,
  MI_LOCALE_TYPE_CLOSEST_UI,
  MI_LOCALE_TYPE_CLOSEST_DATA
} MI_LocaleType;

Constants

 
MI_LOCALE_TYPE_REQUESTED_UI
The preferred language of error messages and dialog boxes.
MI_LOCALE_TYPE_REQUESTED_DATA
The preferred date/time formats and whether a comma or a decimal point is used in a floating-point number.
MI_LOCALE_TYPE_CLOSEST_UI
The fallback error messages language if the requested language is not available.
MI_LOCALE_TYPE_CLOSEST_DATA
The fallback data format if the requested language is not available.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Header mi.h
Redistributable Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2