New stub RegisterTaskList.
authorJuergen Schmied <juergen.schmied@metronet.de>
Fri, 23 Oct 1998 12:51:38 +0000 (12:51 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 23 Oct 1998 12:51:38 +0000 (12:51 +0000)
New function EnumDisplaySettings32W().

relay32/user32.spec
win32/ordinals.c
windows/user.c

index ea557d2..28f19b9 100644 (file)
@@ -436,7 +436,7 @@ type        win32
 433 stdcall RegisterHotKey(long long long long) RegisterHotKey
 434 stub RegisterLogonProcess
 435 stub RegisterSystemThread
-436 stub RegisterTasklist
+436 stdcall RegisterTasklist (long) RegisterTaskList32
 437 stdcall RegisterWindowMessageA(ptr) RegisterWindowMessage32A
 438 stdcall RegisterWindowMessageW(ptr) RegisterWindowMessage32W
 439 stdcall ReleaseCapture() ReleaseCapture
@@ -594,7 +594,7 @@ type        win32
 590 stub ChangeDisplaySettingsW
 591 stub EnumDesktopWindows
 592 stdcall EnumDisplaySettingsA(str long ptr) EnumDisplaySettings32A
-593 stub EnumDisplaySettingsW
+593 stdcall EnumDisplaySettingsW(wstr long ptr ) EnumDisplaySettings32W
 594 stdcall GetWindowRgn(long long) GetWindowRgn32
 595 stub MapVirtualKeyExW
 596 stub RegisterServicesProcess
index 4632470..50d9b4e 100644 (file)
@@ -220,3 +220,11 @@ HRESULT WINAPI DeregisterShellHookWindow ( DWORD u )
        return 0;
        
 }
+/***********************************************************************
+ *           RegisterTaskList32                        [USER23.436]
+ */
+DWORD WINAPI RegisterTaskList32 (DWORD x)
+{      FIXME(win,"0x%08lx\n",x);
+       return TRUE;
+}
+
index a54d34d..bf196dd 100644 (file)
@@ -345,6 +345,19 @@ BOOL32 WINAPI EnumDisplaySettings32A(LPCSTR name,DWORD n,LPDEVMODE32A devmode) {
        return FALSE;
 }
 
+/***********************************************************************
+ *           EnumDisplaySettingsW   (USER32.593)
+ */
+BOOL32 WINAPI EnumDisplaySettings32W(LPCWSTR name,DWORD n,LPDEVMODE32W devmode) {
+       TRACE(system,"(%s,%ld,%p)\n",debugstr_w(name),n,devmode);
+       if (n==0) {
+               devmode->dmBitsPerPel = DefaultDepthOfScreen(screen);
+               devmode->dmPelsHeight = screenHeight;
+               devmode->dmPelsWidth = screenWidth;
+               return TRUE;
+       }
+       return FALSE;
+}
 
 /***********************************************************************
  *           SetEventHook   (USER.321)