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}. --- src/internal/ntapi.c | 7 +++++++ src/internal/ntapi_fnapi.h | 7 +++++++ 2 files changed, 14 insertions(+) (limited to 'src/internal') diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c index 1cb7dfa..b1d282d 100644 --- a/src/internal/ntapi.c +++ b/src/internal/ntapi.c @@ -303,10 +303,17 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl) __ntapi->tt_uint32_to_hex_utf16 = __ntapi_tt_uint32_to_hex_utf16; __ntapi->tt_uint64_to_hex_utf16 = __ntapi_tt_uint64_to_hex_utf16; __ntapi->tt_uintptr_to_hex_utf16 = __ntapi_tt_uintptr_to_hex_utf16; + __ntapi->tt_hex_utf16_to_uint16 = __ntapi_tt_hex_utf16_to_uint16; __ntapi->tt_hex_utf16_to_uint32 = __ntapi_tt_hex_utf16_to_uint32; __ntapi->tt_hex_utf16_to_uint64 = __ntapi_tt_hex_utf16_to_uint64; __ntapi->tt_hex_utf16_to_uintptr = __ntapi_tt_hex_utf16_to_uintptr; + + __ntapi->tt_hex_utf8_to_uint16 = __ntapi_tt_hex_utf8_to_uint16; + __ntapi->tt_hex_utf8_to_uint32 = __ntapi_tt_hex_utf8_to_uint32; + __ntapi->tt_hex_utf8_to_uint64 = __ntapi_tt_hex_utf8_to_uint64; + __ntapi->tt_hex_utf8_to_uintptr = __ntapi_tt_hex_utf8_to_uintptr; + __ntapi->tt_init_unicode_string_from_utf16 = __ntapi_tt_init_unicode_string_from_utf16; __ntapi->tt_uint16_to_hex_utf8 = __ntapi_tt_uint16_to_hex_utf8; __ntapi->tt_uint32_to_hex_utf8 = __ntapi_tt_uint32_to_hex_utf8; diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h index 4121883..ca888c4 100644 --- a/src/internal/ntapi_fnapi.h +++ b/src/internal/ntapi_fnapi.h @@ -130,10 +130,17 @@ NTAPI_UFN(tt_uint16_to_hex_utf16); NTAPI_UFN(tt_uint32_to_hex_utf16); NTAPI_UFN(tt_uint64_to_hex_utf16); NTAPI_UFN(tt_uintptr_to_hex_utf16); + NTAPI_UFN(tt_hex_utf16_to_uint16); NTAPI_UFN(tt_hex_utf16_to_uint32); NTAPI_UFN(tt_hex_utf16_to_uint64); NTAPI_UFN(tt_hex_utf16_to_uintptr); + +NTAPI_UFN(tt_hex_utf8_to_uint16); +NTAPI_UFN(tt_hex_utf8_to_uint32); +NTAPI_UFN(tt_hex_utf8_to_uint64); +NTAPI_UFN(tt_hex_utf8_to_uintptr); + NTAPI_UFN(tt_uint16_to_hex_utf8); NTAPI_UFN(tt_uint32_to_hex_utf8); NTAPI_UFN(tt_uint64_to_hex_utf8); -- cgit v1.2.3