summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-08-18 11:17:21 -0400
committermidipix <writeonce@midipix.org>2016-08-18 11:17:21 -0400
commit5d0788a673cce9069a216768c03aa606d417389d (patch)
tree2a936472cf7e2fbf58642b9ab8671bfc99f0e7ad
parentd74580afea18a228f2d6b2f26ededff2b0d013ac (diff)
downloadntapi-5d0788a673cce9069a216768c03aa606d417389d.tar.bz2
ntapi-5d0788a673cce9069a216768c03aa606d417389d.tar.xz
nt_file.h: fix signatures of zw_lock_file() and zw_unlock_file().
-rw-r--r--include/ntapi/nt_file.h4
1 files changed, 2 insertions, 2 deletions
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(