Skip to content

Commit

Permalink
Note issue for adding SIO_* constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Shadle authored and Thomasdezeeuw committed Mar 31, 2022
1 parent 75c5760 commit fc2080c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sys/windows/selector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,9 @@ cfg_io_source! {

use windows_sys::Win32::Networking::WinSock::{WSAGetLastError, SOCKET_ERROR, WSAIoctl, IOC_OUT, IOC_WS2};

// These constants were part of winapi but are not yet in windows-sys
//
// https://github.com/microsoft/win32metadata/issues/844
const SIO_BSP_HANDLE: u32 = IOC_OUT | IOC_WS2 | 27; // 1_207_959_579u32
const SIO_BSP_HANDLE_SELECT: u32 = IOC_OUT | IOC_WS2 | 28; // 1_207_959_580u32
const SIO_BSP_HANDLE_POLL: u32 = IOC_OUT | IOC_WS2 | 29; // 1_207_959_581u32
Expand Down

0 comments on commit fc2080c

Please sign in to comment.