Author: greatlrd
Date: Mon Oct 22 23:42:53 2007
New Revision: 29790
URL:
http://svn.reactos.org/svn/reactos?rev=29790&view=rev
Log:
start activate code in dxg.sys
fixed compiling issue with win32kdc.h
FIXME : win32k.sys and dxg.sys compiling are broken at moment
Modified:
branches/reactx/reactos/drivers/directx/dxg/main.c
branches/reactx/reactos/include/reactos/win32k/win32kdc.h
Modified: branches/reactx/reactos/drivers/directx/dxg/main.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/drivers/directx/…
==============================================================================
--- branches/reactx/reactos/drivers/directx/dxg/main.c (original)
+++ branches/reactx/reactos/drivers/directx/dxg/main.c Mon Oct 22 23:42:53 2007
@@ -11,6 +11,21 @@
#include <dxg_int.h>
+
+ULONG gcDxgFuncs = 0x5C;
+ULONG gcMaxDdHmgr = 0;
+ULONG gcSizeDdHmgr = 0;
+gcDummyPageRefCnt = 0;
+
+HSEMAPHORE *ghsemHmgr = NULL;
+VOID * gpDummyPage;
+
+DRVFN gaDxgFuncs [] =
+{
+ {0, (PFN) NULL}
+};
+
+
NTSTATUS
@@ -29,12 +44,12 @@
PULONG DirectDrawContext,
PEPROCESS Proc )
{
-#if 0
+
PDRVFN drv_func;
/* Test see if the data is vaild we got from win32k.sys */
- if (size_EngDrv != sizeof(DRVENABLEDATA)) ||
- (size_DXG_INDEX_API != sizeof(DRVENABLEDATA))
+ if ((SizeEngDrv != sizeof(DRVENABLEDATA)) ||
+ (SizeDxgDrv != sizeof(DRVENABLEDATA)))
{
return STATUS_BUFFER_TOO_SMALL;
}
@@ -56,7 +71,7 @@
{
return STATUS_INTERNAL_ERROR;
}
-
+#if 0
/*
* Check if all drv functions are sorted right
* and if it really are exported
Modified: branches/reactx/reactos/include/reactos/win32k/win32kdc.h
URL:
http://svn.reactos.org/svn/reactos/branches/reactx/reactos/include/reactos/…
==============================================================================
--- branches/reactx/reactos/include/reactos/win32k/win32kdc.h (original)
+++ branches/reactx/reactos/include/reactos/win32k/win32kdc.h Mon Oct 22 23:42:53 2007
@@ -2,7 +2,7 @@
#ifndef __WIN32K_DC_H
#define __WIN32K_DC_H
-#include "driver.h"
+#include <reactos/win32k/win32kdriver.h>
typedef enum tagGdiPathState
{