WSCEnumProtocols

Alexandre Julliard julliard at winehq.org
Mon Oct 25 19:51:46 CDT 2004


Hans Leidekker <hans at it.vu.nl> writes:

> +INT WINAPI WSAEnumProtocolsA( LPINT lpiProtocols, LPWSAPROTOCOL_INFOA lpBuffer, LPDWORD lpdwLength )
> +{
> +   return WINSOCK_EnumProtocols( lpiProtocols, (WSAPROTOCOL_INFOW *)lpBuffer, lpdwLength, FALSE );
> +}

You cannot cast a WSAPROTOCOL_INFOA* to a WSAPROTOCOL_INFOW*, the
structures don't have the same size.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list