summaryrefslogtreecommitdiffhomepage
path: root/include/ntapi/nt_sync.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-08-12 09:25:18 -0400
committermidipix <writeonce@midipix.org>2016-08-12 09:41:53 -0400
commitbbc71faf95a515f6e66ac12ed654d51a4d488782 (patch)
tree419657ecde29db764c7e2c9f633b086b315c8be6 /include/ntapi/nt_sync.h
parent563a1e17dcddd5b622d07d431a36e74b241993e1 (diff)
downloadntapi-bbc71faf95a515f6e66ac12ed654d51a4d488782.tar.bz2
ntapi-bbc71faf95a515f6e66ac12ed654d51a4d488782.tar.xz
sync block: remove validate/invalidate api, fix lock_tries logic, tidy up.
Diffstat (limited to 'include/ntapi/nt_sync.h')
-rw-r--r--include/ntapi/nt_sync.h24
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);