summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/ntapi/nt_ldr.h2
-rw-r--r--src/ldr/ntapi_ldr_load_system_dll.c2
2 files changed, 2 insertions, 2 deletions
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);
diff --git a/src/ldr/ntapi_ldr_load_system_dll.c b/src/ldr/ntapi_ldr_load_system_dll.c
index 306d8e9..0e401a1 100644
--- a/src/ldr/ntapi_ldr_load_system_dll.c
+++ b/src/ldr/ntapi_ldr_load_system_dll.c
@@ -12,7 +12,7 @@
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)
{