Stubs for CreateDesktopA and EnumDesktopWindows.

This commit is contained in:
Peter Ganten 2000-07-15 15:13:56 +00:00 committed by Alexandre Julliard
parent f8b0725399
commit ae3716d690
2 changed files with 25 additions and 2 deletions

View File

@ -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

View File

@ -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
*/