- Fill the protocol info buffer in WSAEnumProtocolsA/W. Should fix some ws2_32_winetest:sock crashes and flakiness.
svn path=/trunk/; revision=69829
{
UNIMPLEMENTED
+ if (lpProtocolBuffer)
+ {
+ RtlZeroMemory(lpProtocolBuffer, *lpdwBufferLength);
+ }
+ *lpdwBufferLength = sizeof(WSAPROTOCOL_INFOA);
WSASetLastError(WSASYSCALLFAILURE);
return SOCKET_ERROR;
}
{
UNIMPLEMENTED
+ if (lpProtocolBuffer)
+ {
+ RtlZeroMemory(lpProtocolBuffer, *lpdwBufferLength);
+ }
+ *lpdwBufferLength = sizeof(WSAPROTOCOL_INFOW);
WSASetLastError(WSASYSCALLFAILURE);
return SOCKET_ERROR;
}