OSDN Git Service

Redo the filters based on assumptions discussed in mingw-dvlpr list.
authorEarnie Boyd <earnie@users.sourceforge.net>
Wed, 19 Sep 2012 18:11:00 +0000 (14:11 -0400)
committerEarnie Boyd <earnie@users.sourceforge.net>
Wed, 19 Sep 2012 18:11:00 +0000 (14:11 -0400)
* include/ddk/atm.h (_mingw.h): Include.
* include/ddk/batclass.h: Ditto.
* include/ddk/cfg.h: Ditto.
* include/ddk/cfgmgr32.h: Ditto.
* include/ddk/d4drvif.h: Ditto.
* include/ddk/d4iface.h: Ditto.
* include/ddk/ddkmapi.h: Ditto.
* include/ddk/hidclass.h: Ditto.
* include/ddk/hidpi.h: Ditto.
* include/ddk/hidsdi.h: Ditto.
* include/ddk/hidusage.h: Ditto.
* include/ddk/kbdmou.h: Ditto.
* include/ddk/mcd.h: Ditto.
* include/ddk/miniport.h: Ditto.
* include/ddk/minitape.h: Ditto.
* include/ddk/mountdev.h: Ditto.
* include/ddk/mountmgr.h: Ditto.
* include/ddk/ndis.h: Ditto.
* include/ddk/ndisguid.h: Ditto.
* include/ddk/ndistapi.h: Ditto.
* include/ddk/ndiswan.h: Ditto.
* include/ddk/netevent.h: Ditto.
* include/ddk/netpnp.h: Ditto.
* include/ddk/newdev.h: Ditto.
* include/ddk/ntapi.h: Ditto.
* include/ddk/ntdd8042.h: Ditto.
* include/ddk/ntddbeep.h: Ditto.
* include/ddk/ntddcdrm.h: Ditto.
* include/ddk/ntddcdvd.h: Ditto.
* include/ddk/ntddchgr.h: Ditto.
* include/ddk/ntdddisk.h: Ditto.
* include/ddk/ntddk.h: Ditto.
* include/ddk/ntddkbd.h: Ditto.
* include/ddk/ntddmou.h: Ditto.
* include/ddk/ntddndis.h: Ditto.
* include/ddk/ntddpar.h: Ditto.
* include/ddk/ntddpcm.h: Ditto.
* include/ddk/ntddscsi.h: Ditto.
* include/ddk/ntddser.h: Ditto.
* include/ddk/ntddstor.h: Ditto.
* include/ddk/ntddtape.h: Ditto.
* include/ddk/ntddtdi.h: Ditto.
* include/ddk/ntddvdeo.h: Ditto.
* include/ddk/ntddvol.h: Ditto.
* include/ddk/ntifs.h: Ditto.
* include/ddk/ntpoapi.h: Ditto.
* include/ddk/ntstatus.h: Ditto.
* include/ddk/parallel.h: Ditto.
* include/ddk/pfhook.h: Ditto.
* include/ddk/poclass.h: Ditto.
* include/ddk/scsi.h: Ditto.
* include/ddk/scsiscan.h: Ditto.
* include/ddk/scsiwmi.h: Ditto.
* include/ddk/smbus.h: Ditto.
* include/ddk/srb.h: Ditto.
* include/ddk/storport.h: Ditto.
* include/ddk/tdi.h: Ditto.
* include/ddk/tdiinfo.h: Ditto.
* include/ddk/tdikrnl.h: Ditto.
* include/ddk/tdistat.h: Ditto.
* include/ddk/tvout.h: Ditto.
* include/ddk/upssvc.h: Ditto.
* include/ddk/usb.h: Ditto.
* include/ddk/usb100.h: Ditto.
* include/ddk/usbcamdi.h: Ditto.
* include/ddk/usbdi.h: Ditto.
* include/ddk/usbioctl.h: Ditto.
* include/ddk/usbiodef.h: Ditto.
* include/ddk/usbscan.h: Ditto.
* include/ddk/usbuser.h: Ditto.
* include/ddk/video.h: Ditto.
* include/ddk/videoagp.h: Ditto.
* include/ddk/win2k.h: Ditto.
* include/ddk/winddi.h: Ditto.
* include/ddk/winddk.h: Ditto.
* include/ddk/winnt4.h: Ditto.
* include/ddk/winxp.h: Ditto.
* include/ddk/ws2san.h: Ditto.
* include/ddk/xfilter.h: Ditto.

* include/ddk/cfgmgr32.h (UNICODE): Use __AW() macro for mapping
non-specific symbols.
* include/ddk/newdev.h: Ditto.

* include/ddk/kbdmou.h (GCC system_header): Add pragma.

* TODO: Add entries.

81 files changed:
ChangeLog
TODO
include/ddk/atm.h
include/ddk/batclass.h
include/ddk/cfg.h
include/ddk/cfgmgr32.h
include/ddk/d4drvif.h
include/ddk/d4iface.h
include/ddk/ddkmapi.h
include/ddk/hidclass.h
include/ddk/hidpi.h
include/ddk/hidsdi.h
include/ddk/hidusage.h
include/ddk/kbdmou.h
include/ddk/mcd.h
include/ddk/miniport.h
include/ddk/minitape.h
include/ddk/mountdev.h
include/ddk/mountmgr.h
include/ddk/ndis.h
include/ddk/ndisguid.h
include/ddk/ndistapi.h
include/ddk/ndiswan.h
include/ddk/netevent.h
include/ddk/netpnp.h
include/ddk/newdev.h
include/ddk/ntapi.h
include/ddk/ntdd8042.h
include/ddk/ntddbeep.h
include/ddk/ntddcdrm.h
include/ddk/ntddcdvd.h
include/ddk/ntddchgr.h
include/ddk/ntdddisk.h
include/ddk/ntddk.h
include/ddk/ntddkbd.h
include/ddk/ntddmou.h
include/ddk/ntddndis.h
include/ddk/ntddpar.h
include/ddk/ntddpcm.h
include/ddk/ntddscsi.h
include/ddk/ntddser.h
include/ddk/ntddstor.h
include/ddk/ntddtape.h
include/ddk/ntddtdi.h
include/ddk/ntddvdeo.h
include/ddk/ntddvol.h
include/ddk/ntifs.h
include/ddk/ntpoapi.h
include/ddk/ntstatus.h
include/ddk/parallel.h
include/ddk/pfhook.h
include/ddk/poclass.h
include/ddk/scsi.h
include/ddk/scsiscan.h
include/ddk/scsiwmi.h
include/ddk/smbus.h
include/ddk/srb.h
include/ddk/storport.h
include/ddk/tdi.h
include/ddk/tdiinfo.h
include/ddk/tdikrnl.h
include/ddk/tdistat.h
include/ddk/tvout.h
include/ddk/upssvc.h
include/ddk/usb.h
include/ddk/usb100.h
include/ddk/usbcamdi.h
include/ddk/usbdi.h
include/ddk/usbioctl.h
include/ddk/usbiodef.h
include/ddk/usbscan.h
include/ddk/usbuser.h
include/ddk/video.h
include/ddk/videoagp.h
include/ddk/win2k.h
include/ddk/winddi.h
include/ddk/winddk.h
include/ddk/winnt4.h
include/ddk/winxp.h
include/ddk/ws2san.h
include/ddk/xfilter.h

index 725be10..63bd86d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,98 @@
 
        Redo the filters based on assumptions discussed in mingw-dvlpr list.
 
+       * include/ddk/atm.h (_mingw.h): Include.
+       * include/ddk/batclass.h: Ditto.
+       * include/ddk/cfg.h: Ditto.
+       * include/ddk/cfgmgr32.h: Ditto.
+       * include/ddk/d4drvif.h: Ditto.
+       * include/ddk/d4iface.h: Ditto.
+       * include/ddk/ddkmapi.h: Ditto.
+       * include/ddk/hidclass.h: Ditto.
+       * include/ddk/hidpi.h: Ditto.
+       * include/ddk/hidsdi.h: Ditto.
+       * include/ddk/hidusage.h: Ditto.
+       * include/ddk/kbdmou.h: Ditto.
+       * include/ddk/mcd.h: Ditto.
+       * include/ddk/miniport.h: Ditto.
+       * include/ddk/minitape.h: Ditto.
+       * include/ddk/mountdev.h: Ditto.
+       * include/ddk/mountmgr.h: Ditto.
+       * include/ddk/ndis.h: Ditto.
+       * include/ddk/ndisguid.h: Ditto.
+       * include/ddk/ndistapi.h: Ditto.
+       * include/ddk/ndiswan.h: Ditto.
+       * include/ddk/netevent.h: Ditto.
+       * include/ddk/netpnp.h: Ditto.
+       * include/ddk/newdev.h: Ditto.
+       * include/ddk/ntapi.h: Ditto.
+       * include/ddk/ntdd8042.h: Ditto.
+       * include/ddk/ntddbeep.h: Ditto.
+       * include/ddk/ntddcdrm.h: Ditto.
+       * include/ddk/ntddcdvd.h: Ditto.
+       * include/ddk/ntddchgr.h: Ditto.
+       * include/ddk/ntdddisk.h: Ditto.
+       * include/ddk/ntddk.h: Ditto.
+       * include/ddk/ntddkbd.h: Ditto.
+       * include/ddk/ntddmou.h: Ditto.
+       * include/ddk/ntddndis.h: Ditto.
+       * include/ddk/ntddpar.h: Ditto.
+       * include/ddk/ntddpcm.h: Ditto.
+       * include/ddk/ntddscsi.h: Ditto.
+       * include/ddk/ntddser.h: Ditto.
+       * include/ddk/ntddstor.h: Ditto.
+       * include/ddk/ntddtape.h: Ditto.
+       * include/ddk/ntddtdi.h: Ditto.
+       * include/ddk/ntddvdeo.h: Ditto.
+       * include/ddk/ntddvol.h: Ditto.
+       * include/ddk/ntifs.h: Ditto.
+       * include/ddk/ntpoapi.h: Ditto.
+       * include/ddk/ntstatus.h: Ditto.
+       * include/ddk/parallel.h: Ditto.
+       * include/ddk/pfhook.h: Ditto.
+       * include/ddk/poclass.h: Ditto.
+       * include/ddk/scsi.h: Ditto.
+       * include/ddk/scsiscan.h: Ditto.
+       * include/ddk/scsiwmi.h: Ditto.
+       * include/ddk/smbus.h: Ditto.
+       * include/ddk/srb.h: Ditto.
+       * include/ddk/storport.h: Ditto.
+       * include/ddk/tdi.h: Ditto.
+       * include/ddk/tdiinfo.h: Ditto.
+       * include/ddk/tdikrnl.h: Ditto.
+       * include/ddk/tdistat.h: Ditto.
+       * include/ddk/tvout.h: Ditto.
+       * include/ddk/upssvc.h: Ditto.
+       * include/ddk/usb.h: Ditto.
+       * include/ddk/usb100.h: Ditto.
+       * include/ddk/usbcamdi.h: Ditto.
+       * include/ddk/usbdi.h: Ditto.
+       * include/ddk/usbioctl.h: Ditto.
+       * include/ddk/usbiodef.h: Ditto.
+       * include/ddk/usbscan.h: Ditto.
+       * include/ddk/usbuser.h: Ditto.
+       * include/ddk/video.h: Ditto.
+       * include/ddk/videoagp.h: Ditto.
+       * include/ddk/win2k.h: Ditto.
+       * include/ddk/winddi.h: Ditto.
+       * include/ddk/winddk.h: Ditto.
+       * include/ddk/winnt4.h: Ditto.
+       * include/ddk/winxp.h: Ditto.
+       * include/ddk/ws2san.h: Ditto.
+       * include/ddk/xfilter.h: Ditto.
+
+       * include/ddk/cfgmgr32.h (UNICODE): Use __AW() macro for mapping
+       non-specific symbols.
+       * include/ddk/newdev.h: Ditto.
+
+       * include/ddk/kbdmou.h (GCC system_header): Add pragma.
+
+       * TODO: Add entries.
+
+2012-09-19  Earnie Boyd  <earnie@users.sourceforge.net>
+
+       Redo the filters based on assumptions discussed in mingw-dvlpr list.
+
        * include/sys/fcntl.h (_mingw.h): Include.
        * include/sys/file.h: Ditto.
        * include/sys/param.h: Ditto.
diff --git a/TODO b/TODO
index 8c5e7f7..fdcb083 100644 (file)
--- a/TODO
+++ b/TODO
@@ -70,3 +70,8 @@
 ** gdiplus/gdiplusimpl.h: FIXME
 ** gdiplus/gdiplusmetaheader.h: FIXME
 ** gdiplus/gdiplustypes.h: FIXME
+** ddk/atm.h: FIXME
+** ddk/cfgmgr32.h: FIXME
+** ddk/ntapi.h: FIXME
+** ddk/ntifs.h: _GNU_NTIFS_, VER_PRODUCTBUILD, _ALPHA_
+** ddk/ws2san.h: FIXME
index d6ec05b..18ce83e 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __ATM_H
 #define __ATM_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 6942af7..406f8c8 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __BATCLASS_H
 #define __BATCLASS_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index df39e95..07afb43 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __CFG_H
+#define __CFG_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * PnP Configuration Manager shared definitions between user mode and
  * kernel mode code
  */
 
-#ifndef __CFG_H
-#define __CFG_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index caa34c7..b18d8b7 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __CFGMGR32_H
+#define __CFGMGR32_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * PnP configuration manager
  */
 
-#ifndef __CFGMGR32_H
-#define __CFGMGR32_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -142,13 +142,8 @@ typedef DEVNODE *PDEVNODE, *PDEVINST;
 typedef CHAR *DEVNODEID_A, *DEVINSTID_A;
 typedef WCHAR *DEVNODEID_W, *DEVINSTID_W;
 
-#ifdef UNICODE
-typedef DEVNODEID_W DEVNODEID;
-typedef DEVINSTID_W DEVINSTID;
-#else
-typedef DEVNODEID_A DEVNODEID;
-typedef DEVINSTID_A DEVINSTID;
-#endif
+typedef __AW(DEVNODEID_) DEVNODEID;
+typedef __AW(DEVINSTID_) DEVINSTID;
 
 typedef ULONG REGDISPOSITION;
 
@@ -555,15 +550,8 @@ typedef struct _CONFLICT_DETAILS_W {
   WCHAR  CD_szDescription[MAX_PATH];
 } CONFLICT_DETAILS_W , *PCONFLICT_DETAILS_W;
 
-#ifdef UNICODE
-typedef CONFLICT_DETAILS_W CONFLICT_DETAILS;
-typedef PCONFLICT_DETAILS_W PCONFLICT_DETAILS;
-#else
-typedef CONFLICT_DETAILS_A CONFLICT_DETAILS;
-typedef PCONFLICT_DETAILS_A PCONFLICT_DETAILS;
-#endif
-
-
+typedef __AW(CONFLICT_DETAILS_) CONFLICT_DETAILS;
+typedef __AW(PCONFLICT_DETAILS_) PCONFLICT_DETAILS;
 
 /* CM_Add_Empty_Log_Conf.ulFlags constants */
 #define PRIORITY_EQUAL_FIRST                                           0x00000008
@@ -630,13 +618,8 @@ CM_Add_IDW(
   /*IN*/ ULONG  ulFlags,
   /*IN*/ HMACHINE  hMachine);
 
-#ifdef UNICODE
-#define CM_Add_ID CM_Add_IDW
-#define CM_Add_ID_Ex CM_Add_ID_ExW
-#else
-#define CM_Add_ID CM_Add_IDA
-#define CM_Add_ID_Ex CM_Add_ID_ExA
-#endif /* UNICODE */
+#define CM_Add_ID __AW(CM_Add_ID)
+#define CM_Add_ID_Ex __AW(CM_Add_ID_Ex)
 
 /* FIXME: Obsolete CM_Add_Range */
 
@@ -677,11 +660,7 @@ CM_Connect_MachineW(
   /*IN*/ PCWSTR  UNCServerName,
   /*OUT*/ PHMACHINE  phMachine);
 
-#ifdef UNICODE
-#define CM_Connect_Machine CM_Connect_MachineW
-#else
-#define CM_Connect_Machine CM_Connect_MachineA
-#endif /* UNICODE */
+#define CM_Connect_Machine __AW(CM_Connect_Machine)
 
 /* FIXME: Obsolete CM_Create_DevNode */
 /* FIXME: Obsolete CM_Create_DevNodeEx */
@@ -760,13 +739,8 @@ CM_Enumerate_EnumeratorsW(
   /*IN OUT*/ PULONG  pulLength,
   /*IN*/ ULONG  ulFlags);
 
-#ifdef UNICODE
-#define CM_Enumerate_Enumerators CM_Enumerate_EnumeratorsW
-#define CM_Enumerate_Enumerators_Ex CM_Enumerate_Enumerators_ExW
-#else
-#define CM_Enumerate_Enumerators CM_Enumerate_EnumeratorsA
-#define CM_Enumerate_Enumerators_Ex CM_Enumerate_Enumerators_ExW
-#endif /* UNICODE */
+#define CM_Enumerate_Enumerators __AW(CM_Enumerate_Enumerators)
+#define CM_Enumerate_Enumerators_Ex __AW(CM_Enumerate_Enumerators_Ex)
 
 /* FIXME: Obsolete CM_Find_Range */
 /* FIXME: Obsolete CM_First_Range */
@@ -901,13 +875,8 @@ CM_Get_Device_IDW(
   /*IN*/ ULONG  BufferLen,
   /*IN*/ ULONG  ulFlags);
 
-#ifdef UNICODE
-#define CM_Get_Device_ID CM_Get_Device_IDW
-#define CM_Get_Device_ID_Ex CM_Get_Device_ID_ExW
-#else
-#define CM_Get_Device_ID CM_Get_Device_IDA
-#define CM_Get_Device_ID_Ex CM_Get_Device_ID_ExW
-#endif /* UNICODE */
+#define CM_Get_Device_ID __AW(CM_Get_Device_ID)
+#define CM_Get_Device_ID_Ex __AW(CM_Get_Device_ID_Ex)
 
 CMAPI
 CONFIGRET
@@ -947,13 +916,8 @@ CM_Get_Device_ID_ListW(
   /*IN*/ ULONG  BufferLen,
   /*IN*/ ULONG  ulFlags);
 
-#ifdef UNICODE
-#define CM_Get_Device_ID_List CM_Get_Device_ID_ListW
-#define CM_Get_Device_ID_List_Ex CM_Get_Device_ID_List_ExW
-#else
-#define CM_Get_Device_ID_List CM_Get_Device_ID_ListA
-#define CM_Get_Device_ID_List_Ex CM_Get_Device_ID_List_ExA
-#endif /* UNICODE */
+#define CM_Get_Device_ID_List __AW(CM_Get_Device_ID_List)
+#define CM_Get_Device_ID_List_Ex __AW(CM_Get_Device_ID_List_Ex)
 
 CMAPI
 CONFIGRET
@@ -989,13 +953,8 @@ CM_Get_Device_ID_List_SizeW(
   /*IN*/ PCWSTR  pszFilter, /*OPTIONAL*/
   /*IN*/ ULONG  ulFlags);
 
-#ifdef UNICODE
-#define CM_Get_Device_ID_List_Size CM_Get_Device_ID_List_SizeW
-#define CM_Get_Device_ID_List_Size_Ex CM_Get_Device_ID_List_Size_ExW
-#else
-#define CM_Get_Device_ID_List_Size CM_Get_Device_ID_List_SizeA
-#define CM_Get_Device_ID_List_Size_Ex CM_Get_Device_ID_List_Size_ExA
-#endif /* UNICODE */
+#define CM_Get_Device_ID_List_Size __AW(CM_Get_Device_ID_List_Size)
+#define CM_Get_Device_ID_List_Size_Ex __AW(CM_Get_Device_ID_List_Size_Ex)
 
 CMAPI
 CONFIGRET
@@ -1211,11 +1170,7 @@ CM_Get_Resource_Conflict_DetailsW(
   /*IN*/ ULONG  ulIndex,
   /*IN OUT*/ PCONFLICT_DETAILS_W  pConflictDetails);
 
-#ifdef UNICODE
-#define CM_Get_Resource_Conflict_Details CM_Get_Resource_Conflict_DetailsW
-#else
-#define CM_Get_Resource_Conflict_Details CM_Get_Resource_Conflict_DetailsA
-#endif /* UNICODE */
+#define CM_Get_Resource_Conflict_Details __AW(CM_Get_Resource_Conflict_Details)
 
 CMAPI
 CONFIGRET
@@ -1303,17 +1258,10 @@ CM_Locate_DevNodeW(
 #define CM_Locate_DevInst_ExA CM_Locate_DevNode_ExA
 #define CM_Locate_DevInst_ExW CM_Locate_DevNode_ExW
 
-#ifdef UNICODE
-#define CM_Locate_DevNode CM_Locate_DevNodeW
-#define CM_Locate_DevInst CM_Locate_DevNodeW
-#define CM_Locate_DevNode_Ex CM_Locate_DevNode_ExW
-#define CM_Locate_DevInst_Ex CM_Locate_DevNode_ExW
-#else
-#define CM_Locate_DevNode CM_Locate_DevNodeA
-#define CM_Locate_DevInst CM_Locate_DevNodeA
-#define CM_Locate_DevNode_Ex CM_Locate_DevNode_ExA
-#define CM_Locate_DevInst_Ex CM_Locate_DevNode_ExA
-#endif /* UNICODE */
+#define CM_Locate_DevNode __AW(CM_Locate_DevNode)
+#define CM_Locate_DevInst __AW(CM_Locate_DevNode)
+#define CM_Locate_DevNode_Ex __AW(CM_Locate_DevNode_Ex)
+#define CM_Locate_DevInst_Ex __AW(CM_Locate_DevNode_Ex)
 
 /* FIXME: Obsolete CM_Merge_Range_List */
 
@@ -1490,13 +1438,8 @@ CM_Request_Device_EjectW(
   /*IN*/ ULONG  ulNameLength,
   /*IN*/ ULONG  ulFlags);
 
-#ifdef UNICODE
-#define CM_Request_Device_Eject CM_Request_Device_EjectW
-#define CM_Request_Device_Eject_Ex CM_Request_Device_Eject_ExW
-#else
-#define CM_Request_Device_Eject CM_Request_Device_EjectA
-#define CM_Request_Device_Eject_Ex CM_Request_Device_Eject_ExA
-#endif /* UNICODE */
+#define CM_Request_Device_Eject __AW(CM_Request_Device_Eject)
+#define CM_Request_Device_Eject_Ex __AW(CM_Request_Device_Eject_Ex)
 
 /* FIXME: Obsolete CM_Request_Eject_PC */
 /* FIXME: Obsolete CM_Request_Eject_PC_Ex */
index 7ed9ee2..0d09402 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __D4DRVIF_H
+#define __D4DRVIF_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * DOT4 driver IOCTL interface
  */
 
-#ifndef __D4DRVIF_H
-#define __D4DRVIF_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 40be0ec..84ef991 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __D4IFACE_H
 #define __D4IFACE_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 4fe27a9..d3cacc6 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __DDKMAPI_H
+#define __DDKMAPI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * DirectDraw support for DxApi function
  */
 
-#ifndef __DDKMAPI_H
-#define __DDKMAPI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 490cd44..1575a5c 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __HIDCLASS_H
 #define __HIDCLASS_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 532e629..2b9f10a 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __HIDPI_H
+#define __HIDPI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Public Interface for HID parsing library.
  */
 
-#ifndef __HIDPI_H
-#define __HIDPI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index c8b5935..2953f71 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef _HIDSDI_H
 #define _HIDSDI_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 28af4dc..a07edd0 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __HIDUSAGE_H
 #define __HIDUSAGE_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 264d384..8f20cc0 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __KBDMOU_H
+#define __KBDMOU_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Structures and definitions for Keyboard/Mouse class and port drivers.
  */
 
-#ifndef __KBDMOU_H
-#define __KBDMOU_H
-
 #include <ddk/ntddkbd.h>
 #include <ddk/ntddmou.h>
 
index ae51f39..2fa7cc8 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __MCD_H
+#define __MCD_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Media changer driver interface
  */
 
-#ifndef __MCD_H
-#define __MCD_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index b7d41a7..d82265b 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __MINIPORT_H
+#define __MINIPORT_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Type definitions for miniport drivers
  */
 
-#ifndef __MINIPORT_H
-#define __MINIPORT_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 819e878..1eddb70 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __MINITAPE_H
 #define __MINITAPE_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
@@ -75,6 +76,7 @@ typedef enum _TAPE_STATUS {
 } TAPE_STATUS, *PTAPE_STATUS;
 
 #define INQUIRYDATABUFFERSIZE 36
+
 #ifndef _INQUIRYDATA_DEFINED /* also in scsi.h */
 #define _INQUIRYDATA_DEFINED
 typedef struct _INQUIRYDATA {
index 3614fb9..e4d7c8b 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __MOUNTDEV_H
+#define __MOUNTDEV_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Mount point manager/mounted devices interface.
  */
 
-#ifndef __MOUNTDEV_H
-#define __MOUNTDEV_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index e2ccdd0..58ee147 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __MOUNTMGR_H
 #define __MOUNTMGR_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index 7b74f28..ef52e81 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NDIS_H
+#define __NDIS_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Network Device Interface Specification definitions
@@ -32,9 +36,6 @@
  *          NDIS50_MINIPORT      - Building NDIS 5.0 miniport driver
  *          NDIS51_MINIPORT      - Building NDIS 5.1 miniport driver
  */
-#ifndef __NDIS_H
-#define __NDIS_H
-#pragma GCC system_header
 
 #ifdef __cplusplus
 extern "C" {
index c19013b..9111c20 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NDISGUID_H
+#define __NDISGUID_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * GUIDs for NDIS drivers
  */
 
-#ifndef __NDISGUID_H
-#define __NDISGUID_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index a7f45b0..1a30cc9 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NDISTAPI_H
+#define __NDISTAPI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * NDIS Telephony API
  */
 
-#ifndef __NDISTAPI_H
-#define __NDISTAPI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -105,6 +105,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINE_REPLY                        12L
 #define LINE_REQUEST                      13L
 #define LINE_CREATE                       19L
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINE_AGENTSPECIFIC                21L
 #define LINE_AGENTSTATUS                  22L
@@ -112,6 +113,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINE_PROXYREQUEST                 24L
 #define LINE_REMOVE                       25L
 #endif
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020002)
 #define LINE_AGENTSESSIONSTATUS           27L
 #define LINE_QUEUESTATUS                  28L
@@ -119,6 +121,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINE_GROUPSTATUS                  30L
 #define LINE_PROXYSTATUS                  31L
 #endif
+
 #if (TAPI_CURRENT_VERSION >= 0x00030000)
 #define LINE_APPNEWCALLHUB                32L
 #define LINE_CALLHUBCLOSE                 33L
@@ -156,6 +159,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEADDRCAPFLAGS_ACCEPTTOALERT    0x00100000
 #define LINEADDRCAPFLAGS_CONFDROP         0x00200000
 #define LINEADDRCAPFLAGS_PICKUPCALLWAIT   0x00400000
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINEADDRCAPFLAGS_PREDICTIVEDIALER 0x00800000
 #define LINEADDRCAPFLAGS_QUEUE            0x01000000
@@ -165,6 +169,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEADDRCAPFLAGS_NOEXTERNALCALLS  0x10000000
 #define LINEADDRCAPFLAGS_SETCALLINGID     0x20000000
 #endif
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00030000)
 #define LINEADDRCAPFLAGS_ACDGROUP         0x40000000
 #define LINEADDRCAPFLAGS_NOPSTNADDRESSTRANSLATION \
@@ -203,6 +208,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEADDRFEATURE_SETUPCONF         0x00000020
 #define LINEADDRFEATURE_UNCOMPLETECALL    0x00000040
 #define LINEADDRFEATURE_UNPARK            0x00000080
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINEADDRFEATURE_PICKUPHELD        0x00000100
 #define LINEADDRFEATURE_PICKUPGROUP       0x00000200
@@ -223,6 +229,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEBEARERMODE_ALTSPEECHDATA      0x00000010
 #define LINEBEARERMODE_NONCALLSIGNALING   0x00000020
 #define LINEBEARERMODE_PASSTHROUGH        0x00000040
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINEBEARERMODE_RESTRICTEDDATA     0x00000080
 #endif
@@ -304,6 +311,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINECALLINFOSTATE_TERMINAL        0x02000000
 #define LINECALLINFOSTATE_DIALPARAMS      0x04000000
 #define LINECALLINFOSTATE_MONITORMODES    0x08000000
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINECALLINFOSTATE_TREATMENT       0x10000000
 #define LINECALLINFOSTATE_QOS             0x20000000
@@ -323,6 +331,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINECALLPARAMFLAGS_BLOCKID        0x00000004
 #define LINECALLPARAMFLAGS_ORIGOFFHOOK    0x00000008
 #define LINECALLPARAMFLAGS_DESTOFFHOOK    0x00000010
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINECALLPARAMFLAGS_NOHOLDCONFERENCE \
                                           0x00000020
@@ -357,6 +366,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINECALLREASON_UNAVAIL            0x00000800
 #define LINECALLREASON_INTRUDE            0x00001000
 #define LINECALLREASON_PARKED             0x00002000
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINECALLREASON_CAMPEDON           0x00004000
 #define LINECALLREASON_ROUTEREQUEST       0x00008000
@@ -365,9 +375,11 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINECALLSELECT_LINE               0x00000001
 #define LINECALLSELECT_ADDRESS            0x00000002
 #define LINECALLSELECT_CALL               0x00000004
+
 #if (NDIS_TAPI_CURRENT_VERSION > 0x00020000)
 #define LINECALLSELECT_DEVICEID           0x00000008
 #endif
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00030000)
 #define LINECALLSELECT_CALLID             0x00000010
 #endif
@@ -398,6 +410,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEDEVCAPFLAGS_DIALBILLING       0x00000040
 #define LINEDEVCAPFLAGS_DIALQUIET         0x00000080
 #define LINEDEVCAPFLAGS_DIALDIALTONE      0x00000100
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00030000)
 #define LINEDEVCAPFLAGS_MSP               0x00000200
 #define LINEDEVCAPFLAGS_CALLHUB           0x00000400
@@ -455,6 +468,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEDISCONNECTMODE_INCOMPATIBLE   0x00000400
 #define LINEDISCONNECTMODE_UNAVAIL        0x00000800
 #define LINEDISCONNECTMODE_NODIALTONE     0x00001000
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINEDISCONNECTMODE_NUMBERCHANGED  0x00002000
 #define LINEDISCONNECTMODE_OUTOFORDER     0x00004000
@@ -471,6 +485,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINEFEATURE_MAKECALL              0x00000008
 #define LINEFEATURE_SETMEDIACONTROL       0x00000010
 #define LINEFEATURE_SETTERMINAL           0x00000020
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINEFEATURE_SETDEVSTATUS          0x00000040
 #define LINEFEATURE_FORWARDFWD            0x00000080
@@ -531,6 +546,7 @@ typedef ULONG_PTR HDRV_CALL;
 
 #define LINEMEDIAMODE_VOICEVIEW           0x00004000
 #define LAST_LINEMEDIAMODE                0x00004000
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020001)
 #define LINEMEDIAMODE_VIDEO               0x00008000
 #define LAST_LINEMEDIAMODE                0x00008000
@@ -602,6 +618,7 @@ typedef ULONG_PTR HDRV_CALL;
 #define LINETRANSLATERESULT_DIALQUIET     0x00000080
 #define LINETRANSLATERESULT_DIALDIALTONE  0x00000100
 #define LINETRANSLATERESULT_DIALPROMPT    0x00000200
+
 #if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
 #define LINETRANSLATERESULT_VOICEDETECT   0x00000400
 #endif
index 49c0abb..6cd817c 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NDISWAN_H
+#define __NDISWAN_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions for NDIS WAN miniport drivers
  */
 
-#ifndef __NDISWAN_H
-#define __NDISWAN_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3f78c8a..908e8c7 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __NETEVENT_H
 #define __NETEVENT_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #define EVENT_TRANSPORT_REGISTER_FAILED  0xC000232CL
 
index 2fdbb51..2b78bbe 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NETPNP_H
+#define __NETPNP_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Network Plug and Play event support
  */
 
-#ifndef __NETPNP_H
-#define __NETPNP_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 340aa66..ffd5cf9 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NEWDEV_H
+#define __NEWDEV_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Driver installation DLL interface
  */
 
-#ifndef __NEWDEV_H
-#define __NEWDEV_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -56,11 +56,7 @@ UpdateDriverForPlugAndPlayDevicesW(
   DWORD  InstallFlags,
   PBOOL  bRebootRequired  /*OPTIONAL*/);
 
-#ifdef UNICODE
-#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesW
-#else
-#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesA
-#endif /* UNICODE */
+#define UpdateDriverForPlugAndPlayDevices __AW(UpdateDriverForPlugAndPlayDevices)
 
 #ifdef __cplusplus
 }
index 2d251a6..2bd2437 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTAPI_H
+#define __NTAPI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Windows NT Native API
  */
 
-#ifndef __NTAPI_H
-#define __NTAPI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 67ecb76..c74e725 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDD8042_H
+#define __NTDD8042_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * i8042 IOCTL interface.
  */
 
-#ifndef __NTDD8042_H
-#define __NTDD8042_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index dd4df70..100aff7 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDBEEP_H
+#define __NTDDBEEP_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Beep device IOCTL interface
  */
 
-#ifndef __NTDDBEEP_H
-#define __NTDDBEEP_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index b711e0e..110ec2b 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDCDRM_H
+#define __NTDDCDRM_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * CDROM IOCTL interface.
  */
 
-#ifndef __NTDDCDRM_H
-#define __NTDDCDRM_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 8da1eb0..db838b6 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDCDVD_H
+#define __NTDDCDVD_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * DVD IOCTL interface.
  */
 
-#ifndef __NTDDCDVD_H
-#define __NTDDCDVD_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 610f997..a061032 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDCHGR_H
+#define __NTDDCHGR_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Media changer IOCTL interface.
  */
 
-#ifndef __NTDDCHGR_H
-#define __NTDDCHGR_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 5fa0e1a..c63347a 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDDISK_H
+#define __NTDDDISK_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Disk IOCTL interface.
  */
 
-#ifndef __NTDDDISK_H
-#define __NTDDDISK_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 71ecaff..21897cc 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDK_H
+#define __NTDDK_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Windows Device Driver Kit
  *   __USE_NTOSKRNL__ - Use ntoskrnl.exe exports instead of kernel32.dll
  */
 
-#ifndef __NTDDK_H
-#define __NTDDK_H
-#pragma GCC system_header
-
 #ifndef __USE_NTOSKRNL__
 #define __USE_NTOSKRNL__ 1
 #endif
index 6d28a92..a09f947 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDKBD_H
+#define __NTDDKBD_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Keyboard IOCTL interface
  */
 
-#ifndef __NTDDKBD_H
-#define __NTDDKBD_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 0b06b58..1415ecf 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDMOU_H
+#define __NTDDMOU_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Mouse device IOCTL interface.
  */
 
-#ifndef __NTDDMOU_H
-#define __NTDDMOU_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index e7946b9..a2966d3 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDNDIS_H
+#define __NTDDNDIS_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * NDIS device driver interface
  */
 
-#ifndef __NTDDNDIS_H
-#define __NTDDNDIS_H
-#pragma GCC system_header
-
 #pragma pack(push,4)
 
 #include "ntddk.h"
index 6bc123c..c059263 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDPAR_H
+#define __NTDDPAR_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Parallel port driver interface
  */
 
-#ifndef __NTDDPAR_H
-#define __NTDDPAR_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 67dc54d..44e9eb7 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDPCM_H
+#define __NTDDPCM_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * PCMCIA IOCTL interface
  */
 
-#ifndef __NTDDPCM_H
-#define __NTDDPCM_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3158123..ee98e12 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDSCSI_H
+#define __NTDDSCSI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * SCSI port IOCTL interface.
  */
 
-#ifndef __NTDDSCSI_H
-#define __NTDDSCSI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 824596c..0eabd53 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDSER_H
+#define __NTDDSER_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Serial port driver interface
  */
 
-#ifndef __NTDDSER_H
-#define __NTDDSER_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 587baf7..501bf7c 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDSTOR_H
+#define __NTDDSTOR_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Storage class IOCTL interface.
  */
 
-#ifndef __NTDDSTOR_H
-#define __NTDDSTOR_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 7d28975..8c04eba 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDTAPE_H
+#define __NTDDTAPE_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Tape device IOCTL interface.
  */
 
-#ifndef __NTDDTAPE_H
-#define __NTDDTAPE_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index f0a9835..c9b5744 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDTDI_H
+#define __NTDDTDI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * TDI IOCTL interface
  */
 
-#ifndef __NTDDTDI_H
-#define __NTDDTDI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index da03662..ec7121d 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDVDEO_H
+#define __NTDDVDEO_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions for video devices
  */
 
-#ifndef __NTDDVDEO_H
-#define __NTDDVDEO_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index ff3a5cc..0dd1ad5 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTDDVOL_H
+#define __NTDDVOL_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Volume IOCTL interface.
  */
 
-#ifndef __NTDDVOL_H
-#define __NTDDVOL_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index cdd15c7..62d5721 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
-
-/*
- * Windows NT Filesystem Driver Developer Kit
- */
-
 #ifndef _NTIFS_
 #define _NTIFS_
 #define _GNU_NTIFS_
 #pragma GCC system_header
