diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2026-01-05 11:48:19 +0000 |
|---|---|---|
| committer | gingerBill <gingerBill@users.noreply.github.com> | 2026-01-05 11:48:19 +0000 |
| commit | 393fec2f668ce2c1c7f2e885ab3e479d34e1e896 (patch) | |
| tree | 05ba70139474b49162bcc074d8203087f15be609 | |
| parent | 5fae3527c14bb7e37812c129a2850212407c36e2 (diff) | |
Move `WSAEVENT` to types.odindev-2026-01
| -rw-r--r-- | core/sys/windows/types.odin | 2 | ||||
| -rw-r--r-- | core/sys/windows/ws2_32.odin | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/core/sys/windows/types.odin b/core/sys/windows/types.odin index b43268c1e..e1a14fb94 100644 --- a/core/sys/windows/types.odin +++ b/core/sys/windows/types.odin @@ -151,6 +151,8 @@ LPCOLESTR :: LPCSTR LPFILETIME :: ^FILETIME LPWSABUF :: ^WSABUF +WSAEVENT :: HANDLE + WSAOVERLAPPED :: struct { Internal: DWORD, InternalHigh: DWORD, diff --git a/core/sys/windows/ws2_32.odin b/core/sys/windows/ws2_32.odin index 2c8dbe3b0..ad9089c6e 100644 --- a/core/sys/windows/ws2_32.odin +++ b/core/sys/windows/ws2_32.odin @@ -35,7 +35,6 @@ WSANETWORKEVENTS :: struct { iErrorCode: [FD_MAX_EVENTS]c_int, } -WSAEVENT :: HANDLE WSAID_ACCEPTEX :: GUID{0xb5367df1, 0xcbac, 0x11cf, {0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}} WSAID_GETACCEPTEXSOCKADDRS :: GUID{0xb5367df2, 0xcbac, 0x11cf, {0x95, 0xca, 0x00, 0x80, 0x5f, 0x48, 0xa1, 0x92}} |