mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
start adding dxg.sys
svn path=/branches/reactx/; revision=29761
This commit is contained in:
parent
7f5e624fc6
commit
7a6391ae7d
4 changed files with 50 additions and 0 deletions
7
reactos/drivers/directx/directory.rbuild
Normal file
7
reactos/drivers/directx/directory.rbuild
Normal 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>
|
8
reactos/drivers/directx/dxg/dxg.rbuild
Normal file
8
reactos/drivers/directx/dxg/dxg.rbuild
Normal 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>
|
7
reactos/drivers/directx/dxg/dxg.rc
Normal file
7
reactos/drivers/directx/dxg/dxg.rc
Normal 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>
|
28
reactos/drivers/directx/dxg/main.c
Normal file
28
reactos/drivers/directx/dxg/main.c
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue