From 5d0788a673cce9069a216768c03aa606d417389d Mon Sep 17 00:00:00 2001 From: midipix Date: Aug 18 2016 15:17:21 +0000 Subject: nt_file.h: fix signatures of zw_lock_file() and zw_unlock_file(). --- diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h index e14c0d0..d676bf5 100644 --- a/include/ntapi/nt_file.h +++ b/include/ntapi/nt_file.h @@ -1015,7 +1015,7 @@ typedef int32_t __stdcall ntapi_zw_lock_file( __out nt_io_status_block * io_status_block, __in nt_large_integer * lock_offset, __in nt_large_integer * lock_length, - __in uint32_t * key, + __in uint32_t key, __in unsigned char fail_immediately, __in unsigned char exclusive_lock); @@ -1025,7 +1025,7 @@ typedef int32_t __stdcall ntapi_zw_unlock_file( __out nt_io_status_block * io_status_block, __in nt_large_integer * lock_offset, __in nt_large_integer * lock_length, - __in uint32_t * key); + __in uint32_t key); typedef int32_t __stdcall ntapi_zw_device_io_control_file(