* 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.
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.
** 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
#ifndef __ATM_H
#define __ATM_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
#ifndef __BATCLASS_H
#define __BATCLASS_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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
* 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
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;
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
/*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 */
/*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 */
/*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 */
/*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
/*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
/*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
/*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
#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 */
/*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 */
* 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
#ifndef __D4IFACE_H
#define __D4IFACE_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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
#ifndef __HIDCLASS_H
#define __HIDCLASS_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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
#ifndef _HIDSDI_H
#define _HIDSDI_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
#ifndef __HIDUSAGE_H
#define __HIDUSAGE_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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>
* 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
* 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
#ifndef __MINITAPE_H
#define __MINITAPE_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
} TAPE_STATUS, *PTAPE_STATUS;
#define INQUIRYDATABUFFERSIZE 36
+
#ifndef _INQUIRYDATA_DEFINED /* also in scsi.h */
#define _INQUIRYDATA_DEFINED
typedef struct _INQUIRYDATA {
* 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
#ifndef __MOUNTMGR_H
#define __MOUNTMGR_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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
* 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" {
* 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
* 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
#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
#define LINE_PROXYREQUEST 24L
#define LINE_REMOVE 25L
#endif
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00020002)
#define LINE_AGENTSESSIONSTATUS 27L
#define LINE_QUEUESTATUS 28L
#define LINE_GROUPSTATUS 30L
#define LINE_PROXYSTATUS 31L
#endif
+
#if (TAPI_CURRENT_VERSION >= 0x00030000)
#define LINE_APPNEWCALLHUB 32L
#define LINE_CALLHUBCLOSE 33L
#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
#define LINEADDRCAPFLAGS_NOEXTERNALCALLS 0x10000000
#define LINEADDRCAPFLAGS_SETCALLINGID 0x20000000
#endif
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00030000)
#define LINEADDRCAPFLAGS_ACDGROUP 0x40000000
#define LINEADDRCAPFLAGS_NOPSTNADDRESSTRANSLATION \
#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
#define LINEBEARERMODE_ALTSPEECHDATA 0x00000010
#define LINEBEARERMODE_NONCALLSIGNALING 0x00000020
#define LINEBEARERMODE_PASSTHROUGH 0x00000040
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
#define LINEBEARERMODE_RESTRICTEDDATA 0x00000080
#endif
#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
#define LINECALLPARAMFLAGS_BLOCKID 0x00000004
#define LINECALLPARAMFLAGS_ORIGOFFHOOK 0x00000008
#define LINECALLPARAMFLAGS_DESTOFFHOOK 0x00000010
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
#define LINECALLPARAMFLAGS_NOHOLDCONFERENCE \
0x00000020
#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
#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
#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
#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
#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
#define LINEMEDIAMODE_VOICEVIEW 0x00004000
#define LAST_LINEMEDIAMODE 0x00004000
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00020001)
#define LINEMEDIAMODE_VIDEO 0x00008000
#define LAST_LINEMEDIAMODE 0x00008000
#define LINETRANSLATERESULT_DIALQUIET 0x00000080
#define LINETRANSLATERESULT_DIALDIALTONE 0x00000100
#define LINETRANSLATERESULT_DIALPROMPT 0x00000200
+
#if (NDIS_TAPI_CURRENT_VERSION >= 0x00020000)
#define LINETRANSLATERESULT_VOICEDETECT 0x00000400
#endif
* 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
#ifndef __NETEVENT_H
#define __NETEVENT_H
#pragma GCC system_header
+#include <_mingw.h>
#define EVENT_TRANSPORT_REGISTER_FAILED 0xC000232CL
* 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
* 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
DWORD InstallFlags,
PBOOL bRebootRequired /*OPTIONAL*/);
-#ifdef UNICODE
-#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesW
-#else
-#define UpdateDriverForPlugAndPlayDevices UpdateDriverForPlugAndPlayDevicesA
-#endif /* UNICODE */
+#define UpdateDriverForPlugAndPlayDevices __AW(UpdateDriverForPlugAndPlayDevices)
#ifdef __cplusplus
}
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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"
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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" {
* 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
* 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
#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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
#ifndef __STORPORT_H
#define __STORPORT_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
* 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
* 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
* 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
* 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
* 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
* 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
#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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
#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
#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
* 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
* 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
* 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
* 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
* 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
#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
* 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
* 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
* 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
* 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