Alex Henrie : explorer: Put the calling convention inside the function pointer parentheses.
Module: wine Branch: master Commit: dab61cdcd1f0ddbe6c096ccfe9344d4d33572f22 URL: https://gitlab.winehq.org/wine/wine/-/commit/dab61cdcd1f0ddbe6c096ccfe9344d4... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Mon Nov 21 21:06:37 2022 -0700 explorer: Put the calling convention inside the function pointer parentheses. As required by MSVC. --- programs/explorer/startmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/explorer/startmenu.c b/programs/explorer/startmenu.c index 3173ae21fc6..b46bd068220 100644 --- a/programs/explorer/startmenu.c +++ b/programs/explorer/startmenu.c @@ -371,8 +371,8 @@ static void fill_menu(struct menu_item* item) static void run_dialog(void) { - void WINAPI (*pRunFileDlg)(HWND hWndOwner, HICON hIcon, LPCSTR lpszDir, - LPCSTR lpszTitle, LPCSTR lpszDesc, DWORD dwFlags); + void (WINAPI *pRunFileDlg)(HWND owner, HICON icon, const char *dir, + const char *title, const char *desc, DWORD flags); HMODULE hShell32; hShell32 = LoadLibraryW(L"shell32");
participants (1)
-
Alexandre Julliard