diff options
author | midipix <writeonce@midipix.org> | 2018-06-15 10:58:51 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-06-15 10:38:10 -0400 |
commit | 23d9540acc907b876ea1278a1113828438832ae9 (patch) | |
tree | ea950973b1c89f9f85f047980ae7d55f7df77753 /include/ntapi/nt_string.h | |
parent | 8ca63f397a2b4c08806de38202e443f868e6b08d (diff) | |
download | ntapi-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/ntapi/nt_string.h')
-rw-r--r-- | include/ntapi/nt_string.h | 20 |
1 files changed, 20 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 |