- Fix WmiFireEvent Guid type.
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 9 Apr 2010 15:35:53 +0000 (15:35 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 9 Apr 2010 15:35:53 +0000 (15:35 +0000)
- Define WINSOCK_API_LINKAGE in ws2_32
- Remove winsock.h inclusion from ws2_32/misc/async.c

svn path=/branches/header-work/; revision=46793

dll/win32/ws2_32/misc/async.c
dll/win32/ws2_32/ws2_32.rbuild
drivers/wmi/wmilib.c

index a130e7a..d8d3701 100644 (file)
@@ -34,7 +34,6 @@
  */
 
 #include <windows.h>
-#include <winsock.h>
 
 #define WS_FD_SETSIZE FD_SETSIZE
 #define HAVE_GETPROTOBYNAME
index f23493b..912b339 100644 (file)
@@ -3,6 +3,7 @@
        <include base="ws2_32">include</include>
        <include base="ReactOS">include/reactos/wine</include>
        <define name="LE" />
+       <define name="WINSOCK_API_LINKAGE">DECLSPEC_EXPORT</define>
        <library>wine</library>
        <library>ntdll</library>
        <library>user32</library>
index 69938ac..c6cec4a 100644 (file)
@@ -34,7 +34,7 @@ WmiCompleteRequest(IN PDEVICE_OBJECT DeviceObject,
 NTSTATUS
 NTAPI
 WmiFireEvent(IN PDEVICE_OBJECT DeviceObject,
-             IN LPGUID Guid,
+             IN LPCGUID Guid,
              IN ULONG InstanceIndex,
              IN ULONG EventDataSize,
              IN PVOID EventData)