Alexandre Julliard julliard at
Tue Oct 26 15:17:28 CDT 2004

Hans Leidekker <hans at> writes:

> On Tuesday 26 October 2004 02:51, Alexandre Julliard wrote:
>> You cannot cast a WSAPROTOCOL_INFOA* to a WSAPROTOCOL_INFOW*, the
>> structures don't have the same size.
> Not generally no, but here I can because the size difference comes
> from the last element of the structure which is either a unicode
> string or an ansi string. The FALSE parameter signals that we want
> an ansi string.

But the function is dealing with an array of them so that doesn't
work, the size of the structure really matters.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list