mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
Replace .def file by a .spec file
svn path=/trunk/; revision=35220
This commit is contained in:
parent
3744b87979
commit
1a3e978ddd
4 changed files with 23 additions and 28 deletions
|
@ -1,26 +0,0 @@
|
|||
; $Id: videoprt.def 27062 2007-06-07 21:13:06Z greatlrd $
|
||||
;
|
||||
; dxg.def - export definition file for ReactOS
|
||||
;
|
||||
EXPORTS
|
||||
DriverEntry@8
|
||||
EngAcquireSemaphore@4=win32k.EngAcquireSemaphore@4
|
||||
EngAllocMem@12=win32k.EngAllocMem@12
|
||||
EngAllocUserMem@8=win32k.EngAllocUserMem@8
|
||||
EngCopyBits@24=win32k.EngCopyBits@24
|
||||
EngCreateBitmap@24=win32k.EngCreateBitmap@24
|
||||
EngCreatePalette@24=win32k.EngCreatePalette@24
|
||||
EngCreateSemaphore@0=win32k.EngCreateSemaphore@0
|
||||
EngDeletePalette@4=win32k.EngDeletePalette@4
|
||||
EngDeleteSemaphore@4=win32k.EngDeleteSemaphore@4
|
||||
EngDeleteSurface@4=win32k.EngDeleteSurface@4
|
||||
EngFindImageProcAddress@8=win32k.EngFindImageProcAddress@8
|
||||
EngFreeMem@4=win32k.EngFreeMem@4
|
||||
EngFreeUserMem@4=win32k.EngFreeUserMem@4
|
||||
EngLoadImage@4=win32k.EngLoadImage@4
|
||||
EngLockSurface@4=win32k.EngLockSurface@4
|
||||
EngReleaseSemaphore@4=win32k.EngReleaseSemaphore@4
|
||||
EngSetLastError@4=win32k.EngSetLastError@4
|
||||
EngUnloadImage@4=win32k.EngUnloadImage@4
|
||||
EngUnlockSurface@4=win32k.EngUnlockSurface@4
|
||||
|
|
@ -2,10 +2,11 @@
|
|||
<!DOCTYPE module SYSTEM "../../../../tools/rbuild/project.dtd">
|
||||
<module name="dxgthk" type="kernelmodedriver"
|
||||
installbase="system32/drivers" installname="dxgthk.sys">
|
||||
<importlibrary definition="dxgthk.def" />
|
||||
<importlibrary definition="dxgthk.spec.def" />
|
||||
<include base="dxgthk">.</include>
|
||||
<define name="__USE_W32API" />
|
||||
<library>win32k</library>
|
||||
<file>main.c</file>
|
||||
<file>dxgthk.rc</file>
|
||||
<file>dxgthk.spec</file>
|
||||
</module>
|
||||
|
|
20
reactos/drivers/directx/dxgthk/dxgthk.spec
Normal file
20
reactos/drivers/directx/dxgthk/dxgthk.spec
Normal file
|
@ -0,0 +1,20 @@
|
|||
@ stdcall DriverEntry(ptr ptr)
|
||||
@ stdcall EngAcquireSemaphore(ptr) win32k.EngAcquireSemaphore
|
||||
@ stdcall EngAllocMem(long long long) win32k.EngAllocMem
|
||||
@ stdcall EngAllocUserMem(long long) win32k.EngAllocUserMem
|
||||
@ stdcall EngCopyBits(ptr ptr ptr ptr ptr ptr) win32k.EngCopyBits
|
||||
@ stdcall EngCreateBitmap(long long long long ptr) win32k.EngCreateBitmap
|
||||
@ stdcall EngCreatePalette(long long long long long long) win32k.EngCreatePalette
|
||||
@ stdcall EngCreateSemaphore() win32k.EngCreateSemaphore
|
||||
@ stdcall EngDeletePalette(ptr) win32k.EngDeletePalette
|
||||
@ stdcall EngDeleteSemaphore(ptr) win32k.EngDeleteSemaphore
|
||||
@ stdcall EngDeleteSurface(ptr) win32k.EngDeleteSurface
|
||||
@ stdcall EngFindImageProcAddress(ptr str) win32k.EngFindImageProcAddress
|
||||
@ stdcall EngFreeMem(ptr) win32k.EngFreeMem
|
||||
@ stdcall EngFreeUserMem(ptr) win32k.EngFreeUserMem
|
||||
@ stdcall EngLoadImage(wstr) win32k.EngLoadImage
|
||||
@ stdcall EngLockSurface(ptr) win32k.EngLockSurface
|
||||
@ stdcall EngReleaseSemaphore(ptr) win32k.EngReleaseSemaphore
|
||||
@ stdcall EngSetLastError(long) win32k.EngSetLastError
|
||||
@ stdcall EngUnloadImage(ptr) win32k.EngUnloadImage
|
||||
@ stdcall EngUnlockSurface(ptr) win32k.EngUnlockSurface
|
|
@ -12,7 +12,7 @@
|
|||
/* DDK/NDK/SDK Headers */
|
||||
#include <ddk/ntddk.h>
|
||||
|
||||
NTSTATUS
|
||||
NTSTATUS NTAPI
|
||||
DriverEntry(IN PVOID Context1,
|
||||
IN PVOID Context2)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue