diff --git a/relay32/user32.spec b/relay32/user32.spec index 2c76ba2cfbf..5707fd2c215 100644 --- a/relay32/user32.spec +++ b/relay32/user32.spec @@ -300,8 +300,8 @@ init MAIN_UserInit 296 stdcall GetTopWindow(long) GetTopWindow32 297 stdcall GetUpdateRect(long ptr long) GetUpdateRect32 298 stdcall GetUpdateRgn(long long long) GetUpdateRgn32 -299 stub GetUserObjectInformationA -300 stub GetUserObjectInformationW +299 stdcall GetUserObjectInformationA (long long ptr long ptr) GetUserObjectInformation32A +300 stdcall GetUserObjectInformationW (long long ptr long ptr) GetUserObjectInformation32W 301 stub GetUserObjectSecurity 302 stdcall GetWindow(long long) GetWindow32 303 stdcall GetWindowContextHelpId(long) GetWindowContextHelpId diff --git a/windows/user.c b/windows/user.c index a8563b955ce..eedd30a3ef2 100644 --- a/windows/user.c +++ b/windows/user.c @@ -488,7 +488,7 @@ DWORD WINAPI SetWindowStationUser(DWORD x1,DWORD x2) { * SetLogonNotifyWindow (USER32.486) */ DWORD WINAPI SetLogonNotifyWindow(HWINSTA32 hwinsta,HWND32 hwnd) { - FIXME(win32,"(0x%lx,%ld),stub!\n",hwinsta,hwnd); + FIXME(win32,"(0x%x,%ld),stub!\n",hwinsta,hwnd); return 1; } @@ -499,3 +499,17 @@ VOID WINAPI LoadLocalFonts(VOID) { /* are loaded. */ return; } +/*********************************************************************** + * GetUserObjectInformation32A (USER32.299) + */ +BOOL32 WINAPI GetUserObjectInformation32A( HANDLE32 hObj, int nIndex, LPVOID pvInfo, DWORD nLength, LPDWORD lpnLen ) +{ FIXME(win32,"(0x%x %i %p %ld %p),stub!\n", hObj, nIndex, pvInfo, nLength, lpnLen ); + return TRUE; +} +/*********************************************************************** + * GetUserObjectInformation32W (USER32.300) + */ +BOOL32 WINAPI GetUserObjectInformation32W( HANDLE32 hObj, int nIndex, LPVOID pvInfo, DWORD nLength, LPDWORD lpnLen ) +{ FIXME(win32,"(0x%x %i %p %ld %p),stub!\n", hObj, nIndex, pvInfo, nLength, lpnLen ); + return TRUE; +}