1. Using NTSTATUS Values (Windows Driver Kit)
If the driver checks the return value using the NT_SUCCESS macro, the macro will evaluate to TRUE if the routine returns STATUS_SUCCESS, which indicates no errors, or if it returns ...
2. Using the Cryptography Configuration Features of CNG (Windows)
#include <windows.h> #include <stdio.h> #ifndef NT_SUCCESS #define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0) #endif void EnumProviders2() { NTSTATUS status ...
3. Using NT_SUCCESS always - Microsoft Device Drivers
When testing a return value, you should use NT_SUCCESS(Status) and co. is it always the case? should one always use it and not STATUS_SUCCESS.
4. NT_ERROR, NT_SUCCESS - identifier not found
#ifndef NT_SUCCESS #define NT_SUCCESS(Status) ((NTSTATUS)(Status) >= 0) #endif #ifndef NT_ERROR #define NT_ERROR(Status) ((ULONG)(Status) >> 30 == 3)
5. Using NTSTATUS Values
If the driver checks the return value using the NT_SUCCESS macro, the macro will evaluate to TRUE if the routine returns STATUS_SUCCESS, which indicates no errors, or if it returns ...
6. CYGWIN NT SUCCESS!!!
Date: Thu, 9 Sep 1999 19:19:01 +0100; From: D.J at fiddes.surfaid.org (David J. Fiddes) Subject: CYGWIN NT SUCCESS!!!
7. Re: NT_SUCCESS propagation
Re: NT_SUCCESS propagation... This IoCreateDevice status is NOT I/O status. ... appropriate status for a request being executed. ... the original IRP knows the meaning of each return code