core.sys.windows.winnls

Windows API header module

Translated from MinGW Windows headers

Authors

Stewart Gordon

License

Types 47

aliasLCTYPE = DWORD
aliasCALTYPE = DWORD
aliasCALID = DWORD
aliasLGRPID = DWORD
aliasGEOID = DWORD
aliasGEOTYPE = DWORD
aliasCALINFO_ENUMPROCA = BOOL function(LPSTR)
aliasCALINFO_ENUMPROCW = BOOL function(LPWSTR)
aliasLANGUAGEGROUP_ENUMPROCA = BOOL function(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR)
aliasLANGUAGEGROUP_ENUMPROCW = BOOL function(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR)
aliasLANGGROUPLOCALE_ENUMPROCA = BOOL function(LGRPID, LCID, LPSTR, LONG_PTR)
aliasLANGGROUPLOCALE_ENUMPROCW = BOOL function(LGRPID, LCID, LPWSTR, LONG_PTR)
aliasUILANGUAGE_ENUMPROCW = BOOL function(LPWSTR, LONG_PTR)
aliasUILANGUAGE_ENUMPROCA = BOOL function(LPSTR, LONG_PTR)
aliasLOCALE_ENUMPROCA = BOOL function(LPSTR)
aliasLOCALE_ENUMPROCW = BOOL function(LPWSTR)
aliasCODEPAGE_ENUMPROCA = BOOL function(LPSTR)
aliasCODEPAGE_ENUMPROCW = BOOL function(LPWSTR)
aliasDATEFMT_ENUMPROCA = BOOL function(LPSTR)
aliasDATEFMT_ENUMPROCW = BOOL function(LPWSTR)
aliasTIMEFMT_ENUMPROCA = BOOL function(LPSTR)
aliasTIMEFMT_ENUMPROCW = BOOL function(LPWSTR)
aliasGEO_ENUMPROC = BOOL function(GEOID)
COMPARE_STRING = 0x0001
GEOCLASS_NATION = 16
GEOCLASS_REGION = 14
GEO_NATION = 0x0001
GEO_LATITUDE = 0x0002
GEO_LONGITUDE = 0x0003
GEO_ISO2 = 0x0004
GEO_ISO3 = 0x0005
GEO_RFC1766 = 0x0006
GEO_LCID = 0x0007
GEO_FRIENDLYNAME = 0x0008
GEO_OFFICIALNAME = 0x0009
GEO_TIMEZONES = 0x000a
GEO_OFFICIALLANGUAGES = 0x000a
structCPINFO
Fields
UINT MaxCharSize
BYTE[MAX_DEFAULTCHAR] DefaultChar
BYTE[MAX_LEADBYTES] LeadByte
aliasLPCPINFO = CPINFO *
structCPINFOEXA
Fields
UINT MaxCharSize
BYTE[MAX_DEFAULTCHAR] DefaultChar
BYTE[MAX_LEADBYTES] LeadByte
WCHAR UnicodeDefaultChar
UINT CodePage
CHAR[MAX_PATH] CodePageName
structCPINFOEXW
Fields
UINT MaxCharSize
BYTE[MAX_DEFAULTCHAR] DefaultChar
BYTE[MAX_LEADBYTES] LeadByte
WCHAR UnicodeDefaultChar
UINT CodePage
WCHAR[MAX_PATH] CodePageName
Fields
UINT NumDigits
UINT LeadingZero
UINT Grouping
LPSTR lpDecimalSep
LPSTR lpThousandSep
UINT NegativeOrder
UINT PositiveOrder
LPSTR lpCurrencySymbol
Fields
UINT NumDigits
UINT LeadingZero
UINT Grouping
LPWSTR lpDecimalSep
LPWSTR lpThousandSep
UINT NegativeOrder
UINT PositiveOrder
LPWSTR lpCurrencySymbol
Fields
DWORD dwNLSVersionInfoSize
DWORD dwNLSVersion
DWORD dwDefinedVersion
Fields
UINT NumDigits
UINT LeadingZero
UINT Grouping
LPSTR lpDecimalSep
LPSTR lpThousandSep
UINT NegativeOrder
Fields
UINT NumDigits
UINT LeadingZero
UINT Grouping
LPWSTR lpDecimalSep
LPWSTR lpThousandSep
UINT NegativeOrder

