summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-03 00:44:25 +0000
committermidipix <writeonce@midipix.org>2018-05-07 01:24:23 -0400
commit0e25b018afe1d358f8734205c2b42e1eb045ccb6 (patch)
tree6dff7fd60b574527e6d6ae6af2be2a063ddb92e6 /include
parent6729c897b1b601679f019acfc3765b6a05ccacfd (diff)
downloadntapi-0e25b018afe1d358f8734205c2b42e1eb045ccb6.tar.bz2
ntapi-0e25b018afe1d358f8734205c2b42e1eb045ccb6.tar.xz
fs interfaces: ntapi_tt_open_volume_by_guid(): initial integration.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_file.h9
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 10 insertions, 0 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h
index 177612b..885a7d8 100644
--- a/include/ntapi/nt_file.h
+++ b/include/ntapi/nt_file.h
@@ -1214,4 +1214,13 @@ typedef int32_t __stdcall ntapi_tt_open_physical_parent_directory(
__in uint32_t open_options,
__out int * reserved);
+typedef int32_t __stdcall ntapi_tt_open_volume_by_guid(
+ __out void ** hfile,
+ __in const nt_guid * guid,
+ __in uint32_t desired_access,
+ __in nt_object_attributes * obj_attr,
+ __out nt_io_status_block * io_status_block,
+ __in uint32_t share_access,
+ __in uint32_t open_options);
+
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 79efeb9..3c2cfd6 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -392,6 +392,7 @@ typedef struct _ntapi_vtbl {
ntapi_tt_get_file_handle_type * tt_get_file_handle_type;
ntapi_tt_open_logical_parent_directory * tt_open_logical_parent_directory;
ntapi_tt_open_physical_parent_directory * tt_open_physical_parent_directory;
+ ntapi_tt_open_volume_by_guid * tt_open_volume_by_guid;
/* nt_ipc.h */
ntapi_ipc_connect_by_attr * ipc_connect_by_attr;