mirror of
https://github.com/reactos/reactos.git
synced 2025-04-29 18:48:53 +00:00
Replace .def file by a .spec file
svn path=/trunk/; revision=35217
This commit is contained in:
parent
eaab13c551
commit
a19e408738
4 changed files with 15 additions and 20 deletions
|
@ -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
|
||||
|
||||
|
|
@ -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>
|
||||
|
|
8
reactos/drivers/directx/dxapi/dxapi.spec
Normal file
8
reactos/drivers/directx/dxapi/dxapi.spec
Normal file
|
@ -0,0 +1,8 @@
|
|||
@ stdcall DxApi(long ptr long ptr long)
|
||||
@ stdcall DxApiGetVersion()
|
||||
;DxApiInitialize
|
||||
;DxAutoflipUpdate
|
||||
;DxEnableIRQ
|
||||
;DxLoseObject
|
||||
;DxUpdateCapture
|
||||
@ stdcall GsDriverEntry(ptr ptr)
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue