#include <wchar.h>
#include <string.h>
-#define NDEBUG
+//#define NDEBUG
#include <kernel32/kernel32.h>
/* EXTERNS ******************************************************************/
if (!NT_SUCCESS(Status))
{
SetLastError(RtlNtStatusToDosError(Status));
- return NULL;
+ return INVALID_HANDLE_VALUE;
}
return(FileHandle);
}