diff options
author | midipix <writeonce@midipix.org> | 2017-01-18 01:42:50 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-01-18 01:42:50 -0500 |
commit | 4d8da7b15310b08a7e40b8f1bb78372df9df03a7 (patch) | |
tree | c85dc64042568f0ded73f40449f90b1b69ec7291 | |
parent | 70558bbe8060ff2893bfde54365335d27d04a1a6 (diff) | |
download | ntapi-4d8da7b15310b08a7e40b8f1bb78372df9df03a7.tar.bz2 ntapi-4d8da7b15310b08a7e40b8f1bb78372df9df03a7.tar.xz |
ntapi_tt_open_{physical|logical}_parent_directory: added 'reserved' param.
-rw-r--r-- | include/ntapi/nt_file.h | 6 | ||||
-rw-r--r-- | src/fs/ntapi_tt_open_logical_parent_directory.c | 4 | ||||
-rw-r--r-- | src/fs/ntapi_tt_open_physical_parent_directory.c | 5 |
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( |