mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 12:52:58 +00:00
[MMSYS] Set the initial media folder location. (#1248)
This commit is contained in:
parent
6f2aa0cbf9
commit
7d60b2e12f
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ SoundsDlgProc(HWND hwndDlg,
|
||||||
ofn.nFilterIndex = 0;
|
ofn.nFilterIndex = 0;
|
||||||
LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle));
|
LoadStringW(hApplet, IDS_BROWSE_FOR_SOUND, szTitle, _countof(szTitle));
|
||||||
ofn.lpstrTitle = szTitle;
|
ofn.lpstrTitle = szTitle;
|
||||||
ofn.lpstrInitialDir = NULL;
|
ofn.lpstrInitialDir = L"%SystemRoot%\\Media";
|
||||||
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
|
ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY;
|
||||||
|
|
||||||
if (GetOpenFileNameW(&ofn) != FALSE)
|
if (GetOpenFileNameW(&ofn) != FALSE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue