diff options
Diffstat (limited to '')
-rw-r--r-- | third_party/rust/winapi-0.2.8/src/synchapi.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/rust/winapi-0.2.8/src/synchapi.rs b/third_party/rust/winapi-0.2.8/src/synchapi.rs new file mode 100644 index 0000000000..2eb9d1af25 --- /dev/null +++ b/third_party/rust/winapi-0.2.8/src/synchapi.rs @@ -0,0 +1,14 @@ +// Copyright © 2015, Peter Atashian +// Licensed under the MIT License <LICENSE.md> +//! ApiSet Contract for api-ms-win-core-synch-l1 +pub type SRWLOCK = ::RTL_SRWLOCK; +pub type PSRWLOCK = *mut ::RTL_SRWLOCK; +pub type SYNCHRONIZATION_BARRIER = ::RTL_BARRIER; +pub type PSYNCHRONIZATION_BARRIER = ::PRTL_BARRIER; +pub type LPSYNCHRONIZATION_BARRIER = ::PRTL_BARRIER; +pub type PINIT_ONCE_FN = Option<unsafe extern "system" fn( + InitOnce: ::PINIT_ONCE, Parameter: ::PVOID, Context: *mut ::PVOID, +) -> ::BOOL>; +pub type PTIMERAPCROUTINE = Option<unsafe extern "system" fn( + lpArgToCompletionRoutine: ::LPVOID, dwTimerLowValue: ::DWORD, dwTimerHighValue: ::DWORD, +)>; |