[BugReportTool] Add windows settings (user language and locale) (#11129)

This commit is contained in:
Andrey Nekrasov 2021-05-06 16:17:57 +03:00 committed by GitHub
parent b07966ba26
commit 21247c0bb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 50 additions and 239 deletions

View File

@ -1,11 +1,9 @@
aac aac
AAD
abcd abcd
abcdef abcdef
abcdefgh abcdefgh
abgr abgr
ABlocked ABlocked
ABOUTBOX
Abug Abug
accctrl accctrl
Acceleratorkeys Acceleratorkeys
@ -22,12 +20,10 @@ actioned
activatable activatable
ACTIVATEAPP ACTIVATEAPP
Addavirtualdesktop Addavirtualdesktop
Addins
addrum addrum
ADDUNDORECORD ADDUNDORECORD
ADifferent ADifferent
ADMINS ADMINS
adopsinsider
advapi advapi
advfirewall advfirewall
AFeature AFeature
@ -35,27 +31,22 @@ AFX
AGGREGATABLE AGGREGATABLE
AHybrid AHybrid
Aissue Aissue
akamaihd
ALarger ALarger
alekhyareddy alekhyareddy
alertsolid
ALIGNLEFT ALIGNLEFT
ALLAPPS ALLAPPS
Alloc Alloc
ALLOWUNDO ALLOWUNDO
ALogo
ALPHATYPE ALPHATYPE
Altdown Altdown
altform altform
amd amd
Amicrosoft Amicrosoft
AMirror
AModifier AModifier
AMPROPERTY AMPROPERTY
AMPROPSETID AMPROPSETID
anges anges
ansicolor ansicolor
antialiased
ANull ANull
AOC AOC
aocfnapldcnfbofgmbbllojgocaelgdd aocfnapldcnfbofgmbbllojgocaelgdd
@ -107,7 +98,6 @@ asm
asmx asmx
aspnet aspnet
aspx aspx
asyncwebview
ASYNCWINDOWPLACEMENT ASYNCWINDOWPLACEMENT
ASYNCWINDOWPOS ASYNCWINDOWPOS
atl atl
@ -119,7 +109,6 @@ atlstr
attr attr
Attribs Attribs
aumid aumid
Aut
AUTHN AUTHN
AUTOAPPEND AUTOAPPEND
autocomplete autocomplete
@ -174,14 +163,12 @@ bootstrapper
BOTTOMALIGN BOTTOMALIGN
BPBF BPBF
bpp bpp
Breadcrumb
bricelam bricelam
BRIGHTGREEN BRIGHTGREEN
Browsable Browsable
bsd bsd
bstr bstr
bti bti
Btn
BTNFACE BTNFACE
Bto Bto
buf buf
@ -194,7 +181,6 @@ buildtransitive
BValue BValue
bytearray bytearray
callbackptr callbackptr
capitalized
CANRENAME CANRENAME
Captureascreenshot Captureascreenshot
CAPTURECHANGED CAPTURECHANGED
@ -221,13 +207,8 @@ chdir
checkbox checkbox
checkboxes checkboxes
CHECKCANCELED CHECKCANCELED
Checkedin
checknetisolation
Chicklet
CHILDACTIVATE CHILDACTIVATE
Childof
CHILDWINDOW CHILDWINDOW
choiceref
chrdavis chrdavis
Chris's Chris's
chrono chrono
@ -248,7 +229,6 @@ CLIENTPULL
clientside clientside
CLIPCHILDREN CLIPCHILDREN
CLIPSIBLINGS CLIPSIBLINGS
CLogo
clrcall clrcall
cls cls
CLSCTX CLSCTX
@ -275,7 +255,6 @@ Codespaces
COINIT COINIT
colorconv colorconv
colorpicker colorpicker
colorpickerref
COLORREF COLORREF
colorscheme colorscheme
COLUMNCLICK COLUMNCLICK
@ -288,12 +267,10 @@ comhost
cominterop cominterop
commandline commandline
commctrl commctrl
Commdlg
commondataservicecds
Compat Compat
COMPOSITIONFULL COMPOSITIONFULL
comsupp comsupp
concat Concat
concrt concrt
config config
CONFLICTINGMODIFIERKEY CONFLICTINGMODIFIERKEY
@ -310,8 +287,6 @@ CONTROLL
CONTROLPARENT CONTROLPARENT
Controlz Controlz
coords coords
COPYDATASTRUCT
corehr
cortana cortana
cotaskmem cotaskmem
COULDNOT COULDNOT
@ -319,7 +294,6 @@ countof
countslabelrenamingfmt countslabelrenamingfmt
countslabelselectedfmt countslabelselectedfmt
cout cout
CPlus
CPower CPower
cpp cpp
CPPARM CPPARM
@ -337,8 +311,6 @@ cref
CRename CRename
critsec critsec
crlf crlf
CRM
crmcustomerinsightsapp
CRSEL CRSEL
crutkas crutkas
CSearch CSearch
@ -369,7 +341,6 @@ CURSORINFO
cursorpos cursorpos
CUSTOMACTIONTEST CUSTOMACTIONTEST
cvd cvd
cw
cwchar cwchar
cwd cwd
cx cx
@ -391,7 +362,6 @@ DARKPURPLE
DARKRED DARKRED
DARKTEAL DARKTEAL
DARKYELLOW DARKYELLOW
Dataflows
Datavalue Datavalue
DATAW DATAW
davidegiacometti davidegiacometti
@ -440,18 +410,15 @@ desktopshorcutinstalled
desktopwindowxamlsource desktopwindowxamlsource
dest dest
DEU DEU
Devagya
devblogs devblogs
devdocs devdocs
devenum devenum
DEVMON DEVMON
df df
DFactory DFactory
Dialpad
diffing diffing
difftime difftime
dimm dimm
dirname
dirs dirs
DISABLEASACTIONKEY DISABLEASACTIONKEY
dispid dispid
@ -473,15 +440,12 @@ dllexport
dllhost dllhost
dllimport dllimport
dllmain dllmain
DLogo
DMap
DNLEN DNLEN
doctype doctype
DONTVALIDATEPATH DONTVALIDATEPATH
dotnet dotnet
DOUBLEBUFFER DOUBLEBUFFER
DOverlay DOverlay
downlevel
DOWNLOADONLY DOWNLOADONLY
dpi dpi
DPICHANGED DPICHANGED
@ -489,14 +453,11 @@ DPolicy
DPopup DPopup
DPSAPI DPSAPI
Draggen Draggen
Drakula
DRAWFRAME DRAWFRAME
drawingcolor drawingcolor
dreamsofameaningfullife dreamsofameaningfullife
drivedetectionwarning drivedetectionwarning
DRM
dropdown dropdown
dropref
dshow dshow
dst dst
DSVG DSVG
@ -524,110 +485,21 @@ dword
dworigin dworigin
dwrite dwrite
dxgi dxgi
EABF
EAC
EACB
EACC
EADA
EADB
EADF
EAE
EAEE
EAEF
EAF
EAFC
EAFD
Easeof Easeof
eb EB
EBC
EBD
EBDA
EBE
EBEC
EBEE
EBEF
EBF
EBFC
ECAA
ECAB
ECAC
ECAF
ECCA
ECCB
ECCD
ECDC
ECDE
ECDF
ECEB
ECED
ECEE
ecef ecef
ECFE
ECFF
ecount ecount
EDB EDB
EDBB
EDBC
EDBD
EDBE
EDBF
EDCA
EDCB
EDCC
EDCD
EDCE
EDCF
EDDB
EDDC
EDDD
EDDE
EDDF
EDE
ededf ededf
EDFF
edgelogo
edgeoldlogo
EDITKEYBOARD EDITKEYBOARD
editkeyboardwindow editkeyboardwindow
editorbody
editorconfig editorconfig
editorhead
editorheadbuttons
editortitle
editorzone
EDITSHORTCUTS EDITSHORTCUTS
editshortcutswindow editshortcutswindow
Edu
EEB
EEBA
EEBB
EEBC
EEBD
EEBE
EEBF
EECB
EECC
EECD
EECE
EECF
EED
EEED
EEEF
EEF
efa efa
EFB
EFBA
EFC
EFDA
EFDE
EFE
EFEB
EFFC
EFFE
efgh efgh
EFile EFile
egistry egistry
ELogo
elseif elseif
Emoji Emoji
emptyrecyclebin emptyrecyclebin
@ -639,7 +511,6 @@ endregion
Enque Enque
ENTERSIZEMOVE ENTERSIZEMOVE
Entireitemname Entireitemname
Entitlements
entrypoint entrypoint
ENU ENU
enum enum
@ -662,7 +533,6 @@ etw
EUQ EUQ
ev ev
evenodd evenodd
eventdatemissed
eventlog eventlog
everytime everytime
EWXFORCE EWXFORCE
@ -702,7 +572,6 @@ FANCYZONESDRAWLAYOUTTEST
FANCYZONESEDITOR FANCYZONESEDITOR
Farbraum Farbraum
FARPROC FARPROC
Favicon
fd fd
feimage feimage
ffcd ffcd
@ -743,7 +612,6 @@ FPower
FRAMECHANGED FRAMECHANGED
FRAMEDOWNLOAD FRAMEDOWNLOAD
Froml Froml
FSharp
fstream fstream
ftps ftps
FTYPE FTYPE
@ -776,7 +644,6 @@ GETSTATE
GETTEXT GETTEXT
GETTEXTLENGTH GETTEXTLENGTH
gh gh
Giftbox
github github
githubusercontent githubusercontent
gitignore gitignore
@ -785,7 +652,6 @@ gmx
GNumber GNumber
google google
GPTR GPTR
grayscale
gui gui
guiddef guiddef
GUITHREADINFO GUITHREADINFO
@ -907,7 +773,6 @@ IComparer
ICONERROR ICONERROR
ICONINFORMATION ICONINFORMATION
ICONQUESTION ICONQUESTION
Iconset
IContext IContext
ICONWARNING ICONWARNING
ICore ICore
@ -950,12 +815,10 @@ IFile
ifndef ifndef
IFolder IFolder
ifstream ifstream
IIcon
iid iid
IImage IImage
Iindex Iindex
IInitialize IInitialize
IInput
IInspectable IInspectable
IItem IItem
IJson IJson
@ -974,8 +837,6 @@ IMoniker
IMonitor IMonitor
IMouse IMouse
impl impl
INav
Inbox
INDEXTOSTATEIMAGEMASK INDEXTOSTATEIMAGEMASK
indierawk indierawk
Infobar Infobar
@ -1014,7 +875,6 @@ INSTALLSTATE
INSTALLUILEVEL INSTALLUILEVEL
Inste Inste
Intelli Intelli
Intellisense
interactable interactable
Interlop Interlop
interop interop
@ -1105,15 +965,13 @@ jp
jpe jpe
jpeg jpeg
jpg jpg
jsoref
JPN JPN
json json
jsonval jsonval
jsx JSX
junja junja
jxr jxr
jyuwono jyuwono
Kaizala
kbd kbd
KBDLLHOOKSTRUCT KBDLLHOOKSTRUCT
kbm kbm
@ -1129,10 +987,8 @@ keydown
keydropdowncontrol keydropdowncontrol
keyevent keyevent
KEYEVENTF KEYEVENTF
keynum
keyof
keyhook keyhook
keyparts keynum
keyremaps keyremaps
keystokes keystokes
Keystool Keystool
@ -1155,6 +1011,7 @@ LBUTTON
LBUTTONDBLCLK LBUTTONDBLCLK
LBUTTONDOWN LBUTTONDOWN
LBUTTONUP LBUTTONUP
LCIDTo
lcl lcl
Lclean Lclean
LCONTROL LCONTROL
@ -1186,7 +1043,6 @@ Linux
listbox listbox
listview listview
llkhf llkhf
LLogo
Llvm Llvm
lmcons lmcons
LMEM LMEM
@ -1258,8 +1114,7 @@ LVS
LVSIL LVSIL
LWA LWA
lwin lwin
Lync LZW
lzw
mailto mailto
MAINICON MAINICON
Mainwindow Mainwindow
@ -1283,7 +1138,6 @@ MATCHMODE
MAXIMIZEBOX MAXIMIZEBOX
MAXSHORTCUTSIZE MAXSHORTCUTSIZE
maxversiontested maxversiontested
mayitbeegh
MBUTTON MBUTTON
MBUTTONDBLCLK MBUTTONDBLCLK
MBUTTONDOWN MBUTTONDOWN
@ -1319,11 +1173,9 @@ MINIMIZEBOX
miniz miniz
MINMAXINFO MINMAXINFO
Miracast Miracast
mixin
MJPG MJPG
mkdir mkdir
MLogo mmi
MMI
mockapi mockapi
MODECHANGE MODECHANGE
moderncop moderncop
@ -1343,7 +1195,6 @@ MOUSESWITCH
MOUSEWHEEL MOUSEWHEEL
MOVESIZEEND MOVESIZEEND
MOVESIZESTART MOVESIZESTART
Moveto
MOVEWINDOWS MOVEWINDOWS
moz moz
mozilla mozilla
@ -1387,7 +1238,6 @@ mutexes
muxc muxc
mvvm mvvm
MYICON MYICON
myuri
NAMECHANGE NAMECHANGE
nameof nameof
NAMEONLY NAMEONLY
@ -1481,10 +1331,8 @@ notmatch
Noto Noto
NOTRACK NOTRACK
NOUPDATE NOUPDATE
nowrap
NOZORDER NOZORDER
npm npm
npmjs
npos npos
NResize NResize
ntdll ntdll
@ -1510,7 +1358,6 @@ Oem
officehubintl officehubintl
ofs ofs
ofstream ofstream
Oject
oldcolor oldcolor
olditem olditem
oldnewthing oldnewthing
@ -1521,11 +1368,7 @@ OleAut
OLECHAR OLECHAR
OLEDB OLEDB
OLIVEGREEN OLIVEGREEN
OLogo
Onboarding
onebranch onebranch
onedrive
onedrivelogo
ONITEM ONITEM
onstd onstd
oobe oobe
@ -1542,7 +1385,6 @@ ostr
ostream ostream
ostringstream ostringstream
OSVERSIONINFOEXW OSVERSIONINFOEXW
osx
otating otating
OUTOFCONTEXT OUTOFCONTEXT
OUTOFMEMORY OUTOFMEMORY
@ -1556,7 +1398,6 @@ PAINTSTRUCT
PAIT PAIT
PALEBLUE PALEBLUE
PALETTEWINDOW PALETTEWINDOW
Pano
paramref paramref
params params
PARENTNOTIFY PARENTNOTIFY
@ -1573,7 +1414,6 @@ pcb
pcelt pcelt
pch pch
PCIDLIST PCIDLIST
PCOPYDATASTRUCT
PCorswitchaccounts PCorswitchaccounts
PCWSTR PCWSTR
pdb pdb
@ -1593,9 +1433,6 @@ pgp
pguid pguid
phbm phbm
phbmp phbmp
Phishing
php
phptest
phwnd phwnd
pici pici
pid pid
@ -1610,7 +1447,6 @@ PKBDLLHOOKSTRUCT
placeholders placeholders
plib plib
PLK PLK
PLogo
plugin plugin
pluginsmodel pluginsmodel
plvdi plvdi
@ -1621,14 +1457,12 @@ pnm
pnmdr pnmdr
pnmlv pnmlv
POINTL POINTL
pointstar
policheck policheck
polymorpism polymorpism
popd popd
popup popup
POPUPWINDOW POPUPWINDOW
posix posix
powerappscds
powerlauncher powerlauncher
powerpreview powerpreview
powerrename powerrename
@ -1667,7 +1501,6 @@ prgms
pri pri
PRINTCLIENT PRINTCLIENT
printf printf
Printfax
prm prm
PROCESSKEY PROCESSKEY
PRODUCTVERSION PRODUCTVERSION
@ -1711,8 +1544,6 @@ pwcs
PWSTR PWSTR
pwtd pwtd
px px
py
Qand
QI QI
qianlifeng qianlifeng
qit qit
@ -1818,7 +1649,6 @@ roslyn
royvou royvou
rpc rpc
RRF RRF
RSHIFT
rshift rshift
Rsp Rsp
rst rst
@ -1838,7 +1668,6 @@ runsettings
runtimeclass runtimeclass
runtimeconfig runtimeconfig
runtimes runtimes
rutkas
rv rv
rvalue rvalue
rvm rvm
@ -1859,7 +1688,6 @@ SCOPEID
screenshot screenshot
scrollable scrollable
scrollviewer scrollviewer
scss
sddl sddl
sdk sdk
SDKDDK SDKDDK
@ -1895,9 +1723,7 @@ Setttings
SETWORKAREA SETWORKAREA
sfgao sfgao
SFGAOF SFGAOF
Sharei
SHAREIMAGELISTS SHAREIMAGELISTS
Sharepoint
sharpkeys sharpkeys
shcore shcore
shellapi shellapi
@ -1906,7 +1732,6 @@ shellex
SHELLEXECUTEINFO SHELLEXECUTEINFO
SHELLEXECUTEINFOW SHELLEXECUTEINFOW
shellscalingapi shellscalingapi
Shelveset
SHFILEINFO SHFILEINFO
SHGFI SHGFI
SHIFTDRAG SHIFTDRAG
@ -1917,11 +1742,11 @@ shlwapi
shobjidl shobjidl
SHORTCUTATLEAST SHORTCUTATLEAST
shortcutcontrol shortcutcontrol
Shortcutguide
SHORTCUTMAXONEACTIONKEY SHORTCUTMAXONEACTIONKEY
SHORTCUTNOREPEATEDMODIFIER SHORTCUTNOREPEATEDMODIFIER
SHORTCUTONEACTIONKEY SHORTCUTONEACTIONKEY
SHORTCUTSTARTWITHMODIFIER SHORTCUTSTARTWITHMODIFIER
Shortcutguide
Shortcuttool Shortcuttool
shortdate shortdate
SHORTPATH SHORTPATH
@ -1938,13 +1763,11 @@ sidepanel
siex siex
SIGABRT SIGABRT
sigdn sigdn
Signin
signtool signtool
SINGLEKEY SINGLEKEY
singlekeyremapcontrol singlekeyremapcontrol
SINGLESEL SINGLESEL
singletones singletones
sixpointstar
SIZEBOX SIZEBOX
sizeg sizeg
Sizename Sizename
@ -1957,11 +1780,8 @@ sketchapp
SKIPOWNPROCESS SKIPOWNPROCESS
sku sku
SKYBLUE SKYBLUE
Skype
SLGP SLGP
Slideshow
sln sln
SLogo
SMALLICON SMALLICON
SMTO SMTO
Snd Snd
@ -1974,9 +1794,7 @@ spdo
spdth spdth
spec'ing spec'ing
spesi spesi
spinbuttonref
splitwstring splitwstring
spoprod
sppd sppd
sppre sppre
spsi spsi
@ -2000,9 +1818,7 @@ sstream
STACKFRAME STACKFRAME
stackoverflow stackoverflow
stackpanel stackpanel
Staffhub
standalone standalone
Starburst
STARTF STARTF
startupapps startupapps
STARTUPINFO STARTUPINFO
@ -2019,8 +1835,8 @@ stdcall
stdcpp stdcpp
stdcpplatest stdcpplatest
stdexcept stdexcept
stdio
stdin stdin
stdio
stdlib stdlib
STDMETHODCALLTYPE STDMETHODCALLTYPE
STDMETHODIMP STDMETHODIMP
@ -2035,9 +1851,8 @@ stoul
stoull stoull
strcmp strcmp
strftime strftime
Strikethrough
Stringified Stringified
stringify Stringify
STRINGIZE STRINGIZE
stringstream stringstream
stringtable stringtable
@ -2050,14 +1865,11 @@ Stubless
STYLECHANGED STYLECHANGED
STYLECHANGING STYLECHANGING
stylecop stylecop
stylesheet
Subdir Subdir
subfolder subfolder
subkey subkey
SUBLANG SUBLANG
subquery subquery
subsetted
subsetter
substr substr
Superbar Superbar
sut sut
@ -2065,13 +1877,10 @@ SVE
svg svg
SVGIn SVGIn
svgpreviewhandler svgpreviewhandler
svgr
SVGSVG
Switchbetweenvirtualdesktops Switchbetweenvirtualdesktops
SWP SWP
swprintf swprintf
SYMED SYMED
Symlink
SYMOPT SYMOPT
SYNCPAINT SYNCPAINT
sys sys
@ -2090,7 +1899,6 @@ SYSTEMTIME
sz sz
tadele tadele
Tahoma Tahoma
talenthrcore
talynone talynone
TApp TApp
TApplication TApplication
@ -2102,7 +1910,6 @@ targetnametoken
targetsize targetsize
targetver targetver
taskbar taskbar
Taskboard
TASKID TASKID
taskkill taskkill
tasklist tasklist
@ -2114,7 +1921,6 @@ tcscpy
TCustom TCustom
td td
TDevice TDevice
Telemarketer
Templated Templated
templatenamespace templatenamespace
Temporarilypeekatthedesktop Temporarilypeekatthedesktop
@ -2128,7 +1934,6 @@ textblock
textbox textbox
TEXTINCLUDE TEXTINCLUDE
textref textref
TFVC
tga tga
thead thead
THEMECHANGED THEMECHANGED
@ -2137,7 +1942,6 @@ THISCOMPONENT
thre thre
tif tif
TILEDWINDOW TILEDWINDOW
Timeline
TIMERID TIMERID
timeunion timeunion
timeutil timeutil
@ -2148,11 +1952,6 @@ tlbimp
tmp tmp
TNP TNP
todo todo
toggleleft
toggleoff
toggleon
toggleref
toggleright
toggleswitch toggleswitch
toolbar toolbar
toolset toolset
@ -2169,16 +1968,11 @@ traies
TRAYMOUSEMESSAGE TRAYMOUSEMESSAGE
TRK TRK
trl trl
truetype
trunc trunc
tslint
TStr TStr
tsx tsx
tt tt
TVM
tw tw
twelvepointstar
txyewy
TYMED TYMED
typedef typedef
TYPEKEY TYPEKEY
@ -2187,12 +1981,10 @@ typename
typeof typeof
typeparam typeparam
TYPESHORTCUT TYPESHORTCUT
typings
Tz Tz
UAC UAC
UAL UAL
uap uap
UCHAR
udit udit
UIA UIA
Uid Uid
@ -2215,7 +2007,6 @@ UNCPRIORITY
undef undef
UNDNAME UNDNAME
unescape unescape
Ungroup
unicode unicode
Unindent Unindent
uninit uninit
@ -2235,13 +2026,10 @@ UNLEN
unlicense unlicense
Unmap Unmap
UNORM UNORM
Unpublish
unregister unregister
unregistering unregistering
unremapped unremapped
unsubscribe unsubscribe
Unsync
Untag
Updatelayout Updatelayout
UPDOWNKEYDROPSLIST UPDOWNKEYDROPSLIST
UPGRADINGPRODUCTCODE UPGRADINGPRODUCTCODE
@ -2295,7 +2083,6 @@ viewbox
viewmodel viewmodel
virtualization virtualization
Visibletrue Visibletrue
Visio
visualbrush visualbrush
visualstudio visualstudio
vk vk
@ -2303,19 +2090,16 @@ VKey
vm vm
vmax vmax
vmin vmin
Voicemail
VOS VOS
VREDRAW VREDRAW
VSC VSC
VSCBD VSCBD
vscode vscode
vsconfig
VSCROLL VSCROLL
vse vse
vsonline vsonline
vstemplate vstemplate
VSTHRD VSTHRD
VSTS
VSTT VSTT
VTABLE VTABLE
Vtbl Vtbl
@ -2340,20 +2124,15 @@ wcsnicmp
wdp wdp
wdupenv wdupenv
weakme weakme
webapp
webcam webcam
webclient webclient
webkit
webp
webpack webpack
webpage webpage
website website
webview
wekyb wekyb
Whichdoes Whichdoes
whitespaces whitespaces
WIC WIC
Wifi
wifstream wifstream
wih wih
wiki wiki
@ -2371,7 +2150,7 @@ WINDOWNAME
WINDOWPLACEMENT WINDOWPLACEMENT
WINDOWPOSCHANGED WINDOWPOSCHANGED
WINDOWPOSCHANGING WINDOWPOSCHANGING
windowsapp Windowsapp
WINDOWSBUILDNUMBER WINDOWSBUILDNUMBER
windowsdesktop windowsdesktop
windowssearch windowssearch
@ -2405,7 +2184,6 @@ WKSG
wmain wmain
WMKEYDOWN WMKEYDOWN
WMKEYUP WMKEYUP
wmonk
wmp wmp
WMSYSKEYDOWN WMSYSKEYDOWN
WMSYSKEYUP WMSYSKEYUP
@ -2414,7 +2192,6 @@ WNDCLASS
WNDCLASSEX WNDCLASSEX
WNDCLASSEXW WNDCLASSEXW
WNDPROC WNDPROC
woff
wofstream wofstream
wordpad wordpad
workaround workaround
@ -2447,14 +2224,12 @@ wxs
xa xa
xamarin xamarin
xaml xaml
XAngle
XAttribute XAttribute
xbf xbf
XBUTTON XBUTTON
XBUTTONDBLCLK XBUTTONDBLCLK
XBUTTONDOWN XBUTTONDOWN
XBUTTONUP XBUTTONUP
XCOPY
XDiff XDiff
XDocument XDocument
XElement XElement
@ -2476,15 +2251,12 @@ XToolset
xunit xunit
XY XY
Yaml Yaml
YAngle
YDiff YDiff
YESNO YESNO
YIncrement YIncrement
yinwang yinwang
YLogo
yml yml
YOffset YOffset
YourUserName
YStr YStr
YUY YUY
YUYV YUYV

View File

@ -5,6 +5,8 @@
#include <Shlobj.h> #include <Shlobj.h>
#include <winrt/Windows.Data.Json.h> #include <winrt/Windows.Data.Json.h>
#include <winrt/Windows.Foundation.Collections.h> #include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.System.UserProfile.h>
#include <winrt/Windows.Globalization.h>
#include "ZipTools/ZipFolder.h" #include "ZipTools/ZipFolder.h"
#include <common/SettingsAPI/settings_helpers.h> #include <common/SettingsAPI/settings_helpers.h>
@ -185,6 +187,40 @@ void reportWindowsVersion(const filesystem::path& tmpDir)
} }
} }
void reportWindowsSettings(const filesystem::path& tmpDir)
{
std::wstring userLanguage;
std::wstring userLocale;
try
{
const auto lang = winrt::Windows::System::UserProfile::GlobalizationPreferences::Languages().GetAt(0);
userLanguage = winrt::Windows::Globalization::Language{lang}.DisplayName().c_str();
wchar_t localeName[LOCALE_NAME_MAX_LENGTH]{};
if (!LCIDToLocaleName(GetThreadLocale(), localeName, LOCALE_NAME_MAX_LENGTH, 0))
{
throw -1;
}
userLocale = localeName;
}
catch (...)
{
printf("Failed to get windows settings\n");
return;
}
try
{
wofstream settingsReport(tmpDir / "windows-settings.txt");
settingsReport << "Preferred user language: " << userLanguage << endl;
settingsReport << "User locale: " << userLocale << endl;
}
catch(...)
{
printf("Failed to write windows settings\n");
}
}
void reportDotNetInstallationInfo(const filesystem::path& tmpDir) void reportDotNetInstallationInfo(const filesystem::path& tmpDir)
{ {
auto dotnetInfoPath = tmpDir; auto dotnetInfoPath = tmpDir;
@ -256,6 +292,9 @@ int wmain(int argc, wchar_t* argv[], wchar_t*)
// Hide sensitive information // Hide sensitive information
hideUserPrivateInfo(tmpDir); hideUserPrivateInfo(tmpDir);
// Write windows settings to the temporary folder
reportWindowsSettings(tmpDir);
// Write monitors info to the temporary folder // Write monitors info to the temporary folder
reportMonitorInfo(tmpDir); reportMonitorInfo(tmpDir);