Article 14251 of comp.os.ms-windows.programmer.nt.kernel-mode: In article <34c6c0b6.111581390@news.alt.net>, tony@ercolano.com (Anthony V. Ercolano) writes: > I don't believe it will still crash. (Note that I don't have a > functional DDK and I only have one machine, so I will pass on running > the sample.) > > Your workaround (to acquire the spinlock) essentially raises the IRQL > to DISPATCH. > > If you actually do change the sample to have the #ifdef's have an ELSE > clause that raises and lowers the IRQL and it REALLY still does crash > then I think you will have a really interesting bug in *your* code. Nope. It still crashes if you KeRaiseIrql to DISPATCH_LEVEL but don't use the driver-supplied spinlock. I think it's a real bug in NT. --- Jamie Hanrahan, Kernel Mode Systems, San Diego CA Internet: jeh@cmkrnl.com (JH645) CompuServe: 74140,2055 drivers, internals, networks, applications, and training for VMS and Windows NT NT driver FAQ, links, and other information: http://www.cmkrnl.com/ If you post a reply in news, please don't e-mail it too.