Author: greatlrd
Date: Tue Oct 23 00:55:18 2007
New Revision: 29797
URL:
http://svn.reactos.org/svn/reactos?rev=29797&view=rev
Log:
dxgthk 100% finish, it should work now in windows, complete replacement for ms dxgthk.sys
now.
not tested yet in windows.
Modified:
branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.def
branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rbuild
branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rc
branches/reactx/reactos/drivers/directx/dxgthk/main.c
Modified: branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.def
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.def (original)
+++ branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.def Tue Oct 23 00:55:18 2007
@@ -4,4 +4,23 @@
;
EXPORTS
DriverEntry@8
+EngAcquireSemaphore@4=win32k.EngAcquireSemaphore@4
+EngAllocMem@12=win32k.EngAllocMem@12
+EngAllocUserMem@8=win32k.EngAllocUserMem@8
+EngCopyBits@24=win32k.EngCopyBits@24
+EngCreateBitmap@24=win32k.EngCreateBitmap@24
+EngCreatePalette@24=win32k.EngCreatePalette@24
+EngCreateSemaphore@0=win32k.EngCreateSemaphore@0
+EngDeletePalette@4=win32k.EngDeletePalette@4
+EngDeleteSemaphore@4=win32k.EngDeleteSemaphore@4
+EngDeleteSurface@4=win32k.EngDeleteSurface@4
+EngFindImageProcAddress@8=win32k.EngFindImageProcAddress@8
+EngFreeMem@4=win32k.EngFreeMem@4
+EngFreeUserMem@4=win32k.EngFreeUserMem@4
+EngLoadImage@4=win32k.EngLoadImage@4
+EngLockSurface@4=win32k.EngLockSurface@4
+EngReleaseSemaphore@4=win32k.EngReleaseSemaphore@4
+EngSetLastError@4=win32k.EngSetLastError@4
+EngUnloadImage@4=win32k.EngUnloadImage@4
+EngUnlockSurface@4=win32k.EngUnlockSurface@4
Modified: branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rbuild
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rbuild (original)
+++ branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rbuild Tue Oct 23 00:55:18 2007
@@ -5,6 +5,7 @@
<importlibrary definition="dxgthk.def" />
<include base="dxgthk">.</include>
<define name="__USE_W32API" />
+ <library>win32k</library>
<file>main.c</file>
<file>dxgthk.rc</file>
</module>
Modified: branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rc
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rc (original)
+++ branches/reactx/reactos/drivers/directx/dxgthk/dxgthk.rc Tue Oct 23 00:55:18 2007
@@ -1,7 +1,7 @@
/* $Id: vbemp.rc 21844 2006-05-07 19:34:23Z ion $ */
#define REACTOS_VERSION_DLL
-#define REACTOS_STR_FILE_DESCRIPTION "DXG DirectX trunk Driver\0"
+#define REACTOS_STR_FILE_DESCRIPTION "DirectX Graphics Driver Thunk\0"
#define REACTOS_STR_INTERNAL_NAME "dxgthk\0"
#define REACTOS_STR_ORIGINAL_FILENAME "dxgthk\0"
#include <reactos/version.rc>
Modified: branches/reactx/reactos/drivers/directx/dxgthk/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxgthk/main.c (original)
+++ branches/reactx/reactos/drivers/directx/dxgthk/main.c Tue Oct 23 00:55:18 2007
@@ -9,10 +9,17 @@
* 15/10-2007 Magnus Olsen
*/
+/* DDK/NDK/SDK Headers */
+#include <ddk/ntddk.h>
+
NTSTATUS
DriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
+ /*
+ * NOTE this driver will never be load, it only contain export list
+ * to win32k eng functions
+ */
return 0;
}