1
2
3 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
4
5
6  /* File created by MIDL compiler version 7.00.0499 */
7 /* Compiler settings for naptypes.idl:
8       Oicf, W1, Zp8, env=Win32 (32b run)
9       protocol : dce , ms_ext, c_ext, robust
10       error checks: allocation ref bounds_check enum stub_data 
11       VC __declspec() decoration level: 
12                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
13                DECLSPEC_UUID(), MIDL_INTERFACE()
14 */
15 //@@MIDL_FILE_HEADING(  )
16
17 #pragma warning( disable: 4049 )  /* more than 64k source lines */
18
19
20 /* verify that the <rpcndr.h> version is high enough to compile this file*/
21 #ifndef __REQUIRED_RPCNDR_H_VERSION__
22 #define __REQUIRED_RPCNDR_H_VERSION__ 500
23 #endif
24
25 /* verify that the <rpcsal.h> version is high enough to compile this file*/
26 #ifndef __REQUIRED_RPCSAL_H_VERSION__
27 #define __REQUIRED_RPCSAL_H_VERSION__ 100
28 #endif
29
30 #include "rpc.h"
31 #include "rpcndr.h"
32
33 #ifndef __RPCNDR_H_VERSION__
34 #error this stub requires an updated version of <rpcndr.h>
35 #endif // __RPCNDR_H_VERSION__
36
37
38 #ifndef __naptypes_h__
39 #define __naptypes_h__
40
41 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
42 #pragma once
43 #endif
44
45 /* Forward Declarations */ 
46
47 /* header files for imported files */
48 #include "oaidl.h"
49 #include "ocidl.h"
50
51 #ifdef __cplusplus
52 extern "C"{
53 #endif 
54
55
56 /* interface __MIDL_itf_naptypes_0000_0000 */
57 /* [local] */ 
58
59
60
61
62
63 extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0000_v0_0_c_ifspec;
64 extern RPC_IF_HANDLE __MIDL_itf_naptypes_0000_0000_v0_0_s_ifspec;
65
66 #ifndef __INapTypes_INTERFACE_DEFINED__
67 #define __INapTypes_INTERFACE_DEFINED__
68
69 /* interface INapTypes */
70 /* [unique] */ 
71
72 #define    maxSoHAttributeCount    ( 100 )
73
74 #define    maxSoHAttributeSize    ( 4000 )
75
76 #define    minNetworkSoHSize    ( 12 )
77
78 #define    maxNetworkSoHSize    ( 4000 )
79
80 #define    maxDwordCountPerSoHAttribute    ( ( maxSoHAttributeSize / sizeof( DWORD  ) )  )
81
82 #define    maxIpv4CountPerSoHAttribute    ( ( maxSoHAttributeSize / 4 )  )
83
84 #define    maxIpv6CountPerSoHAttribute    ( ( maxSoHAttributeSize / 16 )  )
85
86 #define    maxStringLength    ( 1024 )
87
88 #define    maxStringLengthInBytes    ( ( (( maxStringLength + 1 ) ) * sizeof( WCHAR  ) )  )
89
90 #define    maxSystemHealthEntityCount    ( 20 )
91
92 #define    maxEnforcerCount    ( 20 )
93
94 #define    maxPrivateDataSize    ( 200 )
95
96 #define    maxConnectionCountPerEnforcer    ( 20 )
97
98 #define    maxCachedSoHCount    ( ( ( maxSystemHealthEntityCount * maxEnforcerCount )  * maxConnectionCountPerEnforcer )  )
99
100 #define    freshSoHRequest    ( 0x1 )
101
102 #define    shaFixup    ( 0x1 )
103
104 typedef 
105 enum tagIsolationState
106       {    isolationStateNotRestricted    = 1,
107     isolationStateInProbation    = 2,
108     isolationStateRestrictedAccess    = 3
109       }     IsolationState;
110
111 typedef 
112 enum tagNapTracingLevel
113       {    tracingLevelUndefined    = 0,
114     tracingLevelBasic    = 1,
115     tracingLevelAdvanced    = 2,
116     tracingLevelDebug    = 3
117       }     NapTracingLevel;
118
119 typedef FILETIME ProbationTime;
120
121 typedef struct tagCountedString
122       {
123       UINT16 length;
124       WCHAR *string;
125       }     CountedString;
126
127 typedef struct tagIsolationInfo
128       {
129       IsolationState isolationState;
130       ProbationTime probEndTime;
131       CountedString failureUrl;
132       }     IsolationInfo;
133
134 #define    failureCategoryCount    ( 5 )
135
136 typedef 
137 enum tagFailureCategory
138       {    failureCategoryNone    = 0,
139     failureCategoryOther    = 1,
140     failureCategoryClientComponent    = 2,
141     failureCategoryClientCommunication    = 3,
142     failureCategoryServerComponent    = 4,
143     failureCategoryServerCommunication    = 5
144       }     FailureCategory;
145
146 typedef struct tagFailureCategoryMapping
147       {
148       BOOL mappingCompliance[ 5 ];
149       }     FailureCategoryMapping;
150
151 typedef UINT32 NapComponentId;
Lines 152 ... 161 are skipped.
162
163 typedef /* [range] */ UINT16 EnforcementEntityCount;
164
165 typedef struct tagCorrelationId
166       {
167       GUID connId;
168       FILETIME timeStamp;
169       }     CorrelationId;
170
171 typedef CountedString StringCorrelationId;
172
173 typedef GUID ConnectionId;
174
175 #define    percentageNotSupported    ( 101 )
176
177 typedef /* [range] */ UINT8 Percentage;
178
179 typedef UINT32 MessageId;
180
181 typedef struct tagResultCodes
182       {
183       UINT16 count;
184       HRESULT *results;
185       }     ResultCodes;
186
187 typedef struct tagIpv4Address
188       {
189       BYTE addr[ 4 ];
190       }     Ipv4Address;
191
192 typedef struct tagIpv6Address
193       {
194       BYTE addr[ 16 ];
195       }     Ipv6Address;
196
197 typedef 
198 enum tagFixupState
199       {    fixupStateSuccess    = 0,
200     fixupStateInProgress    = 1,
201     fixupStateCouldNotUpdate    = 2
202       }     FixupState;
203
204 typedef struct tagFixupInfo
205       {
206       FixupState state;
207       Percentage percentage;
208       ResultCodes resultCodes;
209       MessageId fixupMsgId;
210       }     FixupInfo;
211
212 typedef 
213 enum tagNapNotifyType
214       {    napNotifyTypeUnknown    = 0,
215     napNotifyTypeServiceState    = 1,
216     napNotifyTypeQuarState    = 2
217       }     NapNotifyType;
218
219 typedef struct tagSystemHealthAgentState
220       {
221       SystemHealthEntityId id;
222       ResultCodes shaResultCodes;
223       FailureCategory failureCategory;
224       FixupInfo fixupInfo;
225       }     SystemHealthAgentState;
226
227 typedef struct tagSoHAttribute
228       {
229       UINT16 type;
230       UINT16 size;
231       BYTE *value;
232       }     SoHAttribute;
233
234 typedef struct tagSoH
235       {
236       UINT16 count;
237       SoHAttribute *attributes;
238       }     SoH;
239
240 typedef struct tagSoH SoHRequest;
241
242 typedef struct tagSoH SoHResponse;
243
244 typedef struct tagNetworkSoH
245       {
246       UINT16 size;
247       BYTE *data;
248       }     NetworkSoH;
249
250 typedef struct tagNetworkSoH NetworkSoHRequest;
251
252 typedef struct tagNetworkSoH NetworkSoHResponse;
253
254 typedef struct tagPrivateData
255       {
256       UINT16 size;
257       BYTE *data;
258       }     PrivateData;
259
260 typedef struct tagNapComponentRegistrationInfo
261       {
262       NapComponentId id;
263       CountedString friendlyName;
264       CountedString description;
265       CountedString version;
266       CountedString vendorName;
267       CLSID infoClsid;
268       CLSID configClsid;
269       FILETIME registrationDate;
270       UINT32 componentType;
271       }     NapComponentRegistrationInfo;
272
273
274
275 extern RPC_IF_HANDLE INapTypes_v0_0_c_ifspec;
276 extern RPC_IF_HANDLE INapTypes_v0_0_s_ifspec;
277 #endif /* __INapTypes_INTERFACE_DEFINED__ */
278
279 /* Additional Prototypes for ALL interfaces */
280
281 /* end of Additional Prototypes */
282
283 #ifdef __cplusplus
284 }
285 #endif
286
287 #endif
288
289
290
291