Added npfs.sys to the automatic loaded drivers.

svn path=/trunk/; revision=2887
This commit is contained in:
Hartmut Birr 2002-04-27 19:24:15 +00:00
parent 18501a22c4
commit 83bcc22c5e

View file

@ -1,4 +1,4 @@
/* $Id: loader.c,v 1.100 2002/02/19 00:09:23 ekohl Exp $ /* $Id: loader.c,v 1.101 2002/04/27 19:24:15 hbirr Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -173,6 +173,7 @@ LdrInit1(VOID)
VOID LdrInitModuleManagement(VOID) VOID LdrInitModuleManagement(VOID)
{ {
HANDLE DirHandle, ModuleHandle; HANDLE DirHandle, ModuleHandle;
NTSTATUS Status; NTSTATUS Status;
WCHAR NameBuffer[60]; WCHAR NameBuffer[60];
UNICODE_STRING ModuleName; UNICODE_STRING ModuleName;
@ -957,12 +958,12 @@ VOID LdrLoadAutoConfigDrivers (VOID)
* Mailslot filesystem driver * Mailslot filesystem driver
*/ */
LdrLoadAutoConfigDriver(L"msfs.sys"); LdrLoadAutoConfigDriver(L"msfs.sys");
#endif
/* /*
* Named pipe filesystem driver * Named pipe filesystem driver
*/ */
LdrLoadAutoConfigDriver(L"npfs.sys"); LdrLoadAutoConfigDriver(L"npfs.sys");
#endif
/* /*
* Mouse drivers * Mouse drivers
*/ */
@ -2241,6 +2242,7 @@ LdrSafePEGetExportAddress(
else /* use hint */ else /* use hint */
{ {
ExportAddress = (PVOID) ((DWORD)ImportModuleBase + ExportAddress = (PVOID) ((DWORD)ImportModuleBase +
FunctionList[Hint - ExportDir->Base]); FunctionList[Hint - ExportDir->Base]);
} }