[MMSYS] Set the initial media folder location. (#1248)

This commit is contained in:
Jared Smudde 2019-01-16 05:53:00 -06:00 committed by Hermès BÉLUSCA - MAÏTO
parent 6f2aa0cbf9
commit 7d60b2e12f

View file

@ -1157,7 +1157,7 @@ SoundsDlgProc(HWND hwndDlg,
ofn.nFilterIndex = 0;
LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle));
ofn.lpstrTitle = szTitle;
ofn.lpstrInitialDir = NULL;
ofn.lpstrInitialDir = L"%SystemRoot%\\Media";
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
if (GetOpenFileNameW(&ofn) != FALSE)