summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_file.h3
-rw-r--r--src/fs/ntapi_tt_open_logical_parent_directory.c4
2 files changed, 2 insertions, 5 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h
index 3de780e..9ba682d 100644
--- a/include/ntapi/nt_file.h
+++ b/include/ntapi/nt_file.h
@@ -1198,8 +1198,7 @@ typedef int32_t __stdcall ntapi_tt_open_logical_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);
typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory(
__out void ** hparent,
diff --git a/src/fs/ntapi_tt_open_logical_parent_directory.c b/src/fs/ntapi_tt_open_logical_parent_directory.c
index 0f1b7d6..83cbe1f 100644
--- a/src/fs/ntapi_tt_open_logical_parent_directory.c
+++ b/src/fs/ntapi_tt_open_logical_parent_directory.c
@@ -14,8 +14,7 @@ int32_t __stdcall __ntapi_tt_open_logical_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)
{
(void)hparent;
(void)hdir;
@@ -23,7 +22,6 @@ int32_t __stdcall __ntapi_tt_open_logical_parent_directory(
(void)buffer_size;
(void)desired_access;
(void)open_options;
- (void)type;
return NT_STATUS_MORE_PROCESSING_REQUIRED;
}