Replace .def file by a .spec file

svn path=/trunk/; revision=35218
This commit is contained in:
Hervé Poussineau 2008-08-09 09:25:21 +00:00
parent a19e408738
commit a5f5b8583f
5 changed files with 10 additions and 14 deletions

View file

@ -1,9 +0,0 @@
; $Id: videoprt.def 27062 2007-06-07 21:13:06Z greatlrd $
;
; dxg.def - export definition file for ReactOS
;
EXPORTS
DriverEntry@8
DxDdCleanupDxGraphics@0
DxDdStartupDxGraphics@24

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dxg" type="kernelmodedriver" installbase="system32/drivers" installname="dxg.sys">
<importlibrary definition="dxg.def" />
<importlibrary definition="dxg.spec.def" />
<include base="dxg">.</include>
<include base="dxg">include</include>
<include base="ReactOS">subsystems/win32/win32k/include</include>
@ -14,4 +14,5 @@
<file>eng.c</file>
<file>historic.c</file>
<file>dxg.rc</file>
<file>dxg.spec</file>
</module>

View file

@ -0,0 +1,3 @@
@ stdcall DriverEntry(ptr ptr)
@ stdcall DxDdCleanupDxGraphics()
@ stdcall DxDdStartupDxGraphics(long ptr long ptr ptr ptr)

View file

@ -72,9 +72,9 @@ typedef struct _EDD_SURFACE_LOCAL
} EDD_SURFACE_LOCAL, *PEDD_SURFACE_LOCAL;
/* exported functions */
NTSTATUS DriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS DxDdCleanupDxGraphics();
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
NTSTATUS APIENTRY DxDdCleanupDxGraphics();
/* Global pointers */
extern ULONG gcSizeDdHmgr;

View file

@ -25,7 +25,7 @@ const ULONG gcDxgFuncs = DXG_INDEX_DxDdIoctl + 1;
NTSTATUS
NTSTATUS NTAPI
DriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
@ -117,6 +117,7 @@ DxDdStartupDxGraphics (ULONG SizeEngDrv,
NTSTATUS
APIENTRY
DxDdCleanupDxGraphics()
{
DdHmgDestroy();