IoCallDriver return value

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.
moshe26Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jkrConnect With a Mentor Commented:
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
 
jkrCommented:
Well, does this answer your question or do you need to know more?
0
All Courses

From novice to tech pro — start learning today.