Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

IoCallDriver return value

Posted on 2000-05-11
2
Medium Priority
?
228 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 450 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

715 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