+#include <_mingw.h>
+
+/*
+ * Windows NT Filesystem Driver Developer Kit
+ */
 
 #ifdef __cplusplus
 extern "C" {
index 0dfcb32..72a8e3f 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __NTPOAPI_H
+#define __NTPOAPI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * APIs for power management.
  */
 
-#ifndef __NTPOAPI_H
-#define __NTPOAPI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index d754b87..85cf6e0 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef _NTSTATUS_H
+#define _NTSTATUS_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Windows NT status codes 
  */
 
-#ifndef _NTSTATUS_H
-#define _NTSTATUS_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -37,6 +37,7 @@ extern "C" {
 #if !defined(STATUS_SUCCESS)
 #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) 
 #endif /* !STATUS_SUCCESS */
+
 #define FACILITY_DEBUGGER 0x1
 #define FACILITY_RPC_RUNTIME 0x2
 #define FACILITY_RPC_STUBS 0x3
index d0fceb4..caede86 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __PARALLEL_H
+#define __PARALLEL_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * ParPort driver interface
  */
 
-#ifndef __PARALLEL_H
-#define __PARALLEL_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 53132e4..e4b88ff 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __PFHOOK_H
+#define __PFHOOK_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Packet filter API
  */
 
-#ifndef __PFHOOK_H
-#define __PFHOOK_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 1e63b31..4fab44a 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __POCLASS_H
+#define __POCLASS_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Power policy driver interface
  */
 
-#ifndef __POCLASS_H
-#define __POCLASS_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 2220762..2ca6234 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __SCSI_H
+#define __SCSI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * SCSI port and class interface.
  */
 
-#ifndef __SCSI_H
-#define __SCSI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index ea9a0c0..399ec42 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __SCSISCAN_H
+#define __SCSISCAN_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * SCSI scanner driver interface
  */
 
-#ifndef __SCSISCAN_H
-#define __SCSISCAN_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index f6b530f..4a015eb 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __SCSIWMI_H
+#define __SCSIWMI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * SCSI WMILIB interface.
  */
 
-#ifndef __SCSIWMI_H
-#define __SCSIWMI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 93de196..2a27478 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __SMBUS_H
+#define __SMBUS_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * System Management Bus driver interface
  */
 
-#ifndef __SMBUS_H
-#define __SMBUS_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index ee616b3..310840d 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __SRB_H
+#define __SRB_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Interface between SCSI miniport drivers and the SCSI port driver.
  */
 
-#ifndef __SRB_H
-#define __SRB_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 8dc59aa..80b70bc 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __STORPORT_H
 #define __STORPORT_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __cplusplus
 extern "C" {
index db2c7c9..7f90026 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __TDI_H
+#define __TDI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * TDI user mode definitions
  */
 
-#ifndef __TDI_H
-#define __TDI_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index d9e1873..bd20505 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __TDIINFO_H
+#define __TDIINFO_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * TDI set and query information interface
  */
 
-#ifndef __TDIINFO_H
-#define __TDIINFO_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index a4a9aa0..c654ef8 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __TDIKRNL_H
+#define __TDIKRNL_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * TDI kernel mode definitions
  */
 
-#ifndef __TDIKRNL_H
-#define __TDIKRNL_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index f0ddf4e..2d62cf7 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __TDISTAT_H
+#define __TDISTAT_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * TDI status codes
  */
 
-#ifndef __TDISTAT_H
-#define __TDISTAT_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index a2c5f41..57f37f8 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __TVOUT_H
+#define __TVOUT_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions for TV-out support
  */
 
-#ifndef __TVOUT_H
-#define __TVOUT_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index fad6a6e..53ee29a 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __UPSSVC_H
+#define __UPSSVC_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * UPS service interface
  */
 
-#ifndef __UPSSVC_H
-#define __UPSSVC_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 971677c..28b68b4 100644 (file)
@@ -24,6 +24,7 @@
 #ifndef __USB_H
 #define __USB_H
 #pragma GCC system_header
+#include <_mingw.h>
 
 #ifdef __USBDI_H
 #error usbdi.h cannot be included with usb.h
index 1c1ad11..67f64b1 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USB100_H
+#define __USB100_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB 1.0 support
  */
 
-#ifndef __USB100_H
-#define __USB100_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index a854ab2..f9d2cb1 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBCAMDI_H
+#define __USBCAMDI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB Camera driver interface.
  */
 
-#ifndef __USBCAMDI_H
-#define __USBCAMDI_H
-#pragma GCC system_header
-
 #if !defined(__USB_H) && !defined(__USBDI_H)
 #error include usb.h or usbdi.h before usbcamdi.h
 #else
index aeaace4..4f88062 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBDI_H
+#define __USBDI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USBD and USB device driver definitions
  */
 
-#ifndef __USBDI_H
-#define __USBDI_H
-#pragma GCC system_header
-
 #ifdef __USB_H
 #error usb.h cannot be included with usbdi.h
 #else
index 309f24a..c420734 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBIOCTL_H
+#define __USBIOCTL_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB IOCTL interface.
  */
 
-#ifndef __USBIOCTL_H
-#define __USBIOCTL_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 5de6820..d0f4da2 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBIODEF_H
+#define __USBIODEF_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB IOCTL definitions
  */
 
-#ifndef __USBIODEF_H
-#define __USBIODEF_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 3c460e5..13dc4ab 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBSCAN_H
+#define __USBSCAN_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB scanner definitions
  */
 
-#ifndef __USBSCAN_H
-#define __USBSCAN_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 2331302..145971f 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __USBUSER_H
+#define __USBUSER_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * USB user mode IOCTL interface
  */
 
-#ifndef __USBUSER_H
-#define __USBUSER_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -47,6 +47,7 @@ extern "C" {
 #ifndef IOCTL_USB_DIAGNOSTIC_MODE_ON
 #define IOCTL_USB_DIAGNOSTIC_MODE_ON      USB_CTL(HCD_DIAGNOSTIC_MODE_ON) 
 #endif
+
 #ifndef IOCTL_USB_DIAGNOSTIC_MODE_OFF
 #define IOCTL_USB_DIAGNOSTIC_MODE_OFF     USB_CTL(HCD_DIAGNOSTIC_MODE_OFF) 
 #endif
@@ -54,6 +55,7 @@ extern "C" {
 #ifndef IOCTL_USB_GET_ROOT_HUB_NAME
 #define IOCTL_USB_GET_ROOT_HUB_NAME       USB_CTL(HCD_GET_ROOT_HUB_NAME) 
 #endif
+
 #ifndef IOCTL_GET_HCD_DRIVERKEY_NAME
 #define IOCTL_GET_HCD_DRIVERKEY_NAME      USB_CTL(HCD_GET_DRIVERKEY_NAME) 
 #endif
index f8aab22..5cdb943 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __VIDEO_H
+#define __VIDEO_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Video port and miniport driver interface
  */
 
-#ifndef __VIDEO_H
-#define __VIDEO_H
-#pragma GCC system_header
-
 #ifdef __WINDDI_H
 #error winddi.h cannot be included with video.h
 #else
index 4710aad..1b3e4c5 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __VIDEOAGP_H
+#define __VIDEOAGP_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Video miniport AGP interface
  */
 
-#ifndef __VIDEOAGP_H
-#define __VIDEOAGP_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index b622ed8..f241b6c 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WIN2K_H
+#define __WIN2K_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions only used in Windows 2000 and earlier versions
  */
 
-#ifndef __WIN2K_H
-#define __WIN2K_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index d879c89..e18d264 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WINDDI_H
+#define __WINDDI_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * GDI device driver interface
  */
 
-#ifndef __WINDDI_H
-#define __WINDDI_H
-#pragma GCC system_header
-
 #ifdef __VIDEO_H
 #error video.h cannot be included with winddi.h
 #else
index 934e2e8..aeec6fd 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WINDDK_H
+#define __WINDDK_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Windows Device Driver Kit
  */
 
-#ifndef __WINDDK_H
-#define __WINDDK_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -45,12 +45,15 @@ extern "C" {
 #ifndef NTOSAPI
 #define NTOSAPI DECL_EXPORT
 #endif
+
 #define DECLARE_INTERNAL_OBJECT(x) typedef struct _##x; typedef struct _##x *P##x;
 #define DECLARE_INTERNAL_OBJECT2(x,y) typedef struct _##x; typedef struct _##x *P##y;
 #else
+
 #ifndef NTOSAPI
 #define NTOSAPI DECL_IMPORT
 #endif
+
 #define DECLARE_INTERNAL_OBJECT(x) struct _##x; typedef struct _##x *P##x;
 #define DECLARE_INTERNAL_OBJECT2(x,y) struct _##x; typedef struct _##x *P##y;
 #endif
index 44e7f7a..8c8d537 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WINNT4_H
+#define __WINNT4_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions only used in Windows NT 4.0 and earlier versions
  */
 
-#ifndef __WINNT4_H
-#define __WINNT4_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 73121bc..9619344 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WINXP_H
+#define __WINXP_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Definitions only used in Windows XP and earlier versions
  */
 
-#ifndef __WINXP_H
-#define __WINXP_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 15fcfff..bb56dca 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __WS2SAN_H
+#define __WS2SAN_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * WinSock Direct (SAN) support
  */
 
-#ifndef __WS2SAN_H
-#define __WS2SAN_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif
index 760f1d2..f58de59 100644 (file)
  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
  * DEALINGS IN THE SOFTWARE.
  */
+#ifndef __XFILTER_H
+#define __XFILTER_H
+#pragma GCC system_header
+#include <_mingw.h>
 
 /*
  * Address filtering for NDIS MACs
  */
 
-#ifndef __XFILTER_H
-#define __XFILTER_H
-#pragma GCC system_header
-
 #ifdef __cplusplus
 extern "C" {
 #endif