windows_future/
bindings_impl.rs

1windows_link::link!("kernel32.dll" "system" fn CloseHandle(hobject : HANDLE) -> BOOL);
2windows_link::link!("kernel32.dll" "system" fn CreateEventW(lpeventattributes : *const SECURITY_ATTRIBUTES, bmanualreset : BOOL, binitialstate : BOOL, lpname : PCWSTR) -> HANDLE);
3windows_link::link!("kernel32.dll" "system" fn SetEvent(hevent : HANDLE) -> BOOL);
4windows_link::link!("kernel32.dll" "system" fn WaitForSingleObject(hhandle : HANDLE, dwmilliseconds : u32) -> WAIT_EVENT);
5pub type BOOL = i32;
6pub type HANDLE = *mut core::ffi::c_void;
7pub type PCWSTR = *const u16;
8#[repr(C)]
9#[derive(Clone, Copy)]
10pub struct SECURITY_ATTRIBUTES {
11    pub nLength: u32,
12    pub lpSecurityDescriptor: *mut core::ffi::c_void,
13    pub bInheritHandle: BOOL,
14}
15pub type WAIT_EVENT = u32;