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(