Replace .def file by a .spec file

svn path=/trunk/; revision=35217
This commit is contained in:
Hervé Poussineau 2008-08-09 09:06:04 +00:00
parent eaab13c551
commit a19e408738
4 changed files with 15 additions and 20 deletions

View file

@ -1,15 +0,0 @@
; $Id: videoprt.def 27062 2007-06-07 21:13:06Z greatlrd $
;
; dxapi.def - export definition file for ReactOS
;
EXPORTS
DxApi@20
DxApiGetVersion@0
;DxApiInitialize@32
;DxAutoflipUpdate@20
;DxEnableIRQ@8
;DxLoseObject@8
;DxUpdateCapture@12
GsDriverEntry@8

View file

@ -2,7 +2,7 @@
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
<module name="dxapi" type="kernelmodedriver"
installbase="system32/drivers" installname="dxapi.sys">
<importlibrary definition="dxapi.def" />
<importlibrary definition="dxapi.spec.def" />
<include base="dxapi">.</include>
<define name="__USE_W32API" />
<define name="_DXAPI_" />
@ -11,4 +11,5 @@ installbase="system32/drivers" installname="dxapi.sys">
<library>videoprt</library>
<file>main.c</file>
<file>dxapi.rc</file>
<file>dxapi.spec</file>
</module>

View file

@ -0,0 +1,8 @@
@ stdcall DxApi(long ptr long ptr long)
@ stdcall DxApiGetVersion()
;DxApiInitialize
;DxAutoflipUpdate
;DxEnableIRQ
;DxLoseObject
;DxUpdateCapture
@ stdcall GsDriverEntry(ptr ptr)

View file

@ -12,7 +12,7 @@
#include "dxapi_driver.h"
NTSTATUS
NTSTATUS NTAPI
DriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
@ -23,7 +23,7 @@ DriverEntry(IN PVOID Context1,
return STATUS_SUCCESS;
}
NTSTATUS
NTSTATUS NTAPI
GsDriverEntry(IN PVOID Context1,
IN PVOID Context2)
{
@ -45,7 +45,8 @@ GsDriverEntry(IN PVOID Context1,
* none
*
*--*/
ULONG
DXAPI
ULONG PASCAL
DxApiGetVersion()
{
/* MSDN say this always return Direct Sound version 4.02 */
@ -98,7 +99,7 @@ DxApiGetVersion()
*--*/
DXAPI
DWORD
DWORD PASCAL
DxApi(IN DWORD dwFunctionNum,
IN LPVOID lpvInBuffer,
IN DWORD cbInBuffer,