IoRaiseInformationalHardError

Hello again ,

I am using IoRaiseInformationalHardError for Error Popups and Before 1
week It was working fine.One day It stopped poping up messagebox but
Driver was working well only IoRaise… was failing.Then I tried to raise
IRQL level to Dispatch but still it’s not showing message box.

I tried it on diff. systems ,but I didnt found any reason and solution.

PLease help me.

Can KeRaiseIrql fail ?? In what case.

I havent changed any thing to code or system. Today I cleanly reinstalled
windows 2000 and tried the driver but same result.
What might be problem ?

Thanx in advance…

Have you stepped through the code to see what the
IoRaiseInformationalHardError is returning? What is the IRQL when you call
the function? The DDK says it can ONLY be called < DISPATCH_LEVEL.

Are you using the function like a “printf” to show driver progress like you
would use a print in BASIC? Would not an ASSERT used with a debugger or
debug monitor be better, or to simply use the error logging APIs as
suggested in the documentation?


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“TheDonx” wrote in message news:xxxxx@ntdev…
>
> Hello again ,
>
> I am using IoRaiseInformationalHardError for Error Popups and Before 1
> week It was working fine.One day It stopped poping up messagebox but
> Driver was working well only IoRaise… was failing.Then I tried to raise
> IRQL level to Dispatch but still it’s not showing message box.
>
> I tried it on diff. systems ,but I didnt found any reason and solution.
>
> PLease help me.
>
> Can KeRaiseIrql fail ?? In what case.
>
> I havent changed any thing to code or system. Today I cleanly reinstalled
> windows 2000 and tried the driver but same result.
> What might be problem ?
>
> Thanx in advance…
>
>

I am using DbgPrint for viewing in debugger…

Well IoRaiseIn… returns TRUE means it has shown the message ,but realy
it’s not visible.I checked for curremt Dispatch level it’s less than
Dispatch level.it’s value is passive level.

According to DDK docs everything is correct.But still it’s not showing
message.

I checked this driver on many 2000 machines ,but same result everywhere
,before 3 weeks it was working correct on my system.It’s realy hard to
find error because I have not modified the code much.

“much” implies that you have. I would suggest that you fall back to the
version were it was working and then add in each change included in that
“much” until you find the faulting change. You will probably find a silly
little error in one of your changes.


Gary G. Little
xxxxx@broadstor.com
xxxxx@inland.net

“TheDonx” wrote in message news:xxxxx@ntdev…
>
>
>
> I am using DbgPrint for viewing in debugger…
>
> Well IoRaiseIn… returns TRUE means it has shown the message ,but realy
> it’s not visible.I checked for curremt Dispatch level it’s less than
> Dispatch level.it’s value is passive level.
>
> According to DDK docs everything is correct.But still it’s not showing
> message.
>
> I checked this driver on many 2000 machines ,but same result everywhere
> ,before 3 weeks it was working correct on my system.It’s realy hard to
> find error because I have not modified the code much.
>
>
>
>