summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-08-14 23:14:40 (GMT)
committermidipix <writeonce@midipix.org>2018-08-14 23:14:40 (GMT)
commit4e35a4441b6070bdb8ea5d4bdd9129b097091c9a (patch)
tree2be76c6bdb5903d3d2e800c99d4f5bafab917190
parent5a17e11dd94c277eaa92498e80ab618c1642c166 (diff)
downloadntapi-4e35a4441b.tar.bz2
ntapi-4e35a4441b.tar.xz
nt_file.h: async i/o function signatures: qualify nt_iosb as volatile.
-rw-r--r--include/ntapi/nt_file.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/ntapi/nt_file.h b/include/ntapi/nt_file.h
index 885a7d8..cb27bdf 100644
--- a/include/ntapi/nt_file.h
+++ b/include/ntapi/nt_file.h
@@ -964,7 +964,7 @@ typedef int32_t __stdcall ntapi_zw_read_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__out void * buffer,
__in uint32_t bytes_to_read,
__in nt_large_integer * byte_offset __optional,
@@ -976,7 +976,7 @@ typedef int32_t __stdcall ntapi_zw_write_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in void * buffer,
__in uint32_t bytes_sent,
__in nt_large_integer * byte_offset __optional,
@@ -988,7 +988,7 @@ typedef int32_t __stdcall ntapi_zw_read_file_scatter(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in nt_file_segment_element * buffer,
__in uint32_t bytes_to_read,
__in nt_large_integer * byte_offset __optional,
@@ -1000,7 +1000,7 @@ typedef int32_t __stdcall ntapi_zw_write_file_gather(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in nt_file_segment_element * buffer,
__in uint32_t bytes_to_read,
__in nt_large_integer * byte_offset __optional,
@@ -1012,7 +1012,7 @@ typedef int32_t __stdcall ntapi_zw_lock_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in nt_large_integer * lock_offset,
__in nt_large_integer * lock_length,
__in uint32_t key,
@@ -1033,7 +1033,7 @@ typedef int32_t __stdcall ntapi_zw_device_io_control_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in uint32_t io_control_code,
__in void * input_buffer __optional,
__in uint32_t input_buffer_length,
@@ -1046,7 +1046,7 @@ typedef int32_t __stdcall ntapi_zw_fs_control_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__in uint32_t fs_control_code,
__in void * input_buffer __optional,
__in uint32_t input_buffer_length,
@@ -1059,7 +1059,7 @@ typedef int32_t __stdcall ntapi_zw_notify_change_directory_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__out nt_file_notify_information * buffer,
__in uint32_t buffer_length,
__in uint32_t notify_filter,
@@ -1163,7 +1163,7 @@ typedef int32_t __stdcall ntapi_zw_query_directory_file(
__in void * hevent __optional,
__in nt_io_apc_routine * apc_routine __optional,
__in void * apc_context __optional,
- __out nt_io_status_block * io_status_block,
+ __out nt_iosb volatile * io_status_block,
__out void * file_info,
__in uint32_t file_info_length,
__in nt_file_info_class file_info_class,