From ca6c9a6a20344a5c307f6219bcc4153cd2a4b359 Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Tue, 20 Mar 2001 01:53:51 +0000 Subject: [PATCH] Added stubs for GetWindowsModuleFileName[A/W]. --- dlls/user/user32.spec | 2 ++ windows/win.c | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) 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; +}