diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_guid.h | 19 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/ntapi/nt_guid.h b/include/ntapi/nt_guid.h index d688985..bae1468 100644 --- a/include/ntapi/nt_guid.h +++ b/include/ntapi/nt_guid.h @@ -18,6 +18,21 @@ typedef struct _nt_guid_str_utf16 { wchar16_t rbrace; } nt_guid_str_utf16, nt_uuid_str_utf16; +typedef struct _nt_guid_str_utf8 { + uint8_t lbrace; + uint8_t group1[8]; + uint8_t dash1; + uint8_t group2[4]; + uint8_t dash2; + uint8_t group3[4]; + uint8_t dash3; + uint8_t group4[4]; + uint8_t dash4; + uint8_t group5[12]; + uint8_t rbrace; + uint8_t null; +} nt_guid_str_utf8, nt_uuid_str_utf8; + typedef void __fastcall ntapi_tt_guid_copy( __out nt_guid * pguid_dst, __in const nt_guid * pguid_src); @@ -34,6 +49,10 @@ typedef int32_t __fastcall ntapi_tt_string_to_guid_utf16( __in const nt_guid_str_utf16 * guid_str, __out nt_guid * guid); +typedef void __fastcall ntapi_tt_guid_to_string_utf8( + __in const nt_guid * guid, + __out nt_guid_str_utf8 * guid_str); + typedef int32_t __fastcall ntapi_tt_string_to_guid_utf8( __in const char * guid_str, __out nt_guid * guid); diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index 71d8ffb..9fcb896 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -509,6 +509,7 @@ typedef struct _ntapi_vtbl { ntapi_tt_guid_compare * tt_guid_compare; ntapi_tt_guid_to_string_utf16 * tt_guid_to_string_utf16; ntapi_tt_string_to_guid_utf16 * tt_string_to_guid_utf16; + ntapi_tt_guid_to_string_utf8 * tt_guid_to_string_utf8; ntapi_tt_string_to_guid_utf8 * tt_string_to_guid_utf8; /* nt_sysinfo.h */ |