diff options
author | midipix <writeonce@midipix.org> | 2018-05-15 19:05:43 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-05-15 18:40:05 -0400 |
commit | e29bcec693268225f9e66aaa13d1e3a54f55c18f (patch) | |
tree | 1a1a5bfaf6b4bd9caa8919dc8dafc3214d47dad2 /include | |
parent | ad58de287d1c25c8bc143803b978c4bc5b0955f2 (diff) | |
download | ntapi-e29bcec693268225f9e66aaa13d1e3a54f55c18f.tar.bz2 ntapi-e29bcec693268225f9e66aaa13d1e3a54f55c18f.tar.xz |
string interfaces: __ntapi_tt_aligned_block_memlock(): initial integration.
Diffstat (limited to 'include')
-rw-r--r-- | include/ntapi/nt_string.h | 4 | ||||
-rw-r--r-- | include/ntapi/ntapi.h | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h index 4fddf8f..059a7ee 100644 --- a/include/ntapi/nt_string.h +++ b/include/ntapi/nt_string.h @@ -9,7 +9,6 @@ typedef void * __cdecl ntapi_memset( int c, size_t count); - typedef int __cdecl ntapi_sprintf( char * buffer, const char * format, @@ -93,6 +92,9 @@ typedef uintptr_t * __cdecl ntapi_tt_aligned_block_memcpy( __in const uintptr_t * src, __in size_t bytes); +typedef void * __cdecl ntapi_tt_aligned_block_memlock( + __in void * block, + __in size_t bytes); typedef wchar16_t * __cdecl ntapi_tt_memcpy_utf16( __in wchar16_t * dst, diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h index c04d10a..8de63d3 100644 --- a/include/ntapi/ntapi.h +++ b/include/ntapi/ntapi.h @@ -458,6 +458,7 @@ typedef struct _ntapi_vtbl { 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_block_memlock * tt_aligned_block_memlock; ntapi_tt_aligned_memcpy_utf16 * tt_aligned_memcpy_utf16; ntapi_tt_memcpy_utf16 * tt_memcpy_utf16; ntapi_tt_generic_memset * tt_generic_memset; |