IoRaiseInformationalHardError

In the NT-Insider there was an artical written on how to prevent
IoRaiseInformationalHardError from being activated. My problem is the
reverse. I’m attempting to get IoRaiseInformationalHardError to display
its error with a included error string.
After scanning thru the postings pertaining to this issue it appears that

1): The ErrorStatus Parameter is limited to the error codes defined in
ntstatus.h

2): The PUNICODE_STRING parameter is ignored.

3): The PKTHREAD parameter will stop the thread until there is user input
if it is present.

My question is are my assumptions in this issue correct or have I missed
something.

I’m attempting to get an informational error displayed with my own
informational string displayed using the form :

IoRaiseInformationalHardError (Error_Code, ErrorString, NULL)

My results so far have not been successful in displaying the ErrorString.

Thanks in advance for any and all help.

Phil Maritnez wrote:

I’m attempting to get an informational error displayed with my own
informational string displayed using the form :

IoRaiseInformationalHardError (Error_Code, ErrorString, NULL)

My results so far have not been successful in displaying the ErrorString.

As best I can tell, this DDI is really there for use by file system
drivers. If you’re working on a file system driver, stop reading this
and wait for someone to answer who knows more about that space. If
you’re working on a device driver, there’s probably a better way to do
what you want, such as signalling a WMI event that some tray application
is listening for, or the like.


Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com