Author: fireball
Date: Tue Feb 19 20:18:18 2008
New Revision: 32421
URL:
http://svn.reactos.org/svn/reactos?rev=32421&view=rev
Log:
- Fix dxg's includes.
Modified:
trunk/reactos/drivers/directx/dxg/dxg.rbuild
trunk/reactos/drivers/directx/dxg/dxg_int.h
Modified: trunk/reactos/drivers/directx/dxg/dxg.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/directx/dxg/dxg.rb…
==============================================================================
--- trunk/reactos/drivers/directx/dxg/dxg.rbuild (original)
+++ trunk/reactos/drivers/directx/dxg/dxg.rbuild Tue Feb 19 20:18:18 2008
@@ -1,10 +1,12 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
-<module name="dxg" type="kernelmodedriver"
-installbase="system32/drivers" installname="dxg.sys">
+<module name="dxg" type="kernelmodedriver"
installbase="system32/drivers" installname="dxg.sys">
<importlibrary definition="dxg.def" />
<include base="dxg">.</include>
- <define name="__USE_W32API" />
+ <include base="dxg">include</include>
+ <include base="ReactOS">subsystems/win32/win32k/include</include>
+ <define name="_WIN32_WINNT">0x0501</define>
+ <define name="WINVER">0x600</define>
<library>dxgthk</library>
<library>ntoskrnl</library>
<file>main.c</file>
Modified: trunk/reactos/drivers/directx/dxg/dxg_int.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/directx/dxg/dxg_in…
==============================================================================
--- trunk/reactos/drivers/directx/dxg/dxg_int.h (original)
+++ trunk/reactos/drivers/directx/dxg/dxg_int.h Tue Feb 19 20:18:18 2008
@@ -6,6 +6,7 @@
#include <ddk/tvout.h>
#include <ndk/ntndk.h>
+/* Win32 Headers */
#define WINBASEAPI
#define STARTF_USESIZE 2
#define STARTF_USEPOSITION 4
@@ -21,13 +22,19 @@
#include <dde.h>
#include <wincon.h>
-#include <reactos/drivers/directx/directxint.h>
+/* Public Win32K Headers */
+#include <win32k/ntusrtyp.h>
+#include <win32k/ntuser.h>
+#include <win32k/ntgdityp.h>
+#include <win32k/ntgdihdl.h>
+#include <win32.h>
+#include <gdiobj.h>
+#include <dc.h>
-#include <reactos/win32k/ntgdityp.h>
-#include <reactos/win32k/ntgdihdl.h>
+#include <drivers/directx/directxint.h>
-#include <reactos/drivers/directx/dxg.h>
-#include <reactos/drivers/directx/dxeng.h>
+#include <drivers/directx/dxg.h>
+#include <drivers/directx/dxeng.h>
#include "tags.h"