mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Merge pull request #5643 from FourteenBrush/patch-2
Add `LPFN_GETACCEPTEXSOCKADDRS` to ws2_32.odin
This commit is contained in:
@@ -82,6 +82,17 @@ Example Load:
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
LPFN_GETACCEPTEXSOCKADDRS :: #type proc "system" (
|
||||||
|
lpOutputBuffer: PVOID,
|
||||||
|
dwReceiveDataLength: DWORD,
|
||||||
|
dwLocalAddressLength: DWORD,
|
||||||
|
dwRemoteAddressLength: DWORD,
|
||||||
|
LocalSockaddr: ^^sockaddr,
|
||||||
|
LocalSockaddrLength: LPINT,
|
||||||
|
RemoteSockaddr: ^^sockaddr,
|
||||||
|
RemoteSockaddrLength: LPINT,
|
||||||
|
)
|
||||||
|
|
||||||
foreign import ws2_32 "system:Ws2_32.lib"
|
foreign import ws2_32 "system:Ws2_32.lib"
|
||||||
@(default_calling_convention="system")
|
@(default_calling_convention="system")
|
||||||
foreign ws2_32 {
|
foreign ws2_32 {
|
||||||
|
|||||||
Reference in New Issue
Block a user