Remove WIN16 version of WSAOVERLAPPED. Use LPWSAOVERLAPPED_COMPLETION_ROUTINE

This commit is contained in:
Travis Martin 2021-09-10 11:35:16 -07:00 committed by Andrew Kelley
parent 370be12652
commit 5d14590ed1
2 changed files with 2 additions and 10 deletions

View File

@ -1421,8 +1421,8 @@ pub fn WSAIoctl(
dwIoControlCode: DWORD,
inBuffer: ?[]const u8,
outBuffer: []u8,
overlapped: ?*ws2_32.WSAOVERLAPPED,
completionRoutine: ?ws2_32.WSAOVERLAPPED_COMPLETION_ROUTINE,
overlapped: ?*OVERLAPPED,
completionRoutine: ?ws2_32.LPWSAOVERLAPPED_COMPLETION_ROUTINE,
) !DWORD {
var bytes: DWORD = undefined;
switch (ws2_32.WSAIoctl(

View File

@ -1074,14 +1074,6 @@ pub const WSANETWORKEVENTS = extern struct {
iErrorCode: [10]i32,
};
pub const WSAOVERLAPPED = extern struct {
Internal: DWORD,
InternalHigh: DWORD,
Offset: DWORD,
OffsetHigh: DWORD,
hEvent: ?WSAEVENT,
};
pub const addrinfo = addrinfoa;
pub const addrinfoa = extern struct {