Commit 8e26b583 authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

New stub RegisterTaskList.

New function EnumDisplaySettings32W().
parent c595083f
......@@ -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
......
......@@ -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;
}
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment