X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=dll%2Fcpl%2Fsysdm%2Fuserprofile.c;h=d0608389dd108e8a96d8c80c9e0115a4ea30aa55;hp=29cab5a4a5857e2f2ef50a25434bd65f01382a32;hb=eff73544ec3a67b90b683a7bfe35d58db965a7a9;hpb=a2cfa8dc58d3c0e6f523e569c1be4778fc95483d diff --git a/dll/cpl/sysdm/userprofile.c b/dll/cpl/sysdm/userprofile.c index 29cab5a4a58..d0608389dd1 100644 --- a/dll/cpl/sysdm/userprofile.c +++ b/dll/cpl/sysdm/userprofile.c @@ -111,7 +111,7 @@ AddUserProfiles(HWND hwndListView) static VOID -OnInitDialog(HWND hwndDlg) +OnInitUserProfileDialog(HWND hwndDlg) { /* Initialize the list view control */ SetListViewColumns(GetDlgItem(hwndDlg, IDC_USERPROFILE_LIST)); @@ -137,7 +137,7 @@ UserProfileDlgProc(HWND hwndDlg, switch (uMsg) { case WM_INITDIALOG: - OnInitDialog(hwndDlg); + OnInitUserProfileDialog(hwndDlg); break; case WM_COMMAND: @@ -155,12 +155,7 @@ UserProfileDlgProc(HWND hwndDlg, if (nmhdr->idFrom == IDC_USERACCOUNT_LINK && nmhdr->code == NM_CLICK) { - ShellExecute(hwndDlg, - TEXT("open"), - TEXT("rundll32.exe"), - TEXT("shell32.dll, Control_RunDLL nusrmgr.cpl"), - NULL, - SW_SHOWNORMAL); + ShellExecuteW(hwndDlg, NULL, L"usrmgr.cpl", NULL, NULL, 0); } break; }