From a2ea1bdf70166f887457b5462332d2df4f6f54c5 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 28 Jun 2016 15:42:54 -0400 Subject: string functions: added __ntapi_tt_strncmp_utf16(). --- include/ntapi/nt_string.h | 5 +++++ include/ntapi/ntapi.h | 1 + 2 files changed, 6 insertions(+) (limited to 'include') diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index d5ad05d..fd9b312 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -56,6 +56,11 @@ typedef int __cdecl ntapi_tt_strncmp_multibyte( __in const char * b, __in size_t n); +typedef int __cdecl ntapi_tt_strncmp_utf16( + __in const wchar16_t * a, + __in const wchar16_t * b, + __in size_t n); + 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 770b9d6..a413e4e 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -403,6 +403,7 @@ typedef struct _ntapi_vtbl { ntapi_tt_strcmp_multibyte * tt_strcmp_multibyte; ntapi_tt_strcmp_utf16 * tt_strcmp_utf16; ntapi_tt_strncmp_multibyte * tt_strncmp_multibyte; + ntapi_tt_strncmp_utf16 * tt_strncmp_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; -- cgit v1.2.3