summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-18 01:25:28 -0500
committermidipix <writeonce@midipix.org>2017-01-18 01:25:28 -0500
commitc482cbe9323ac04f6cdd773de721a618ca10f3a9 (patch)
tree2c777e6a6c340cc12af48262a17554bfac1cd300
parenta75a969695d3f2020902b7c72bdacdde6451e04d (diff)
downloadntapi-c482cbe9323ac04f6cdd773de721a618ca10f3a9.tar.bz2
ntapi-c482cbe9323ac04f6cdd773de721a618ca10f3a9.tar.xz
ntapi_tt_open_logical_parent_directory(): removed 'type' param (not needed).
-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;
}