Solved

IoCallDriver return value

Posted on 2000-05-11
2
220 Views
Last Modified: 2013-12-03
Hello:

I am developing a File System Driver filter.
In my code I pass the FSD requests by the function IocallDriver(..), and I want to know by the status returned(status) from that function if the request had succeeded or not:
I want to ask if the macro 'NT_SUCCESS(status)' indicates that the request had succeeded or I need to compare the status to 'STATUS_SUCCESS'.

Thanks.
0
Comment
Question by:moshe26
  • 2
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 150 total points
ID: 2801112
It depends on what you are interested in - if NT_SUCCESS() evaluates to TRUE, no error occured, but the status code might hold additional information (e.g. if you're filtering a file system driver, it could be 'STATUS_VOLUME_MOUNTED').
0
 
LVL 86

Expert Comment

by:jkr
ID: 2811174
Well, does this answer your question or do you need to know more?
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question