summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-06-15 10:58:51 +0000
committermidipix <writeonce@midipix.org>2018-06-15 10:38:10 -0400
commit23d9540acc907b876ea1278a1113828438832ae9 (patch)
treeea950973b1c89f9f85f047980ae7d55f7df77753 /src/internal
parent8ca63f397a2b4c08806de38202e443f868e6b08d (diff)
downloadntapi-23d9540acc907b876ea1278a1113828438832ae9.tar.bz2
ntapi-23d9540acc907b876ea1278a1113828438832ae9.tar.xz
string helper api's: added ntapi_tt_dec_utf16_to_uint{16|32|64|ptr}().
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/ntapi.c4
-rw-r--r--src/internal/ntapi_fnapi.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/internal/ntapi.c b/src/internal/ntapi.c
index 78075b6..f29fa69 100644
--- a/src/internal/ntapi.c
+++ b/src/internal/ntapi.c
@@ -276,6 +276,10 @@ static int32_t __fastcall __ntapi_init_once(ntapi_vtbl ** pvtbl)
__ntapi->tt_uintptr_to_dec_utf8 = __ntapi_tt_uintptr_to_dec_utf8;
__ntapi->tt_uintptr_to_dec_null_utf16 = __ntapi_tt_uintptr_to_dec_null_utf16;
__ntapi->tt_uintptr_to_dec_null_utf8 = __ntapi_tt_uintptr_to_dec_null_utf8;
+ __ntapi->tt_dec_utf16_to_uint16 = __ntapi_tt_dec_utf16_to_uint16;
+ __ntapi->tt_dec_utf16_to_uint32 = __ntapi_tt_dec_utf16_to_uint32;
+ __ntapi->tt_dec_utf16_to_uint64 = __ntapi_tt_dec_utf16_to_uint64;
+ __ntapi->tt_dec_utf16_to_uintptr = __ntapi_tt_dec_utf16_to_uintptr;
/* nt_guid.h */
__ntapi->tt_guid_copy = __ntapi_tt_guid_copy;
diff --git a/src/internal/ntapi_fnapi.h b/src/internal/ntapi_fnapi.h
index 5cea58f..37237de 100644
--- a/src/internal/ntapi_fnapi.h
+++ b/src/internal/ntapi_fnapi.h
@@ -138,6 +138,10 @@ ntapi_tt_uintptr_to_dec_utf16 __ntapi_tt_uintptr_to_dec_utf16;
ntapi_tt_uintptr_to_dec_utf8 __ntapi_tt_uintptr_to_dec_utf8;
ntapi_tt_uintptr_to_dec_null_utf16 __ntapi_tt_uintptr_to_dec_null_utf16;
ntapi_tt_uintptr_to_dec_null_utf8 __ntapi_tt_uintptr_to_dec_null_utf8;
+ntapi_tt_dec_utf16_to_uint16 __ntapi_tt_dec_utf16_to_uint16;
+ntapi_tt_dec_utf16_to_uint32 __ntapi_tt_dec_utf16_to_uint32;
+ntapi_tt_dec_utf16_to_uint64 __ntapi_tt_dec_utf16_to_uint64;
+ntapi_tt_dec_utf16_to_uintptr __ntapi_tt_dec_utf16_to_uintptr;
ntapi_wcslen __ntapi_tt_wcslen;
/* nt_guid.h */