From ee679ad54e06fcb6f6385abd697c89de635139f7 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 14 Dec 2016 05:33:13 +0000 Subject: __ntapi_ldr_load_system_dll(): have size match strlen in nt_unicode_string. --- include/ntapi/nt_ldr.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ntapi/nt_ldr.h') diff --git a/include/ntapi/nt_ldr.h b/include/ntapi/nt_ldr.h index b438b34..0c15472 100644 --- a/include/ntapi/nt_ldr.h +++ b/include/ntapi/nt_ldr.h @@ -20,7 +20,7 @@ typedef int32_t __stdcall ntapi_ldr_unload_dll( typedef int32_t __stdcall ntapi_ldr_load_system_dll( __in void * hsysdir __optional, __in wchar16_t * base_name, - __in uint32_t base_name_size, + __in uint16_t base_name_size, __in uint32_t * image_flags __optional, __out void ** image_base); -- cgit v1.2.3