diff options
author | midipix <writeonce@midipix.org> | 2020-06-07 18:40:10 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2020-06-08 10:40:55 +0000 |
commit | a413881baa6fe317b2e33fc611460a4576bf9d66 (patch) | |
tree | 28e06920b5c39b82f05b0e24010e44935b07b37e /src/internal | |
parent | 5d7f04b12d74098966e9cf47e9ded29ec8b74ceb (diff) | |
download | ntapi-a413881baa6fe317b2e33fc611460a4576bf9d66.tar.bz2 ntapi-a413881baa6fe317b2e33fc611460a4576bf9d66.tar.xz |
string functions: added ntapi_tt_hex_utf8_to_uint{16|32|64|ptr}.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/ntapi.c | 7 | ||||
-rw-r--r-- | src/internal/ntapi_fnapi.h | 7 |
2 files changed, 14 insertions, 0 deletions
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); |