Some minor fixes.

svn path=/trunk/; revision=1037
This commit is contained in:
Emanuele Aliberti 2000-03-08 22:37:04 +00:00
parent 3da0b018e5
commit b129b2caea
10 changed files with 27 additions and 22 deletions

View file

@ -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 # NDIS.SYS build spec
# #
@ -44,7 +44,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
--subsystem=native \ --subsystem=native \
-mdll \ -mdll \
--dll \ --dll \
-e _DllMain@8 \ -e _DriverEntry@8 \
-o junk.tmp \ -o junk.tmp \
-Wl,--image-base,0x0 \ -Wl,--image-base,0x0 \
-Wl,--file-alignment,0x1000 \ -Wl,--file-alignment,0x1000 \

View file

@ -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 # TCPIP.SYS build spec
# #
@ -40,7 +40,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
--subsystem=native \ --subsystem=native \
-mdll \ -mdll \
--dll \ --dll \
-e _DllMain@8 \ -e _DriverEntry@8 \
-o junk.tmp \ -o junk.tmp \
-Wl,--image-base,0x0 \ -Wl,--image-base,0x0 \
-Wl,--file-alignment,0x1000 \ -Wl,--file-alignment,0x1000 \

View file

@ -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> #include <ntos.h>
BOOLEAN NTSTATUS
STDCALL STDCALL
DllMain ( DriverEntry (
IN PDRIVER_OBJECT DriverObject, IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath IN PUNICODE_STRING RegistryPath
) )
{ {
return TRUE; return STATUS_UNSUCCESSFUL;
} }
/* EOF */ /* EOF */

View file

@ -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 # TDI.SYS build spec
# #
@ -66,7 +66,7 @@ $(TARGETNAME).sys: $(OBJECTS) misc/$(TARGETNAME).def
--subsystem=native \ --subsystem=native \
-mdll \ -mdll \
--dll \ --dll \
-e _DllMain@8 \ -e _DriverEntry@8 \
-o $(TARGETNAME).sys \ -o $(TARGETNAME).sys \
$(TARGETNAME).o \ $(TARGETNAME).o \
../../../ntoskrnl/ntoskrnl.a \ ../../../ntoskrnl/ntoskrnl.a \

View file

@ -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 * DESCRIPTION: Entry point for TDI.SYS
*/ */
#include <ntos.h> #include <ntos.h>
BOOLEAN NTSTATUS
STDCALL STDCALL
DllMain ( DriverEntry (
IN PDRIVER_OBJECT DriverObject, IN PDRIVER_OBJECT DriverObject,
IN PUNICODE_STRING RegistryPath IN PUNICODE_STRING RegistryPath
) )
{ {
return FALSE; /* ? */ return STATUS_UNSUCCESSFUL;
} }
/* EOF */ /* EOF */

View file

@ -924,7 +924,7 @@ VOID APIENTRY EngDebugPrint(PCHAR StandardPrefix,
PCHAR DebugMessage, PCHAR DebugMessage,
va_list ArgList); va_list ArgList);
HANDLE EngLoadImage(LPWSTR DriverName); HANDLE STDCALL EngLoadImage(LPWSTR DriverName);
/* /*
EngDeleteClip EngDeleteClip

View file

@ -1,6 +1,10 @@
#include <ddk/winddi.h> #include <ddk/winddi.h>
HANDLE EngLoadImage(LPWSTR DriverName) HANDLE __cdecl LdrLoadModule (LPWSTR);
HANDLE
STDCALL
EngLoadImage (LPWSTR DriverName)
{ {
return LdrLoadModule(DriverName); return (HANDLE) LdrLoadModule(DriverName);
} }

View file

@ -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 # WIN32K.SYS build spec
# #
@ -63,7 +63,7 @@ $(TARGET).sys: $(OBJECTS) $(TARGET).def
--dllname $(TARGET).sys \ --dllname $(TARGET).sys \
--base-file base.tmp \ --base-file base.tmp \
--output-exp temp.exp \ --output-exp temp.exp \
--def $(TARGET).def --def $(TARGET).edf
- $(RM) base.tmp - $(RM) base.tmp
$(CC) \ $(CC) \
--subsystem=native \ --subsystem=native \

View file

@ -62,7 +62,6 @@ STUB(EngGetPrinterDataFileName)
STUB(EngGetProcessHandle) STUB(EngGetProcessHandle)
STUB(EngGetType1FontList) STUB(EngGetType1FontList)
STUB(EngLineTo) STUB(EngLineTo)
STUB(EngLoadImage)
STUB(EngLoadModule) STUB(EngLoadModule)
STUB(EngLoadModuleForWrite) STUB(EngLoadModuleForWrite)
STUB(EngLockDriverObj) STUB(EngLockDriverObj)

View file

@ -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 ; win32k.def
; ;
@ -63,7 +63,7 @@ EngGetPrinterDataFileName
EngGetProcessHandle EngGetProcessHandle
EngGetType1FontList EngGetType1FontList
EngLineTo EngLineTo
EngLoadImage EngLoadImage@4
EngLoadModule EngLoadModule
EngLoadModuleForWrite EngLoadModuleForWrite
EngLockDriverObj EngLockDriverObj