summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_file.h6
-rw-r--r--src/fs/ntapi_tt_open_logical_parent_directory.c4
-rw-r--r--src/fs/ntapi_tt_open_physical_parent_directory.c5
3 files changed, 11 insertions, 4 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h
index e475bcc..177612b 100644
--- a/include/ntapi/nt_file.h
+++ b/include/ntapi/nt_file.h
@@ -1200,7 +1200,8 @@ typedef int32_t __stdcall ntapi_tt_open_logical_parent_directory(
__in uint32_t oattr,
__in uint32_t desired_access,
__in uint32_t share_access,
- __in uint32_t open_options);
+ __in uint32_t open_options,
+ __out int * reserved);
typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory(
__out void ** hparent,
@@ -1210,6 +1211,7 @@ typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory(
__in uint32_t oattr,
__in uint32_t desired_access,
__in uint32_t share_access,
- __in uint32_t open_options);
+ __in uint32_t open_options,
+ __out int * reserved);
#endif
diff --git a/src/fs/ntapi_tt_open_logical_parent_directory.c b/src/fs/ntapi_tt_open_logical_parent_directory.c
index 8d6937e..f2bf705 100644
--- a/src/fs/ntapi_tt_open_logical_parent_directory.c
+++ b/src/fs/ntapi_tt_open_logical_parent_directory.c
@@ -16,7 +16,8 @@ int32_t __stdcall __ntapi_tt_open_logical_parent_directory(
__in uint32_t oattr,
__in uint32_t desired_access,
__in uint32_t share_access,
- __in uint32_t open_options)
+ __in uint32_t open_options,
+ __out int * reserved)
{
(void)hparent;
(void)hdir;
@@ -26,6 +27,7 @@ int32_t __stdcall __ntapi_tt_open_logical_parent_directory(
(void)desired_access;
(void)share_access,
(void)open_options;
+ (void)reserved;
return NT_STATUS_NOT_IMPLEMENTED;
}
diff --git a/src/fs/ntapi_tt_open_physical_parent_directory.c b/src/fs/ntapi_tt_open_physical_parent_directory.c
index 120896b..1efbee9 100644
--- a/src/fs/ntapi_tt_open_physical_parent_directory.c
+++ b/src/fs/ntapi_tt_open_physical_parent_directory.c
@@ -16,7 +16,8 @@ int32_t __stdcall __ntapi_tt_open_physical_parent_directory(
__in uint32_t oattr,
__in uint32_t desired_access,
__in uint32_t share_access,
- __in uint32_t open_options)
+ __in uint32_t open_options,
+ __out int * reserved)
{
int32_t status;
nt_oa oa;
@@ -26,6 +27,8 @@ int32_t __stdcall __ntapi_tt_open_physical_parent_directory(
nt_unicode_string * path;
uint32_t len;
+ (void)reserved;
+
path = (nt_unicode_string *)buffer;
if ((status = __ntapi->zw_query_object(