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@free.fr http://fgouget.free.fr/ f u kn rd ts, ur wy 2 gky 4 ur wn gd.