Commit ee77955a authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Add stub for WSAEnumProtocols(A/W) functions.

parent d14b2f0f
...@@ -3420,3 +3420,22 @@ SOCKET WINAPI WSAAccept( SOCKET s, struct WS_sockaddr *addr, LPINT addrlen, ...@@ -3420,3 +3420,22 @@ SOCKET WINAPI WSAAccept( SOCKET s, struct WS_sockaddr *addr, LPINT addrlen,
return SOCKET_ERROR; return SOCKET_ERROR;
} }
/***********************************************************************
* WSAEnumProtocolsA (WS2_32.37)
*/
WINAPI int WSAEnumProtocolsA(LPINT lpiProtocols, LPWSAPROTOCOL_INFOA lpProtocolBuffer, LPDWORD lpdwBufferLength)
{
FIXME("(%p,%p,%p): stub\n", lpiProtocols,lpProtocolBuffer, lpdwBufferLength);
return 0;
}
/***********************************************************************
* WSAEnumProtocolsW (WS2_32.38)
*/
WINAPI int WSAEnumProtocolsW(LPINT lpiProtocols, LPWSAPROTOCOL_INFOW lpProtocolBuffer, LPDWORD lpdwBufferLength)
{
FIXME("(%p,%p,%p): stub\n", lpiProtocols,lpProtocolBuffer, lpdwBufferLength);
return 0;
}
...@@ -49,8 +49,8 @@ debug_channels (winsock) ...@@ -49,8 +49,8 @@ debug_channels (winsock)
34 stub WSAEnumNameSpaceProvidersA 34 stub WSAEnumNameSpaceProvidersA
35 stub WSAEnumNameSpaceProvidersW 35 stub WSAEnumNameSpaceProvidersW
36 stdcall WSAEnumNetworkEvents(long long ptr) WSAEnumNetworkEvents 36 stdcall WSAEnumNetworkEvents(long long ptr) WSAEnumNetworkEvents
37 stub WSAEnumProtocolsA 37 stdcall WSAEnumProtocolsA(ptr ptr ptr) WSAEnumProtocolsA
38 stub WSAEnumProtocolsW 38 stdcall WSAEnumProtocolsW(ptr ptr ptr) WSAEnumProtocolsW
39 stdcall WSAEventSelect(long long long) WSAEventSelect 39 stdcall WSAEventSelect(long long long) WSAEventSelect
40 stub WSAGetOverlappedResult 40 stub WSAGetOverlappedResult
41 stub WSAGetQOSByName 41 stub WSAGetQOSByName
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment