From d5e229619fb0d57da8ae79ea61b9ae72ed60216d Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 13 Jun 2018 13:06:05 +0000 Subject: keyed object directory: use a simplified naming scheme. --- include/ntapi/nt_object.h | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'include') diff --git a/include/ntapi/nt_object.h b/include/ntapi/nt_object.h index 63a3a54..a39974a 100644 --- a/include/ntapi/nt_object.h +++ b/include/ntapi/nt_object.h @@ -402,36 +402,15 @@ typedef struct _nt_directory_basic_information { } nt_directory_basic_information; -typedef struct _nt_ipc_object_directory_guid { - wchar16_t uscore_guid; - wchar16_t pgrp_guid[36]; -} nt_ipc_object_directory_guid, nt_ipc_objdir_guid; - - typedef struct _nt_ipc_object_directory_name { wchar16_t base_named_objects[17]; wchar16_t backslash; wchar16_t prefix[6]; - nt_ipc_objdir_guid objdir_guid; + wchar16_t uscore; + wchar16_t guid[36]; } nt_ipc_object_directory_name, nt_ipc_objdir_name; -typedef struct _nt_keyed_object_directory_guid { - wchar16_t uscore_guid; - wchar16_t pgrp_guid[36]; - wchar16_t uscore_key; -} nt_keyed_object_directory_guid, nt_keyed_objdir_guid; - - -typedef struct _nt_keyed_object_directory_name { - wchar16_t base_named_objects[17]; - wchar16_t backslash; - wchar16_t prefix[6]; - nt_keyed_objdir_guid objdir_guid; - wchar16_t key[8]; -} nt_keyed_object_directory_name, nt_keyed_objdir_name; - - typedef void __stdcall nt_io_apc_routine( void * apc_context, nt_io_status_block * io_status_block, @@ -559,15 +538,13 @@ typedef int32_t __stdcall ntapi_tt_create_dev_object_directory_entry( typedef int32_t __stdcall ntapi_tt_create_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, - __in const wchar16_t prefix[6], - __in const nt_guid * guid, + __in void * hparent, __in uint32_t key); typedef int32_t __stdcall ntapi_tt_open_keyed_object_directory( __out void ** hdir, __in uint32_t desired_access, - __in const wchar16_t prefix[6], - __in const nt_guid * guid, + __in void * hparent, __in uint32_t key); typedef int32_t __stdcall ntapi_tt_create_keyed_object_directory_entry( -- cgit v1.2.3