[*] Let UWP access winsock
This commit is contained in:
parent
9f5c0e559c
commit
074d37c073
@ -493,7 +493,31 @@ namespace Aurora
|
|||||||
// "This topic lists the Win32 APIs that are part of the Universal Windows Platform (UWP) and that are implemented by all Windows 10 devices."
|
// "This topic lists the Win32 APIs that are part of the Universal Windows Platform (UWP) and that are implemented by all Windows 10 devices."
|
||||||
// UnmapViewOfFile2 -> Introduced into api-ms-win-core-memory-l1-1-5.dll in 10.0.17134.
|
// UnmapViewOfFile2 -> Introduced into api-ms-win-core-memory-l1-1-5.dll in 10.0.17134.
|
||||||
|
|
||||||
pNtDelayExecution = nullptr /* ... (you dont need it, but it'll help a ton) */;
|
pNtDelayExecution = nullptr /* ... (you dont need it, but it'll help a ton for SleepNs) */;
|
||||||
|
|
||||||
|
pGetAddrInfoExW = GetAddrInfoExW;
|
||||||
|
pGetAddrInfoExCancel = GetAddrInfoExCancel;
|
||||||
|
pFreeAddrInfoExW = FreeAddrInfoExW;
|
||||||
|
pgetaddrinfo = getaddrinfo;
|
||||||
|
pfreeaddrinfo = freeaddrinfo;
|
||||||
|
plisten = listen;
|
||||||
|
pbind = bind;
|
||||||
|
pclosesocket = closesocket;
|
||||||
|
pshutdown = shutdown;
|
||||||
|
pgetpeername = getpeername;
|
||||||
|
pgetsockname = getsockname;
|
||||||
|
pioctlsocket = ioctlsocket;
|
||||||
|
psetsockopt = setsockopt;
|
||||||
|
pWSAStartup = WSAStartup;
|
||||||
|
pWSAIoctl = WSAIoctl;
|
||||||
|
pWSAGetLastError = WSAGetLastError;
|
||||||
|
pWSASocketW = WSASocketW;
|
||||||
|
pWSARecvFrom = WSARecvFrom;
|
||||||
|
pWSARecv = WSARecv;
|
||||||
|
pWSASendTo = WSASendTo;
|
||||||
|
pWSASend = WSASend;
|
||||||
|
pWSAStringToAddressA = WSAStringToAddressA;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
gUseNativeWaitMutex = (pWaitOnAddress &&
|
gUseNativeWaitMutex = (pWaitOnAddress &&
|
||||||
|
Loading…
Reference in New Issue
Block a user