Author: jimtabor
Date: Mon Nov 29 16:48:27 2010
New Revision: 49861
URL:
http://svn.reactos.org/svn/reactos?rev=49861&view=rev
Log:
[User32]
- Fixed export for PrintWindow see bug 5466 and 5609.
Modified:
trunk/reactos/dll/win32/user32/misc/stubs.c
trunk/reactos/dll/win32/user32/user32.pspec
Modified: trunk/reactos/dll/win32/user32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/misc/stub…
==============================================================================
--- trunk/reactos/dll/win32/user32/misc/stubs.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/misc/stubs.c [iso-8859-1] Mon Nov 29 16:48:27 2010
@@ -311,7 +311,7 @@
}
/*
- * @unimplemented
+ * @implemented
*/
LRESULT
WINAPI
@@ -320,8 +320,9 @@
INT nInput,
UINT cbSizeHeader)
{
- UNIMPLEMENTED;
- return 0;
+ if (cbSizeHeader == sizeof(RAWINPUTHEADER))
+ return S_OK;
+ return 1;
}
/*
@@ -391,20 +392,6 @@
*/
BOOL
WINAPI
-PrintWindow(
- HWND hwnd,
- HDC hdcBlt,
- UINT nFlags)
-{
- UNIMPLEMENTED;
- return FALSE;
-}
-
-/*
- * @unimplemented
- */
-BOOL
-WINAPI
RegisterRawInputDevices(
PCRAWINPUTDEVICE pRawInputDevices,
UINT uiNumDevices,
Modified: trunk/reactos/dll/win32/user32/user32.pspec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/user32.ps…
==============================================================================
--- trunk/reactos/dll/win32/user32/user32.pspec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/user32.pspec [iso-8859-1] Mon Nov 29 16:48:27 2010
@@ -526,7 +526,7 @@
@ stdcall PostQuitMessage(long)
@ stdcall PostThreadMessageA(long long long long)
@ stdcall PostThreadMessageW(long long long long)
-; @ stub PrintWindow
+@ stdcall PrintWindow(ptr ptr long) NtUserPrintWindow
@ stdcall PrivateExtractIconExA(str long ptr ptr long)
@ stdcall PrivateExtractIconExW(wstr long ptr ptr long)
@ stdcall PrivateExtractIconsA(str long long long ptr ptr long long)