From d8b4079264a3139f35d784b873d3490b40ffbeff Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 25 Dec 2016 02:21:53 -0500 Subject: {i}stat{fs} interfaces: remove fluff, require valid handle, simplify logic. --- include/ntapi/nt_stat.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/ntapi/nt_stat.h') diff --git a/include/ntapi/nt_stat.h b/include/ntapi/nt_stat.h index 755ea2a..8d0fd8b 100644 --- a/include/ntapi/nt_stat.h +++ b/include/ntapi/nt_stat.h @@ -10,7 +10,6 @@ #define NT_STAT_COMMON (0x00000001) #define NT_STAT_DEV_NAME_COPY (0x00000002) #define NT_STAT_MUP_DEVICE (0x20000000) -#define NT_STAT_NEW_HANDLE (0x80000000) typedef struct _nt_stat { nt_fbi fbi; @@ -35,13 +34,11 @@ typedef struct _nt_stat { typedef int32_t __stdcall ntapi_tt_stat( - __in void * hfile __optional, - __in void * hroot __optional, - __in nt_unicode_string * path __optional, - __out nt_stat * stat, + __in void * hfile, + __out nt_stat * info, + __in uint32_t infolen, __out uintptr_t * buffer, __in uint32_t buffer_size, - __in uint32_t open_options, __in uint32_t flags); #endif -- cgit v1.2.3