mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
Some minor fixes.
svn path=/trunk/; revision=1037
This commit is contained in:
parent
3da0b018e5
commit
b129b2caea
10 changed files with 27 additions and 22 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.1 1999/11/24 23:06:23 ea Exp $
|
||||
# $Id: Makefile,v 1.2 2000/03/08 22:37:01 ea Exp $
|
||||
#
|
||||
# NDIS.SYS build spec
|
||||
#
|
||||
|
@ -44,7 +44,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
|
|||
--subsystem=native \
|
||||
-mdll \
|
||||
--dll \
|
||||
-e _DllMain@8 \
|
||||
-e _DriverEntry@8 \
|
||||
-o junk.tmp \
|
||||
-Wl,--image-base,0x0 \
|
||||
-Wl,--file-alignment,0x1000 \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile_rex,v 1.1 1999/11/20 20:36:45 ea Exp $
|
||||
# $Id: Makefile_rex,v 1.2 2000/03/08 22:37:02 ea Exp $
|
||||
#
|
||||
# TCPIP.SYS build spec
|
||||
#
|
||||
|
@ -40,7 +40,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
|
|||
--subsystem=native \
|
||||
-mdll \
|
||||
--dll \
|
||||
-e _DllMain@8 \
|
||||
-e _DriverEntry@8 \
|
||||
-o junk.tmp \
|
||||
-Wl,--image-base,0x0 \
|
||||
-Wl,--file-alignment,0x1000 \
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
/* $Id: main.c,v 1.1 1999/11/20 20:36:46 ea Exp $ */
|
||||
/* $Id: main.c,v 1.2 2000/03/08 22:37:02 ea Exp $ */
|
||||
#include <ntos.h>
|
||||
|
||||
BOOLEAN
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
DllMain (
|
||||
DriverEntry (
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath
|
||||
)
|
||||
{
|
||||
return TRUE;
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.4 1999/11/28 07:59:28 ea Exp $
|
||||
# $Id: Makefile,v 1.5 2000/03/08 22:37:02 ea Exp $
|
||||
#
|
||||
# TDI.SYS build spec
|
||||
#
|
||||
|
@ -66,7 +66,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
|
|||
--subsystem=native \
|
||||
-mdll \
|
||||
--dll \
|
||||
-e _DllMain@8 \
|
||||
-e _DriverEntry@8 \
|
||||
-o $(TARGETNAME).sys \
|
||||
$(TARGETNAME).o \
|
||||
../../../ntoskrnl/ntoskrnl.a \
|
||||
|
|
|
@ -1,18 +1,19 @@
|
|||
/* $Id: main.c,v 1.1 1999/11/20 20:41:29 ea Exp $
|
||||
/* $Id: main.c,v 1.2 2000/03/08 22:37:03 ea Exp $
|
||||
*
|
||||
* DESCRIPTION: Entry point for TDI.SYS
|
||||
*/
|
||||
#include <ntos.h>
|
||||
|
||||
BOOLEAN
|
||||
NTSTATUS
|
||||
STDCALL
|
||||
DllMain (
|
||||
DriverEntry (
|
||||
IN PDRIVER_OBJECT DriverObject,
|
||||
IN PUNICODE_STRING RegistryPath
|
||||
)
|
||||
{
|
||||
return FALSE; /* ? */
|
||||
return STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* EOF */
|
||||
|
|
|
@ -924,7 +924,7 @@ VOID APIENTRY EngDebugPrint(PCHAR StandardPrefix,
|
|||
PCHAR DebugMessage,
|
||||
va_list ArgList);
|
||||
|
||||
HANDLE EngLoadImage(LPWSTR DriverName);
|
||||
HANDLE STDCALL EngLoadImage(LPWSTR DriverName);
|
||||
|
||||
/*
|
||||
EngDeleteClip
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
#include <ddk/winddi.h>
|
||||
|
||||
HANDLE EngLoadImage(LPWSTR DriverName)
|
||||
HANDLE __cdecl LdrLoadModule (LPWSTR);
|
||||
|
||||
HANDLE
|
||||
STDCALL
|
||||
EngLoadImage (LPWSTR DriverName)
|
||||
{
|
||||
return LdrLoadModule(DriverName);
|
||||
return (HANDLE) LdrLoadModule(DriverName);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: makefile,v 1.16 2000/03/08 21:23:13 jfilby Exp $
|
||||
# $Id: makefile,v 1.17 2000/03/08 22:37:03 ea Exp $
|
||||
#
|
||||
# WIN32K.SYS build spec
|
||||
#
|
||||
|
@ -63,7 +63,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
|
|||
--dllname $(TARGET).sys \
|
||||
--base-file base.tmp \
|
||||
--output-exp temp.exp \
|
||||
--def $(TARGET).def
|
||||
--def $(TARGET).edf
|
||||
- $(RM) base.tmp
|
||||
$(CC) \
|
||||
--subsystem=native \
|
||||
|
|
|
@ -62,7 +62,6 @@ STUB(EngGetPrinterDataFileName)
|
|||
STUB(EngGetProcessHandle)
|
||||
STUB(EngGetType1FontList)
|
||||
STUB(EngLineTo)
|
||||
STUB(EngLoadImage)
|
||||
STUB(EngLoadModule)
|
||||
STUB(EngLoadModuleForWrite)
|
||||
STUB(EngLockDriverObj)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; $Id: win32k.def,v 1.7 1999/11/20 21:47:58 ekohl Exp $
|
||||
; $Id: win32k.def,v 1.8 2000/03/08 22:37:03 ea Exp $
|
||||
;
|
||||
; win32k.def
|
||||
;
|
||||
|
@ -63,7 +63,7 @@ EngGetPrinterDataFileName
|
|||
EngGetProcessHandle
|
||||
EngGetType1FontList
|
||||
EngLineTo
|
||||
EngLoadImage
|
||||
EngLoadImage@4
|
||||
EngLoadModule
|
||||
EngLoadModuleForWrite
|
||||
EngLockDriverObj
|
||||
|
|
Loading…
Reference in a new issue