Author: jimtabor
Date: Mon Apr 21 00:56:49 2008
New Revision: 33087
URL:
http://svn.reactos.org/svn/reactos?rev=33087&view=rev
Log:
Implemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.
Modified:
trunk/reactos/include/reactos/drivers/directx/dxeng.h
trunk/reactos/include/reactos/win32k/ntgdityp.h
trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified: trunk/reactos/include/reactos/drivers/directx/dxeng.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/drivers/di…
==============================================================================
--- trunk/reactos/include/reactos/drivers/directx/dxeng.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/drivers/directx/dxeng.h [iso-8859-1] Mon Apr 21 00:56:49
2008
@@ -118,7 +118,7 @@
DWORD DxEngSelectPaletteToSurface(DWORD x1, DWORD x2);
DWORD DxEngSyncPaletteTableWithDevice(DWORD x1, DWORD x2);
DWORD DxEngSetPaletteState(DWORD x1, DWORD x2, DWORD x3);
-DWORD DxEngGetRedirectionBitmap(DWORD x1);
+DWORD STDCALL DxEngGetRedirectionBitmap(DWORD x1);
DWORD DxEngLoadImage(DWORD x1,DWORD x2);
Modified: trunk/reactos/include/reactos/win32k/ntgdityp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntg…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntgdityp.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntgdityp.h [iso-8859-1] Mon Apr 21 00:56:49 2008
@@ -57,7 +57,7 @@
typedef enum _GETSETDCDWORD
{
- GdtGetSetCopyCount = 2,
+ GdiGetSetCopyCount = 2,
GdiGetSetTextAlign,
GdiGetSetRelAbs,
GdiGetSetTextCharExtra,
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dxeng.c [iso-8859-1] Mon Apr 21 00:56:49
2008
@@ -822,10 +822,11 @@
/************************************************************************/
/* DxEngGetRedirectionBitmap */
/************************************************************************/
-DWORD DxEngGetRedirectionBitmap(DWORD x1)
-{
- UNIMPLEMENTED;
- return FALSE;
+DWORD
+STDCALL
+DxEngGetRedirectionBitmap(DWORD x1)
+{
+ return FALSE; // Normal return.
}
/************************************************************************/
Modified: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dc.c [iso-8859-1] Mon Apr 21 00:56:49
2008
@@ -2258,7 +2258,7 @@
switch (u)
{
- case GdtGetSetCopyCount:
+ case GdiGetSetCopyCount:
SafeResult = dc->ulCopyCount;
dc->ulCopyCount = dwIn;
break;