diff options
author | midipix <writeonce@midipix.org> | 2017-01-18 01:14:07 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-01-18 01:14:07 -0500 |
commit | da11b97ab205bfa0d92d266600051d56f43e0336 (patch) | |
tree | f1feeb664bcfab71dab85ebaf9cf563b84d3a4ed | |
parent | dea1aa7dfbb473a5625491efb65ef088b68d7092 (diff) | |
download | ntapi-da11b97ab205bfa0d92d266600051d56f43e0336.tar.bz2 ntapi-da11b97ab205bfa0d92d266600051d56f43e0336.tar.xz |
ntapi_tt_open_physical_parent_directory(): removed 'type' param (not needed).
-rw-r--r-- | include/ntapi/nt_file.h | 3 | ||||
-rw-r--r-- | src/fs/ntapi_tt_open_physical_parent_directory.c | 5 |
2 files changed, 2 insertions, 6 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h index 8860833..c15772e 100644 --- a/include/ntapi/nt_file.h +++ b/include/ntapi/nt_file.h @@ -1207,7 +1207,6 @@ typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory( __out uintptr_t * buffer, __in uint32_t buffer_size, __in uint32_t desired_access, - __in uint32_t open_options, - __out int32_t * type); + __in uint32_t open_options); #endif diff --git a/src/fs/ntapi_tt_open_physical_parent_directory.c b/src/fs/ntapi_tt_open_physical_parent_directory.c index d28eb1b..2822b47 100644 --- a/src/fs/ntapi_tt_open_physical_parent_directory.c +++ b/src/fs/ntapi_tt_open_physical_parent_directory.c @@ -14,8 +14,7 @@ int32_t __stdcall __ntapi_tt_open_physical_parent_directory( __out uintptr_t * buffer, __in uint32_t buffer_size, __in uint32_t desired_access, - __in uint32_t open_options, - __out int32_t * type) + __in uint32_t open_options) { int32_t status; nt_oa oa; @@ -25,8 +24,6 @@ int32_t __stdcall __ntapi_tt_open_physical_parent_directory( nt_unicode_string * path; uint32_t len; - (void)type; - path = (nt_unicode_string *)buffer; if ((status = __ntapi->zw_query_object( |