diff --git a/dlls/user/user32.spec b/dlls/user/user32.spec index 18b5513b92f..83c3baa9a63 100644 --- a/dlls/user/user32.spec +++ b/dlls/user/user32.spec @@ -70,7 +70,7 @@ rsrc user32 65 stdcall CreateAcceleratorTableW(ptr long) CreateAcceleratorTableW 66 stdcall CreateCaret(long long long long) CreateCaret 67 stdcall CreateCursor(long long long long long ptr ptr) CreateCursor - 68 stub CreateDesktopA + 68 stdcall CreateDesktopA(str str ptr long long ptr) CreateDesktopA 69 stdcall CreateDesktopW(wstr wstr ptr long long ptr) CreateDesktopW 70 stdcall CreateDialogIndirectParamA(long ptr long ptr long) CreateDialogIndirectParamA 71 stdcall CreateDialogIndirectParamAorW (long ptr long ptr long) CreateDialogIndirectParamAorW @@ -594,7 +594,7 @@ rsrc user32 #late additions 589 stdcall ChangeDisplaySettingsA(ptr long) ChangeDisplaySettingsA 590 stub ChangeDisplaySettingsW -591 stub EnumDesktopWindows +591 stdcall EnumDesktopWindows(long ptr ptr) EnumDesktopWindows 592 stdcall EnumDisplaySettingsA(str long ptr) EnumDisplaySettingsA 593 stdcall EnumDisplaySettingsW(wstr long ptr ) EnumDisplaySettingsW 594 stdcall GetWindowRgn(long long) GetWindowRgn diff --git a/windows/user.c b/windows/user.c index d40a28d2c5e..ce366a92f1e 100644 --- a/windows/user.c +++ b/windows/user.c @@ -589,6 +589,20 @@ BOOL WINAPI SetUserObjectSecurity( return TRUE; } +/*********************************************************************** + * CreateDesktopA (USER32.68) + */ +HDESK WINAPI CreateDesktopA( + LPSTR lpszDesktop,LPSTR lpszDevice,LPDEVMODEA pDevmode, + DWORD dwFlags,DWORD dwDesiredAccess,LPSECURITY_ATTRIBUTES lpsa +) { + FIXME_(win32)("(%s,%s,%p,0x%08lx,0x%08lx,%p),stub!\n", + lpszDesktop,lpszDevice,pDevmode, + dwFlags,dwDesiredAccess,lpsa + ); + return 0xcafedead; +} + /*********************************************************************** * CreateDesktopW (USER32.69) */ @@ -603,6 +617,15 @@ HDESK WINAPI CreateDesktopW( return 0xcafedead; } +/*********************************************************************** + * EnumDesktopWindows (USER32.591) + */ +BOOL WINAPI EnumDesktopWindows( HDESK hDesktop, WNDENUMPROC lpfn, LPARAM lParam ) { + FIXME_(win32)("(0x%08x, %p, 0x%08lx), stub!\n", hDesktop, lpfn, lParam ); + return TRUE; +} + + /*********************************************************************** * CloseWindowStation */