summaryrefslogtreecommitdiffhomepage
path: root/include
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 /include
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 'include')
-rw-r--r--include/ntapi/nt_string.h20
-rw-r--r--include/ntapi/ntapi.h4
2 files changed, 24 insertions, 0 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h
index b24de3d..f85887d 100644
--- a/include/ntapi/nt_string.h
+++ b/include/ntapi/nt_string.h
@@ -205,4 +205,24 @@ typedef int32_t __stdcall ntapi_tt_uintptr_to_dec_null_utf8(
__in size_t buflen,
__out ssize_t * length);
+typedef int32_t __stdcall ntapi_tt_dec_utf16_to_uint16(
+ __in const wchar16_t * wch_arg,
+ __in const wchar16_t * wch_cap,
+ __out uint16_t * key);
+
+typedef int32_t __stdcall ntapi_tt_dec_utf16_to_uint32(
+ __in const wchar16_t * wch_arg,
+ __in const wchar16_t * wch_cap,
+ __out uint32_t * key);
+
+typedef int32_t __stdcall ntapi_tt_dec_utf16_to_uint64(
+ __in const wchar16_t * wch_arg,
+ __in const wchar16_t * wch_cap,
+ __out uint64_t * key);
+
+typedef int32_t __stdcall ntapi_tt_dec_utf16_to_uintptr(
+ __in const wchar16_t * wch_arg,
+ __in const wchar16_t * wch_cap,
+ __out uintptr_t * key);
+
#endif
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 2f073aa..a78d8f1 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -480,6 +480,10 @@ typedef struct _ntapi_vtbl {
ntapi_tt_uintptr_to_dec_utf8 * tt_uintptr_to_dec_utf8;
ntapi_tt_uintptr_to_dec_null_utf16 * tt_uintptr_to_dec_null_utf16;
ntapi_tt_uintptr_to_dec_null_utf8 * tt_uintptr_to_dec_null_utf8;
+ ntapi_tt_dec_utf16_to_uint16 * tt_dec_utf16_to_uint16;
+ ntapi_tt_dec_utf16_to_uint32 * tt_dec_utf16_to_uint32;
+ ntapi_tt_dec_utf16_to_uint64 * tt_dec_utf16_to_uint64;
+ ntapi_tt_dec_utf16_to_uintptr * tt_dec_utf16_to_uintptr;
ntapi_tt_init_unicode_string_from_utf16* tt_init_unicode_string_from_utf16;
/* nt_guid.h */