summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
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;