WSASetEvent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

While trying to port an application to Linux using winelib, I found that wine 
didn't have yet an implementation of the WSASetEvent function.
I've had a look at wine sources to try to help, and I found it seemed to be 
easier than I thought. I noticed that WSAResetEvent (a similar function) was 
already implemented by redirecting the call to kernel32.ResetEvent, so I just
redirect the call to WSASetEvent to kernel32.SetEvent.

It's very simple but I hope it helps.

--
Antonio Larrosa Jiménez
Tedial Tecnologías Digitales Audiovisuales, S.L.
Index: dlls/winsock/ws2_32.spec
===================================================================
RCS file: /home/wine/wine/dlls/winsock/ws2_32.spec,v
retrieving revision 1.32
diff -u -p -r1.32 ws2_32.spec
--- dlls/winsock/ws2_32.spec	9 Apr 2003 23:33:35 -0000	1.32
+++ dlls/winsock/ws2_32.spec	3 Jun 2003 15:48:48 -0000
@@ -76,7 +76,7 @@
 72  stdcall  WSASend(long ptr long ptr long ptr ptr)
 73  stdcall  WSASendDisconnect(long ptr)
 74  stdcall  WSASendTo(long ptr long ptr long ptr long ptr ptr)
-75  stub     WSASetEvent
+75  stdcall  WSASetEvent(long) kernel32.SetEvent
 76  stub     WSASetServiceA
 77  stub     WSASetServiceW
 78  stdcall  WSASocketA(long long long ptr long long)

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux