You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[dependencies.windows-sys]
version = "0.59.0"features = ["Win32_Networking_WinSock"]
Crate code
use windows_sys::Win32::Networking::WinSock;unsafe{let event = WinSock::WSACreateEvent();WinSock::WSASetEvent(event);// compilation error due to mismatching types}
The text was updated successfully, but these errors were encountered:
Summary
Functions
WSASetEvent
andWSAResetEvent
are defined in windows-sys as:However, in their original C definitions they take a
WSAEVENT
instead of aHANDLE
:Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: