/usr/i686-w64-mingw32/include/ndattrib.h is in mingw-w64-i686-dev 2.0.3-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | /**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_NDATTRIB
#define _INC_NDATTRIB
#if (_WIN32_WINNT >= 0x0600)
/* In ndhelper.idl
typedef struct tagDIAG_SOCKADDR {
USHORT family;
CHAR data[126];
} DIAG_SOCKADDR, *PDIAG_SOCKADDR;
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef struct tagDIAG_SOCKADDR DIAG_SOCKADDR;
typedef enum tagATTRIBUTE_TYPE {
AT_INVALID = 0,
AT_BOOLEAN,
AT_INT8,
AT_UINT8,
AT_INT16,
AT_UINT16,
AT_INT32,
AT_UINT32,
AT_INT64,
AT_UINT64,
AT_STRING,
AT_GUID,
AT_LIFE_TIME,
AT_SOCKADDR,
AT_OCTET_STRING
} ATTRIBUTE_TYPE;
typedef enum tagREPAIR_SCOPE {
RS_SYSTEM = 0,
RS_USER = 1,
RS_APPLICATION = 2,
RS_PROCESS = 3
} REPAIR_SCOPE;
typedef enum tagREPAIR_RISK {
RR_NOROLLBACK = 0,
RR_ROLLBACK = 1,
RR_NORISK = 2
} REPAIR_RISK;
typedef enum tagUI_INFO_TYPE {
UIT_NONE = 0,
UIT_SHELL_COMMAND,
UIT_HELP_PANE,
UIT_DUI
} UI_INFO_TYPE;
typedef enum tagPROBLEM_TYPE {
PT_LOW_HEALTH = 1,
PT_LOWER_HEALTH = 2,
PT_DOWN_STREAM_HEALTH = 4,
PT_HIGH_UTILIZATION = 8,
PT_HIGHER_UTILIZATION = 16,
PT_UP_STREAM_UTILIZATION = 32
} PROBLEM_TYPE;
typedef enum tagREPAIR_STATUS {
RS_NOT_IMPLEMENTED = 0,
RS_REPAIRED = 1,
RS_UNREPAIRED = 2,
RS_DEFERRED = 3,
RS_USER_ACTION = 4
} REPAIR_STATUS;
typedef struct tagLIFE_TIME {
FILETIME startTime;
FILETIME endTime;
} LIFE_TIME, *PLIFE_TIME;
typedef struct tagOCTET_STRING {
DWORD dwLength;
BYTE *lpValue;
} OCTET_STRING, *POCTET_STRING;
typedef struct tagUiInfo {
UI_INFO_TYPE type;
__C89_NAMELESS union {
LPWSTR pwzNull;
ShellCommandInfo ShellInfo;
LPWSTR pwzHelpURL;
LPWSTR pwzDui;
};
} UiInfo, *PUiInfo;
typedef struct tagRepairInfo {
GUID guid;
LPWSTR pwszClassName;
LPWSTR pwszDescription;
DWORD sidType;
long cost;
ULONG flags;
REPAIR_SCOPE scope;
REPAIR_RISK risk;
UiInfo UiInfo;
} RepairInfo, *PRepairInfo;
typedef struct tagShellCommandInfo {
LPWSTR pwszOperation;
LPWSTR pwszFile;
LPWSTR pwszParameters;
LPWSTR pwszDirectory;
ULONG nShowCmd;
} ShellCommandInfo, *PShellCommandInfo;
typedef struct tagHELPER_ATTRIBUTE {
LPWSTR pwszName;
ATTRIBUTE_TYPE type;
__C89_NAMELESS union {
WINBOOL Boolean;
char Char;
byte Byte;
short Short;
WORD Word;
int Int;
DWORD DWord;
LONGLONG Int64;
ULONGLONG UInt64;
LPWSTR PWStr;
GUID Guid;
LIFE_TYPE LifeTime;
DIAG_SOCKADDR Address;
OCTET_STRING OctetString;
};
} HELPER_ATTRIBUTE;
#ifdef __cplusplus
}
#endif
#if (_WIN32_WINNT >= 0x0601)
#ifdef __cplusplus
extern "C" {
#endif
#define RCF_ISLEAF 0x1
#define RCF_ISCONFIRMED 0x2
#define RCF_ISTHIRDPARTY 0x4
typedef struct tagRepairInfoEx {
RepairInfo repair;
USHORT repairRank;
} RepairInfoEx, *PRepairInfoEx;
typedef struct tagRootCauseInfo {
LPWSTR pwszDescription;
GUID rootCauseID;
DWORD rootCauseFlags;
GUID networkInterfaceID;
RepairInfoEx *pRepairs;
USHORT repairCount;
} RootCauseInfo;
#ifdef __cplusplus
}
#endif
#endif /*(_WIN32_WINNT >= 0x0601)*/
#endif /*(_WIN32_WINNT >= 0x0600)*/
#endif /*_INC_NDATTRIB*/
|