Winsock2 & overlapped IO

Francois Gouget fgouget at free.fr
Thu Nov 8 21:22:52 CST 2001


On Fri, 9 Nov 2001, Mike McCormack wrote:
[...]
> btw. in the patch in your other mail, you have:
> 
> -typedef struct _OVERLAPPED *  LPWSAOVERLAPPED;
>  typedef HANDLE WSAEVENT;
> +
> +typedef struct _WSAOVERLAPPED {
> +    DWORD    Internal;
> +    DWORD    InternalHigh;
> +    DWORD    Offset;
> +    DWORD    OffsetHigh;
> +    WSAEVENT hEvent;
> +} WSAOVERLAPPED, *LPWSAOVERLAPPED;
> +
> 
> can you just use the following?
[...]

   MS has two separate structures, one in winbase.h and one in
winsock(2).h. So from a Winelib point of view we should have two
separate structures too.


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
      Broadcast message : fin du monde dans cinq minutes, repentez vous !





More information about the wine-devel mailing list