summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-02 22:28:04 +0000
committermidipix <writeonce@midipix.org>2018-05-07 01:24:16 -0400
commit6729c897b1b601679f019acfc3765b6a05ccacfd (patch)
treeddc716acb1d84873f2a3ec868f13db036b160557 /include
parent32ec331902bc3f278c10257a129f2620ae7d30b0 (diff)
downloadntapi-6729c897b1b601679f019acfc3765b6a05ccacfd.tar.bz2
ntapi-6729c897b1b601679f019acfc3765b6a05ccacfd.tar.xz
object directory interfaces: integrated device- and node-related interfaces.
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_object.h14
-rw-r--r--include/ntapi/ntapi.h2
2 files changed, 16 insertions, 0 deletions
diff --git a/include/ntapi/nt_object.h b/include/ntapi/nt_object.h
index c89467e..63a3a54 100644
--- a/include/ntapi/nt_object.h
+++ b/include/ntapi/nt_object.h
@@ -542,6 +542,20 @@ typedef int32_t __stdcall ntapi_tt_create_ipc_object_directory_entry(
__in nt_unicode_string * target_name,
__in uint32_t key);
+typedef int32_t __stdcall ntapi_tt_open_dev_object_directory(
+ __out void ** hdir,
+ __in uint32_t desired_access,
+ __in const wchar16_t prefix[6],
+ __in const nt_guid * ipc_guid);
+
+typedef int32_t __stdcall ntapi_tt_create_dev_object_directory_entry(
+ __out void ** hentry,
+ __in uint32_t desired_access,
+ __in void * hdir,
+ __in void * htarget,
+ __in nt_unicode_string * target_name,
+ __in const nt_guid * dev_guid);
+
typedef int32_t __stdcall ntapi_tt_create_keyed_object_directory(
__out void ** hdir,
__in uint32_t desired_access,
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index a4c4b66..79efeb9 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -370,6 +370,8 @@ typedef struct _ntapi_vtbl {
/* nt_object.h */
ntapi_tt_open_ipc_object_directory * tt_open_ipc_object_directory;
ntapi_tt_create_ipc_object_directory_entry * tt_create_ipc_object_directory_entry;
+ ntapi_tt_open_dev_object_directory * tt_open_dev_object_directory;
+ ntapi_tt_create_dev_object_directory_entry * tt_create_dev_object_directory_entry;
ntapi_tt_create_keyed_object_directory * tt_create_keyed_object_directory;
ntapi_tt_open_keyed_object_directory * tt_open_keyed_object_directory;
ntapi_tt_create_keyed_object_directory_entry * tt_create_keyed_object_directory_entry;