start adding dxg.sys

svn path=/branches/reactx/; revision=29761
This commit is contained in:
Magnus Olsen 2007-10-21 23:38:13 +00:00
parent 7f5e624fc6
commit 7a6391ae7d
4 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE group SYSTEM "../tools/rbuild/project.dtd">
<group xmlns:xi="http://www.w3.org/2001/XInclude">
<directory name="dxg">
<xi:include href="dxg/dxg.rbuild" />
</directory>
</group>

View file

@ -0,0 +1,8 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dxg" type="kernelmodedriver" installbase="system32/drivers" installname="dxg.sys">
<include base="dxg.sys">.</include>
<define name="__USE_W32API" />
<file>main.c</file>
<file>dxg.rc</file>
</module>

View file

@ -0,0 +1,7 @@
/* $Id: vbemp.rc 21844 2006-05-07 19:34:23Z ion $ */
#define REACTOS_VERSION_DLL
#define REACTOS_STR_FILE_DESCRIPTION "DXG DirectX interface Device Driver\0"
#define REACTOS_STR_INTERNAL_NAME "dxg\0"
#define REACTOS_STR_ORIGINAL_FILENAME "dxg.sys\0"
#include <reactos/version.rc>

View file

@ -0,0 +1,28 @@
/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
* PURPOSE: Native driver for dxg implementation
* FILE: drivers/directx/dxg/main.c
* PROGRAMER: Magnus olsen (magnus@greatlord.com)
* REVISION HISTORY:
* 15/10-2007 Magnus Olsen
*/
#include <ntddk.h>
NTSTATUS
GsDriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
/* NOTE : in windows it does a secure cookies check */
return DriverEntry(Context1, Context2);
}
NTSTATUS
DriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
return 0;
}