[User32]
authorJames Tabor <james.tabor@reactos.org>
Mon, 29 Nov 2010 16:48:27 +0000 (16:48 +0000)
committerJames Tabor <james.tabor@reactos.org>
Mon, 29 Nov 2010 16:48:27 +0000 (16:48 +0000)
- Fixed export for PrintWindow see bug 5466 and 5609.

svn path=/trunk/; revision=49861

reactos/dll/win32/user32/misc/stubs.c
reactos/dll/win32/user32/user32.pspec

index 354b5d3..229c0a9 100644 (file)
@@ -311,7 +311,7 @@ AlignRects(LPRECT rect, DWORD b, DWORD c, DWORD d)
 }
 
 /*
- * @unimplemented
+ * @implemented
  */
 LRESULT
 WINAPI
@@ -320,8 +320,9 @@ DefRawInputProc(
     INT nInput,
     UINT cbSizeHeader)
 {
-  UNIMPLEMENTED;
-  return 0;
+  if (cbSizeHeader == sizeof(RAWINPUTHEADER))
+     return S_OK;
+  return 1;
 }
 
 /*
@@ -386,20 +387,6 @@ GetRegisteredRawInputDevices(
   return 0;
 }
 
-/*
- * @unimplemented
- */
-BOOL
-WINAPI
-PrintWindow(
-    HWND hwnd,
-    HDC hdcBlt,
-    UINT nFlags)
-{
-  UNIMPLEMENTED;
-  return FALSE;
-}
-
 /*
  * @unimplemented
  */
index 603a025..3913a9a 100644 (file)
 @ 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)