Solved

IoCallDriver return value

Posted on 2000-05-11
2
222 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Winform not working on 64 bit machine 31 105
Query performance - SQL Server 20 85
Windows ICD FFU Issue 4 106
Infrastructure development vs software development 3 107
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…

739 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