summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-01-18 01:27:47 -0500
committermidipix <writeonce@midipix.org>2017-01-18 01:27:47 -0500
commit50eb16787a353a538c3c268b265fe68d2c3e3a2c (patch)
tree2f67d20b288af2a1a744b5eb083c6f188f39a97c
parentc482cbe9323ac04f6cdd773de721a618ca10f3a9 (diff)
downloadntapi-50eb16787a353a538c3c268b265fe68d2c3e3a2c.tar.bz2
ntapi-50eb16787a353a538c3c268b265fe68d2c3e3a2c.tar.xz
ntapi_tt_open_logical_parent_directory(): added inheritance and share params.
-rw-r--r--include/ntapi/nt_file.h2
-rw-r--r--src/fs/ntapi_tt_open_logical_parent_directory.c4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h
index 9ba682d..e475bcc 100644
--- a/include/ntapi/nt_file.h
+++ b/include/ntapi/nt_file.h
@@ -1197,7 +1197,9 @@ typedef int32_t __stdcall ntapi_tt_open_logical_parent_directory(
__in void * hdir,
__out uintptr_t * buffer,
__in uint32_t buffer_size,
+ __in uint32_t oattr,
__in uint32_t desired_access,
+ __in uint32_t share_access,
__in uint32_t open_options);
typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory(
diff --git a/src/fs/ntapi_tt_open_logical_parent_directory.c b/src/fs/ntapi_tt_open_logical_parent_directory.c
index 83cbe1f..b9aa2a3 100644
--- a/src/fs/ntapi_tt_open_logical_parent_directory.c
+++ b/src/fs/ntapi_tt_open_logical_parent_directory.c
@@ -13,14 +13,18 @@ int32_t __stdcall __ntapi_tt_open_logical_parent_directory(
__in void * hdir,
__out uintptr_t * buffer,
__in uint32_t buffer_size,
+ __in uint32_t oattr,
__in uint32_t desired_access,
+ __in uint32_t share_access,
__in uint32_t open_options)
{
(void)hparent;
(void)hdir;
(void)buffer;
(void)buffer_size;
+ (void)oattr;
(void)desired_access;
+ (void)share_access,
(void)open_options;
return NT_STATUS_MORE_PROCESSING_REQUIRED;