summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-28 15:33:11 -0400
committermidipix <writeonce@midipix.org>2016-06-28 19:41:54 -0400
commit060eadf4e7f81c2d2da4f6c4b2f019186c47ec57 (patch)
tree9e9d639c0782a52e5dd1ecb89854754f97bdbdc5 /include
parentc30ed71d8c5375cd63d413c47f7368e2ead104c4 (diff)
downloadntapi-060eadf4e7f81c2d2da4f6c4b2f019186c47ec57.tar.bz2
ntapi-060eadf4e7f81c2d2da4f6c4b2f019186c47ec57.tar.xz
string functions: added __ntapi_tt_strcmp_utf16().
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_string.h4
-rw-r--r--include/ntapi/ntapi.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h
index a44e287..241bb37 100644
--- a/include/ntapi/nt_string.h
+++ b/include/ntapi/nt_string.h
@@ -47,6 +47,10 @@ typedef int __cdecl ntapi_tt_strcmp_multibyte(
__in const char * a,
__in const char * b);
+typedef int __cdecl ntapi_tt_strcmp_utf16(
+ __in const wchar16_t * a,
+ __in const wchar16_t * b);
+
typedef void __cdecl ntapi_tt_init_unicode_string_from_utf16(
__out nt_unicode_string * str_dest,
__in wchar16_t * str_src);
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 1b618d5..723ee9c 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -401,6 +401,7 @@ typedef struct _ntapi_vtbl {
ntapi_tt_string_null_offset_qword * tt_string_null_offset_qword;
ntapi_tt_string_null_offset_ptrsize * tt_string_null_offset_ptrsize;
ntapi_tt_strcmp_multibyte * tt_strcmp_multibyte;
+ ntapi_tt_strcmp_utf16 * tt_strcmp_utf16;
ntapi_tt_aligned_block_memset * tt_aligned_block_memset;
ntapi_tt_aligned_block_memcpy * tt_aligned_block_memcpy;
ntapi_tt_aligned_memcpy_utf16 * tt_aligned_memcpy_utf16;