Fix Windows 7

This commit is contained in:
Chris Denton 2024-07-15 06:14:53 +00:00
parent ffe8fc276e
commit 816d90ae5f
No known key found for this signature in database
GPG Key ID: 713472F2F45627DE

View File

@ -390,18 +390,18 @@ compat_fn_with_fallback! {
#[cfg(target_vendor = "win7")]
pub fn NtReleaseKeyedEvent(
EventHandle: HANDLE,
Key: *mut c_void,
Key: *const c_void,
Alertable: BOOLEAN,
Timeout: *mut c_longlong
Timeout: *mut i64
) -> NTSTATUS {
panic!("keyed events not available")
}
#[cfg(target_vendor = "win7")]
pub fn NtWaitForKeyedEvent(
EventHandle: HANDLE,
Key: *mut c_void,
Key: *const c_void,
Alertable: BOOLEAN,
Timeout: *mut c_longlong
Timeout: *mut i64
) -> NTSTATUS {
panic!("keyed events not available")
}