summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_stat.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-25 02:21:53 -0500
committermidipix <writeonce@midipix.org>2016-12-25 02:21:53 -0500
commitd8b4079264a3139f35d784b873d3490b40ffbeff (patch)
tree9d9f7e51f06167c950ca41e1c4626a37fd9b9061 /include/ntapi/nt_stat.h
parent1d3e991a03ff78741f801f88a7bd4ec541bdc99e (diff)
downloadntapi-d8b4079264a3139f35d784b873d3490b40ffbeff.tar.bz2
ntapi-d8b4079264a3139f35d784b873d3490b40ffbeff.tar.xz
{i}stat{fs} interfaces: remove fluff, require valid handle, simplify logic.
Diffstat (limited to 'include/ntapi/nt_stat.h')
-rw-r--r--include/ntapi/nt_stat.h9
1 files changed, 3 insertions, 6 deletions
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