From da11b97ab205bfa0d92d266600051d56f43e0336 Mon Sep 17 00:00:00 2001 From: midipix Date: Jan 18 2017 06:14:07 +0000 Subject: ntapi_tt_open_physical_parent_directory(): removed 'type' param (not needed). --- 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(