NdisWriteConfiguration crashes

hi,

I am trying to write back some data on to the
driver key in registry for my ndis driver using
NdisWriteConfiguration(). However, this api causes a
system crash if used from a non MiniportInitialize
thread context…

please comment…

Thanks,
-Jay


Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail

On Tue, 2004-09-07 at 07:49, Jayadev M N wrote:

hi,

I am trying to write back some data on to the
driver key in registry for my ndis driver using
NdisWriteConfiguration(). However, this api causes a
system crash if used from a non MiniportInitialize
thread context…

This mechanism is really designed for use in MiniportInitialize only. I
think you’re going to have to use Zw functions for any registry updating
after the fact. This could have an impact on WHQL though; I’m not sure
what their policy here is. Maybe Bryan Burgin can comment.

-sd


Steve Dispensa
MVP - Windows DDK
www.kernelmustard.com