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_istat.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'include/ntapi/nt_istat.h') diff --git a/include/ntapi/nt_istat.h b/include/ntapi/nt_istat.h index 49e0f24..ade7404 100644 --- a/include/ntapi/nt_istat.h +++ b/include/ntapi/nt_istat.h @@ -11,7 +11,6 @@ #define NT_ISTAT_DEV_NAME_COPY 0x00000002 #define NT_ISTAT_DEV_NAME_ONLY 0x08000000 #define NT_ISTAT_MUP_DEVICE 0x20000000 -#define NT_ISTAT_NEW_HANDLE 0x80000000 typedef struct _nt_istat { void * hfile; @@ -28,13 +27,11 @@ typedef struct _nt_istat { typedef int32_t __stdcall ntapi_tt_istat( - __in void * hfile __optional, - __in void * hroot __optional, - __in nt_unicode_string * path __optional, - __out nt_istat * istat, + __in void * hfile, + __out nt_istat * info, + __in uint32_t infolen, __out uintptr_t * buffer, __in uint32_t buffer_size, - __in uint32_t open_options, __in uint32_t flags); -- cgit v1.2.3