mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Cameron Gutman <[email protected]>
- Initialize LastChanceShutdownList. - Sndblst.sys and a bunch of other drivers using Io[Un]RegisterLastChanceShutdownNotification work now. See issue #3331 for more details. svn path=/trunk/; revision=34064
This commit is contained in:
@@ -54,6 +54,7 @@ GENERIC_MAPPING IopFileMapping = {
|
||||
FILE_ALL_ACCESS};
|
||||
|
||||
extern LIST_ENTRY ShutdownListHead;
|
||||
extern LIST_ENTRY LastChanceShutdownListHead;
|
||||
extern KSPIN_LOCK ShutdownListLock;
|
||||
extern NPAGED_LOOKASIDE_LIST IoCompletionPacketLookaside;
|
||||
extern POBJECT_TYPE IoAdapterObjectType;
|
||||
@@ -466,6 +467,7 @@ IoInitSystem(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||
InitializeListHead(&DriverReinitListHead);
|
||||
InitializeListHead(&PnpNotifyListHead);
|
||||
InitializeListHead(&ShutdownListHead);
|
||||
InitializeListHead(&LastChanceShutdownListHead);
|
||||
InitializeListHead(&FsChangeNotifyListHead);
|
||||
InitializeListHead(&IopErrorLogListHead);
|
||||
KeInitializeSpinLock(&CancelSpinLock);
|
||||
|
||||
Reference in New Issue
Block a user