diff options
Diffstat (limited to 'include/ntapi/nt_sync.h')
-rw-r--r-- | include/ntapi/nt_sync.h | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/include/ntapi/nt_sync.h b/include/ntapi/nt_sync.h index 99508dd..38d304b 100644 --- a/include/ntapi/nt_sync.h +++ b/include/ntapi/nt_sync.h @@ -393,14 +393,11 @@ typedef void __stdcall ntapi_tt_sync_block_init( __in void * hsignal __optional); -typedef int32_t __stdcall ntapi_tt_sync_block_lock( - __in nt_sync_block * sync_block, - __in int32_t lock_tries __optional, - __in int64_t lock_wait __optional, - __in uint32_t * sig_flag __optional); +typedef int32_t __stdcall ntapi_tt_sync_block_discard( + __in nt_sync_block * sync_block); -typedef int32_t __stdcall ntapi_tt_sync_block_server_lock( +typedef int32_t __stdcall ntapi_tt_sync_block_lock( __in nt_sync_block * sync_block, __in int32_t lock_tries __optional, __in int64_t lock_wait __optional, @@ -411,16 +408,11 @@ typedef int32_t __stdcall ntapi_tt_sync_block_unlock( __in nt_sync_block * sync_block); -typedef void __stdcall ntapi_tt_sync_block_validate( - __in nt_sync_block * sync_block); - - -typedef int32_t __stdcall ntapi_tt_sync_block_invalidate( - __in nt_sync_block * sync_block); - - -typedef int32_t __stdcall ntapi_tt_sync_block_discard( - __in nt_sync_block * sync_block); +typedef int32_t __stdcall ntapi_tt_sync_block_server_lock( + __in nt_sync_block * sync_block, + __in int32_t lock_tries __optional, + __in int64_t lock_wait __optional, + __in uint32_t * sig_flag __optional); typedef int32_t __stdcall ntapi_tt_wait_for_dummy_event(void); |