Author: fireball Date: Mon Jun 23 16:36:14 2008 New Revision: 34064
URL: http://svn.reactos.org/svn/reactos?rev=34064&view=rev Log: Cameron Gutman aicommander@gmail.com - Initialize LastChanceShutdownList. - Sndblst.sys and a bunch of other drivers using Io[Un]RegisterLastChanceShutdownNotification work now. See issue #3331 for more details.
Modified: trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iomgr.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iomgr.c?r... ============================================================================== --- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] Mon Jun 23 16:36:14 2008 @@ -54,6 +54,7 @@ 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 @@ InitializeListHead(&DriverReinitListHead); InitializeListHead(&PnpNotifyListHead); InitializeListHead(&ShutdownListHead); + InitializeListHead(&LastChanceShutdownListHead); InitializeListHead(&FsChangeNotifyListHead); InitializeListHead(&IopErrorLogListHead); KeInitializeSpinLock(&CancelSpinLock);