diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index f96013ecde2..64ae226f78b 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -655,6 +655,8 @@ debug_channels (accel caret class clipboard combo cursor dc ddeml dialog driver @ stdcall DrawMenuBarTemp(long long) DrawMenuBarTemp @ stdcall EnumDisplaySettingsExA(str long ptr long) EnumDisplaySettingsExA @ stdcall EnumDisplaySettingsExW(wstr long ptr long) EnumDisplaySettingsExW +@ stdcall GetWindowModuleFileNameA(long ptr long) GetWindowModuleFileNameA +@ stdcall GetWindowModuleFileNameW(long ptr long) GetWindowModuleFileNameW ################################################################ # Wine extensions: Win16 functions that are needed by other dlls diff --git a/windows/win.c b/windows/win.c index 7b1b1d5e8e3..9ba000ead77 100644 --- a/windows/win.c +++ b/windows/win.c @@ -3383,3 +3383,24 @@ DWORD WINAPI DragObject16( HWND16 hwndScope, HWND16 hWnd, UINT16 wObj, return (DWORD)(msg.lParam); } + + +/****************************************************************************** + * GetWindowModuleFileNameA (USER32.@) + */ +UINT WINAPI GetWindowModuleFileNameA( HWND hwnd, LPSTR lpszFileName, UINT cchFileNameMax) +{ + FIXME("GetWindowModuleFileNameA(hwnd 0x%x, lpszFileName %p, cchFileNameMax %u) stub!\n", + hwnd, lpszFileName, cchFileNameMax); + return 0; +} + +/****************************************************************************** + * GetWindowModuleFileNameW (USER32.@) + */ +UINT WINAPI GetWindowModuleFileNameW( HWND hwnd, LPSTR lpszFileName, UINT cchFileNameMax) +{ + FIXME("GetWindowModuleFileNameW(hwnd 0x%x, lpszFileName %p, cchFileNameMax %u) stub!\n", + hwnd, lpszFileName, cchFileNameMax); + return 0; +}