Winsock2 & overlapped IO

Francois Gouget fgouget at free.fr
Sun Nov 11 22:08:09 CST 2001


On Thu, 8 Nov 2001, Francois Gouget wrote:

> 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.

   Actually I rechecked and MS only has separate types on Win16. For
Win32 they use a #defines and typedefs! So it looks like the current
Wine definitions are pretty much correct.

   Sorry for the confusion.


--
Francois Gouget         fgouget at free.fr        http://fgouget.free.fr/
                     f u kn rd ts, ur wy 2 gky 4 ur wn gd.





More information about the wine-devel mailing list