Author: jimtabor
Date: Thu May 29 10:32:05 2008
New Revision: 33757
URL:
http://svn.reactos.org/svn/reactos?rev=33757&view=rev
Log:
Update NtUserBitBltSysBmp.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Thu May 29 10:32:05 2008
@@ -493,17 +493,17 @@
HDC NTAPI
NtUserBeginPaint(HWND hWnd, PAINTSTRUCT* lPs);
-DWORD
+BOOL
NTAPI
NtUserBitBltSysBmp(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6,
- DWORD Unknown7);
+ HDC hdc,
+ INT nXDest,
+ INT nYDest,
+ INT nWidth,
+ INT nHeight,
+ INT nXSrc,
+ INT nYSrc,
+ DWORD dwRop );
BOOL
NTAPI
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Thu May 29
10:32:05 2008
@@ -36,21 +36,39 @@
return 0;
}
-DWORD
-STDCALL
+//
+// Works like BitBlt,
http://msdn.microsoft.com/en-us/library/ms532278(VS.85).aspx
+//
+BOOL
+NTAPI
NtUserBitBltSysBmp(
- DWORD Unknown0,
- DWORD Unknown1,
- DWORD Unknown2,
- DWORD Unknown3,
- DWORD Unknown4,
- DWORD Unknown5,
- DWORD Unknown6,
- DWORD Unknown7)
-{
- UNIMPLEMENTED
-
- return 0;
+ HDC hdc,
+ INT nXDest,
+ INT nYDest,
+ INT nWidth,
+ INT nHeight,
+ INT nXSrc,
+ INT nYSrc,
+ DWORD dwRop )
+{
+ BOOL Ret = FALSE;
+ UserEnterExclusive();
+ UNIMPLEMENTED
+#if 0
+ Ret = NtGdiBitBlt( hdc,
+ nXDest,
+ nYDest,
+ nWidth,
+ nHeight,
+ hSystemBM,
+ nXSrc,
+ nYSrc,
+ dwRop,
+ 0,
+ 0);
+#endif
+ UserLeave();
+ return Ret;
}
DWORD