[ros-diffs] [fireball] 34064: Cameron Gutman <aicommander at gmail.com> - Initialize LastChanceShutdownList. - Sndblst.sys and a bunch of other drivers using Io[Un]RegisterLastChanceShutdownNotification work now. See issue #3331 for more details.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Jun 23 23:36:14 CEST 2008


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 at 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?rev=34064&r1=34063&r2=34064&view=diff
==============================================================================
--- 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);



More information about the Ros-diffs mailing list