Solved

IoCallDriver return value

Posted on 2000-05-11
2
221 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
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…
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…

756 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