mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 17:15:37 +00:00
Remove WIN16 version of WSAOVERLAPPED. Use LPWSAOVERLAPPED_COMPLETION_ROUTINE
This commit is contained in:
parent
370be12652
commit
5d14590ed1
@ -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(
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user