  ; ===========================================
  ; ws2_32.inc copyright MASM32 1998 - 2005
  ; ===========================================

IFNDEF WS2_32_INC
WS2_32_INC equ <1>

FreeAddrInfoW PROTO :DWORD
GetAddrInfoW PROTO :DWORD,:DWORD,:DWORD,:DWORD
GetNameInfoW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WEP PROTO 
WPUCompleteOverlappedRequest PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAccept PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAddressToStringA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAddressToString equ <WSAAddressToStringA>

WSAAddressToStringW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetHostByAddr PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetHostByName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetProtoByName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetProtoByNumber PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetServByName PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncGetServByPort PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAAsyncSelect PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSACancelAsyncRequest PROTO :DWORD
WSACancelBlockingCall PROTO 
WSACleanup PROTO 
WSACloseEvent PROTO :DWORD
WSAConnect PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSACreateEvent PROTO 
WSADuplicateSocketA PROTO :DWORD,:DWORD,:DWORD
WSADuplicateSocket equ <WSADuplicateSocketA>

WSADuplicateSocketW PROTO :DWORD,:DWORD,:DWORD
WSAEnumNameSpaceProvidersA PROTO :DWORD,:DWORD
WSAEnumNameSpaceProviders equ <WSAEnumNameSpaceProvidersA>

WSAEnumNameSpaceProvidersW PROTO :DWORD,:DWORD
WSAEnumNetworkEvents PROTO :DWORD,:DWORD,:DWORD
WSAEnumProtocolsA PROTO :DWORD,:DWORD,:DWORD
WSAEnumProtocols equ <WSAEnumProtocolsA>

WSAEnumProtocolsW PROTO :DWORD,:DWORD,:DWORD
WSAEventSelect PROTO :DWORD,:DWORD,:DWORD
WSAGetLastError PROTO 
WSAGetOverlappedResult PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAGetQOSByName PROTO :DWORD,:DWORD,:DWORD
WSAGetServiceClassInfoA PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSAGetServiceClassInfo equ <WSAGetServiceClassInfoA>

WSAGetServiceClassInfoW PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSAGetServiceClassNameByClassIdA PROTO :DWORD,:DWORD,:DWORD
WSAGetServiceClassNameByClassId equ <WSAGetServiceClassNameByClassIdA>

WSAGetServiceClassNameByClassIdW PROTO :DWORD,:DWORD,:DWORD
WSAHtonl PROTO :DWORD,:DWORD,:DWORD
WSAHtons PROTO :DWORD,:DWORD,:DWORD
WSAInstallServiceClassA PROTO :DWORD
WSAInstallServiceClass equ <WSAInstallServiceClassA>

WSAInstallServiceClassW PROTO :DWORD
WSAIoctl PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAIsBlocking PROTO 
WSAJoinLeaf PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSALookupServiceBeginA PROTO :DWORD,:DWORD,:DWORD
WSALookupServiceBegin equ <WSALookupServiceBeginA>

WSALookupServiceBeginW PROTO :DWORD,:DWORD,:DWORD
WSALookupServiceEnd PROTO :DWORD
WSALookupServiceNextA PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSALookupServiceNext equ <WSALookupServiceNextA>

WSALookupServiceNextW PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSANSPIoctl PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSANtohl PROTO :DWORD,:DWORD,:DWORD
WSANtohs PROTO :DWORD,:DWORD,:DWORD
WSAProviderConfigChange PROTO :DWORD,:DWORD,:DWORD
WSARecv PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSARecvDisconnect PROTO :DWORD,:DWORD
WSARecvFrom PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSARemoveServiceClass PROTO :DWORD
WSAResetEvent PROTO :DWORD
WSASend PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSASendDisconnect PROTO :DWORD,:DWORD
WSASendTo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSASetBlockingHook PROTO :DWORD
WSASetEvent PROTO :DWORD
WSASetLastError PROTO :DWORD
WSASetServiceA PROTO :DWORD,:DWORD,:DWORD
WSASetService equ <WSASetServiceA>

WSASetServiceW PROTO :DWORD,:DWORD,:DWORD
WSASocketA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSASocket equ <WSASocketA>

WSASocketW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAStartup PROTO :DWORD,:DWORD
WSAStringToAddressA PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAStringToAddress equ <WSAStringToAddressA>

WSAStringToAddressW PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSAUnhookBlockingHook PROTO 
WSAWaitForMultipleEvents PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSCDeinstallProvider PROTO :DWORD,:DWORD
WSCEnableNSProvider PROTO :DWORD,:DWORD
WSCEnumProtocols PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSCGetProviderPath PROTO :DWORD,:DWORD,:DWORD,:DWORD
WSCInstallNameSpace PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSCInstallProvider PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSCUnInstallNameSpace PROTO :DWORD
WSCUpdateProvider PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
WSCWriteNameSpaceOrder PROTO :DWORD,:DWORD
WSCWriteProviderOrder PROTO :DWORD,:DWORD
__WSAFDIsSet PROTO :DWORD,:DWORD
accept PROTO :DWORD,:DWORD,:DWORD
bind PROTO :DWORD,:DWORD,:DWORD
closesocket PROTO :DWORD
connect PROTO :DWORD,:DWORD,:DWORD
freeaddrinfo PROTO :DWORD
getaddrinfo PROTO :DWORD,:DWORD,:DWORD,:DWORD
gethostbyaddr PROTO :DWORD,:DWORD,:DWORD
gethostbyname PROTO :DWORD
gethostname PROTO :DWORD,:DWORD
getnameinfo PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
getpeername PROTO :DWORD,:DWORD,:DWORD
getprotobyname PROTO :DWORD
getprotobynumber PROTO :DWORD
getservbyname PROTO :DWORD,:DWORD
getservbyport PROTO :DWORD,:DWORD
getsockname PROTO :DWORD,:DWORD,:DWORD
getsockopt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
htonl PROTO :DWORD
htons PROTO :DWORD
inet_addr PROTO :DWORD
inet_ntoa PROTO :DWORD
ioctlsocket PROTO :DWORD,:DWORD,:DWORD
listen PROTO :DWORD,:DWORD
ntohl PROTO :DWORD
ntohs PROTO :DWORD
recv PROTO :DWORD,:DWORD,:DWORD,:DWORD
recvfrom PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
select PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
send PROTO :DWORD,:DWORD,:DWORD,:DWORD
sendto PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
setsockopt PROTO :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
shutdown PROTO :DWORD,:DWORD
socket PROTO :DWORD,:DWORD,:DWORD

ELSE
echo -----------------------------------------
echo WARNING Duplicate include file ws2_32.inc
echo -----------------------------------------
ENDIF
