From a413881baa6fe317b2e33fc611460a4576bf9d66 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 7 Jun 2020 18:40:10 +0000 Subject: string functions: added ntapi_tt_hex_utf8_to_uint{16|32|64|ptr}. --- include/ntapi/nt_string.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include/ntapi/nt_string.h') diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index f85887d..6650d60 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -157,6 +157,24 @@ typedef int32_t __fastcall ntapi_tt_hex_utf16_to_uintptr( __in const wchar16_t hex_key_utf16[], __out uintptr_t * key); +typedef int32_t __fastcall ntapi_tt_hex_utf8_to_uint16( + __in const unsigned char hex_key_utf16[4], + __out uint16_t * key); + + +typedef int32_t __fastcall ntapi_tt_hex_utf8_to_uint32( + __in const unsigned char hex_key_utf16[8], + __out uint32_t * key); + + +typedef int32_t __fastcall ntapi_tt_hex_utf8_to_uint64( + __in const unsigned char hex_key_utf16[16], + __out uint64_t * key); + + +typedef int32_t __fastcall ntapi_tt_hex_utf8_to_uintptr( + __in const unsigned char hex_key_utf16[], + __out uintptr_t * key); typedef void __fastcall ntapi_tt_uint16_to_hex_utf8( __in const uint32_t key, -- cgit v1.2.3