Functions 61

fnint CompareStringA(LCID, DWORD, LPCSTR, int, LPCSTR, int) extern(Windows) nothrow @nogc
fnint CompareStringW(LCID, DWORD, LPCWSTR, int, LPCWSTR, int) extern(Windows) nothrow @nogc
fnLCID ConvertDefaultLocale(LCID) extern(Windows) nothrow @nogc
fnBOOL EnumCalendarInfoA(CALINFO_ENUMPROCA, LCID, CALID, CALTYPE) extern(Windows) nothrow @nogc
fnBOOL EnumCalendarInfoW(CALINFO_ENUMPROCW, LCID, CALID, CALTYPE) extern(Windows) nothrow @nogc
fnBOOL EnumDateFormatsA(DATEFMT_ENUMPROCA, LCID, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumDateFormatsW(DATEFMT_ENUMPROCW, LCID, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumSystemCodePagesA(CODEPAGE_ENUMPROCA, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumSystemCodePagesW(CODEPAGE_ENUMPROCW, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumSystemGeoID(GEOCLASS, GEOID, GEO_ENUMPROC) extern(Windows) nothrow @nogc
fnBOOL EnumSystemLocalesA(LOCALE_ENUMPROCA, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumSystemLocalesW(LOCALE_ENUMPROCW, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumTimeFormatsA(TIMEFMT_ENUMPROCA, LCID, DWORD) extern(Windows) nothrow @nogc
fnBOOL EnumTimeFormatsW(TIMEFMT_ENUMPROCW, LCID, DWORD) extern(Windows) nothrow @nogc
fnint FoldStringA(DWORD, LPCSTR, int, LPSTR, int) extern(Windows) nothrow @nogc
fnint FoldStringW(DWORD, LPCWSTR, int, LPWSTR, int) extern(Windows) nothrow @nogc
fnUINT GetACP() extern(Windows) nothrow @nogc
fnint GetCalendarInfoA(LCID, CALID, CALTYPE, LPSTR, int, LPDWORD) extern(Windows) nothrow @nogc
fnint GetCalendarInfoW(LCID, CALID, CALTYPE, LPWSTR, int, LPDWORD) extern(Windows) nothrow @nogc
fnBOOL GetCPInfo(UINT, LPCPINFO) extern(Windows) nothrow @nogc
fnBOOL GetCPInfoExA(UINT, DWORD, LPCPINFOEXA) extern(Windows) nothrow @nogc
fnBOOL GetCPInfoExW(UINT, DWORD, LPCPINFOEXW) extern(Windows) nothrow @nogc
fnint GetCurrencyFormatA(LCID, DWORD, LPCSTR, const(CURRENCYFMTA) *, LPSTR, int) extern(Windows) nothrow @nogc
fnint GetCurrencyFormatW(LCID, DWORD, LPCWSTR, const(CURRENCYFMTW) *, LPWSTR, int) extern(Windows) nothrow @nogc
fnint GetDateFormatA(LCID, DWORD, const(SYSTEMTIME) *, LPCSTR, LPSTR, int) extern(Windows) nothrow @nogc
fnint GetDateFormatW(LCID, DWORD, const(SYSTEMTIME) *, LPCWSTR, LPWSTR, int) extern(Windows) nothrow @nogc
fnint GetGeoInfoA(GEOID, GEOTYPE, LPSTR, int, LANGID) extern(Windows) nothrow @nogc
fnint GetGeoInfoW(GEOID, GEOTYPE, LPWSTR, int, LANGID) extern(Windows) nothrow @nogc
fnint GetLocaleInfoA(LCID, LCTYPE, LPSTR, int) extern(Windows) nothrow @nogc
fnint GetLocaleInfoW(LCID, LCTYPE, LPWSTR, int) extern(Windows) nothrow @nogc
fnBOOL GetNLSVersion(NLS_FUNCTION, LCID, LPNLSVERSIONINFO) extern(Windows) nothrow @nogc
fnint GetNumberFormatA(LCID, DWORD, LPCSTR, const(NUMBERFMTA) *, LPSTR, int) extern(Windows) nothrow @nogc
fnint GetNumberFormatW(LCID, DWORD, LPCWSTR, const(NUMBERFMTW) *, LPWSTR, int) extern(Windows) nothrow @nogc
fnUINT GetOEMCP() extern(Windows) nothrow @nogc
fnBOOL GetStringTypeA(LCID, DWORD, LPCSTR, int, LPWORD) extern(Windows) nothrow @nogc
fnBOOL GetStringTypeW(DWORD, LPCWSTR, int, LPWORD) extern(Windows) nothrow @nogc
fnBOOL GetStringTypeExA(LCID, DWORD, LPCSTR, int, LPWORD) extern(Windows) nothrow @nogc
fnBOOL GetStringTypeExW(LCID, DWORD, LPCWSTR, int, LPWORD) extern(Windows) nothrow @nogc
fnLANGID GetSystemDefaultLangID() extern(Windows) nothrow @nogc
fnLCID GetSystemDefaultLCID() extern(Windows) nothrow @nogc
fnLCID GetThreadLocale() extern(Windows) nothrow @nogc
fnint GetTimeFormatA(LCID, DWORD, const(SYSTEMTIME) *, LPCSTR, LPSTR, int) extern(Windows) nothrow @nogc
fnint GetTimeFormatW(LCID, DWORD, const(SYSTEMTIME) *, LPCWSTR, LPWSTR, int) extern(Windows) nothrow @nogc
fnLANGID GetUserDefaultLangID() extern(Windows) nothrow @nogc
fnLCID GetUserDefaultLCID() extern(Windows) nothrow @nogc
fnGEOID GetUserGeoID(GEOCLASS) extern(Windows) nothrow @nogc
fnBOOL IsDBCSLeadByte(BYTE) extern(Windows) nothrow @nogc
fnBOOL IsDBCSLeadByteEx(UINT, BYTE) extern(Windows) nothrow @nogc
fnBOOL IsNLSDefinedString(NLS_FUNCTION, DWORD, LPNLSVERSIONINFO, LPCWSTR, int) extern(Windows) nothrow @nogc
fnBOOL IsValidCodePage(UINT) extern(Windows) nothrow @nogc
fnBOOL IsValidLocale(LCID, DWORD) extern(Windows) nothrow @nogc
fnint LCMapStringA(LCID, DWORD, LPCSTR, int, LPSTR, int) extern(Windows) nothrow @nogc
fnint LCMapStringW(LCID, DWORD, LPCWSTR, int, LPWSTR, int) extern(Windows) nothrow @nogc
fnint MultiByteToWideChar(UINT, DWORD, LPCSTR, int, LPWSTR, int) extern(Windows) nothrow @nogc
fnint SetCalendarInfoA(LCID, CALID, CALTYPE, LPCSTR) extern(Windows) nothrow @nogc
fnint SetCalendarInfoW(LCID, CALID, CALTYPE, LPCWSTR) extern(Windows) nothrow @nogc
fnBOOL SetLocaleInfoA(LCID, LCTYPE, LPCSTR) extern(Windows) nothrow @nogc
fnBOOL SetLocaleInfoW(LCID, LCTYPE, LPCWSTR) extern(Windows) nothrow @nogc
fnBOOL SetThreadLocale(LCID) extern(Windows) nothrow @nogc
fnBOOL SetUserGeoID(GEOID) extern(Windows) nothrow @nogc
fnint WideCharToMultiByte(UINT, DWORD, LPCWSTR, int, LPSTR, int, LPCSTR, LPBOOL) extern(Windows) nothrow @nogc

Variables 12

enumvarMAX_DEFAULTCHAR = 2
enumvarLOCALE_USE_CP_ACP = 0x40000000
enumvarNORM_IGNORECASE = 1
enumvarLCMAP_LOWERCASE = 0x00000100
enumvarENUM_ALL_CALENDARS = - 1
enumvarDATE_SHORTDATE = 1
enumvarMAP_FOLDCZONE = 16
enumvarC1_UPPER = 1
enumvarC3_NOTAPPLICABLE = 0
enumvarTIME_NOMINUTESORSECONDS = 1
enumvarMB_PRECOMPOSED = 1
enumvarWC_DISCARDNS = 16