mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 02:10:07 +00:00
Replace .def file by a .spec file
svn path=/trunk/; revision=35218
This commit is contained in:
parent
a19e408738
commit
a5f5b8583f
|
@ -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
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
|
<!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" />
|
<importlibrary definition="dxg.spec.def" />
|
||||||
<include base="dxg">.</include>
|
<include base="dxg">.</include>
|
||||||
<include base="dxg">include</include>
|
<include base="dxg">include</include>
|
||||||
<include base="ReactOS">subsystems/win32/win32k/include</include>
|
<include base="ReactOS">subsystems/win32/win32k/include</include>
|
||||||
|
@ -14,4 +14,5 @@
|
||||||
<file>eng.c</file>
|
<file>eng.c</file>
|
||||||
<file>historic.c</file>
|
<file>historic.c</file>
|
||||||
<file>dxg.rc</file>
|
<file>dxg.rc</file>
|
||||||
|
<file>dxg.spec</file>
|
||||||
</module>
|
</module>
|
||||||
|
|
3
reactos/drivers/directx/dxg/dxg.spec
Normal file
3
reactos/drivers/directx/dxg/dxg.spec
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
@ stdcall DriverEntry(ptr ptr)
|
||||||
|
@ stdcall DxDdCleanupDxGraphics()
|
||||||
|
@ stdcall DxDdStartupDxGraphics(long ptr long ptr ptr ptr)
|
|
@ -72,9 +72,9 @@ typedef struct _EDD_SURFACE_LOCAL
|
||||||
} EDD_SURFACE_LOCAL, *PEDD_SURFACE_LOCAL;
|
} EDD_SURFACE_LOCAL, *PEDD_SURFACE_LOCAL;
|
||||||
|
|
||||||
/* exported functions */
|
/* exported functions */
|
||||||
NTSTATUS DriverEntry(IN PVOID Context1, IN PVOID Context2);
|
NTSTATUS NTAPI DriverEntry(IN PVOID Context1, IN PVOID Context2);
|
||||||
NTSTATUS GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
|
NTSTATUS NTAPI GsDriverEntry(IN PVOID Context1, IN PVOID Context2);
|
||||||
NTSTATUS DxDdCleanupDxGraphics();
|
NTSTATUS APIENTRY DxDdCleanupDxGraphics();
|
||||||
|
|
||||||
/* Global pointers */
|
/* Global pointers */
|
||||||
extern ULONG gcSizeDdHmgr;
|
extern ULONG gcSizeDdHmgr;
|
||||||
|
|
|
@ -25,7 +25,7 @@ const ULONG gcDxgFuncs = DXG_INDEX_DxDdIoctl + 1;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS NTAPI
|
||||||
DriverEntry(IN PVOID Context1,
|
DriverEntry(IN PVOID Context1,
|
||||||
IN PVOID Context2)
|
IN PVOID Context2)
|
||||||
{
|
{
|
||||||
|
@ -117,6 +117,7 @@ DxDdStartupDxGraphics (ULONG SizeEngDrv,
|
||||||
|
|
||||||
|
|
||||||
NTSTATUS
|
NTSTATUS
|
||||||
|
APIENTRY
|
||||||
DxDdCleanupDxGraphics()
|
DxDdCleanupDxGraphics()
|
||||||
{
|
{
|
||||||
DdHmgDestroy();
|
DdHmgDestroy();
|
||||||
|
|
Loading…
Reference in a new issue