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 fwpstypes.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 __fwpstypes_h__
39 #define __fwpstypes_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 "fwptypes.h"
49
50 #ifdef __cplusplus
51 extern "C"{
52 #endif 
53
54
55 /* interface __MIDL_itf_fwpstypes_0000_0000 */
56 /* [local] */ 
57
58 #if _MSC_VER >=  800
59 #if _MSC_VER >= 1200
60 #pragma warning(push)
61 #endif
62 #pragma warning(disable:4201)
63 #endif
64 typedef struct FWPS_FILTER_CONDITION0_
65       {
66       UINT16 fieldId;
67       UINT16 reserved;
68       FWP_MATCH_TYPE matchType;
69       FWP_CONDITION_VALUE0 conditionValue;
70       }     FWPS_FILTER_CONDITION0;
71
72 typedef struct FWPS_ACTION0_
73       {
74       FWP_ACTION_TYPE type;
75       UINT32 calloutId;
76       }     FWPS_ACTION0;
77
78 #define FWPS_FILTER_FLAG_CLEAR_ACTION_RIGHT      (0x0001)
79 #define FWPS_FILTER_FLAG_PERMIT_IF_CALLOUT_UNREGISTERED     (0x0002)
80 typedef struct FWPM_PROVIDER_CONTEXT0_ FWPM_PROVIDER_CONTEXT0;
81
82 typedef struct FWPS_FILTER0_
83       {
84       UINT64 filterId;
85       FWP_VALUE0 weight;
86       UINT16 subLayerWeight;
87       UINT16 flags;
88       UINT32 numFilterConditions;
89       FWPS_FILTER_CONDITION0 *filterCondition;
90       FWPS_ACTION0 action;
91       UINT64 context;
92       FWPM_PROVIDER_CONTEXT0 *providerContext;
93       }     FWPS_FILTER0;
94
95 typedef struct FWPS_INCOMING_VALUE0_
96       {
97       FWP_VALUE0 value;
98       }     FWPS_INCOMING_VALUE0;
Lines 99 ... 108 are skipped.
109       {    FWPS_DISCARD_MODULE_NETWORK    = 0,
110     FWPS_DISCARD_MODULE_TRANSPORT    = ( FWPS_DISCARD_MODULE_NETWORK + 1 ) ,
111     FWPS_DISCARD_MODULE_GENERAL    = ( FWPS_DISCARD_MODULE_TRANSPORT + 1 ) ,
112     FWPS_DISCARD_MODULE_MAX    = ( FWPS_DISCARD_MODULE_GENERAL + 1 ) 
113       }     FWPS_DISCARD_MODULE0;
114
115 typedef 
116 enum FWPS_GENERAL_DISCARD_REASON_
117       {    FWPS_DISCARD_FIREWALL_POLICY    = 0,
118     FWPS_DISCARD_IPSEC    = ( FWPS_DISCARD_FIREWALL_POLICY + 1 ) ,
119     FWPS_GENERAL_DISCARD_REASON_MAX    = ( FWPS_DISCARD_IPSEC + 1 ) 
120       }     FWPS_GENERAL_DISCARD_REASON;
121
122 typedef struct FWPS_DISCARD_METADATA0_
123       {
124       FWPS_DISCARD_MODULE0 discardModule;
125       UINT32 discardReason;
126       UINT64 filterId;
127       }     FWPS_DISCARD_METADATA0;
128
129 typedef struct FWPS_INBOUND_FRAGMENT_METADATA0_
130       {
131       UINT32 fragmentIdentification;
132       UINT16 fragmentOffset;
133       ULONG fragmentLength;
134       }     FWPS_INBOUND_FRAGMENT_METADATA0;
135
136 #define FWPS_INCOMING_FLAG_CACHE_SAFE                                         (0x00000001)
137 #define FWPS_INCOMING_FLAG_ENFORCE_QUERY                                    (0x00000002)
138 #define FWPS_INCOMING_FLAG_ABSORB                                                (0x00000004)
139 #define FWPS_INCOMING_FLAG_CONNECTION_FAILING_INDICATION          (0x00000008)
140 #define FWPS_RIGHT_ACTION_WRITE                (0x00000001)
141 #define FWPS_CLASSIFY_OUT_FLAG_ABSORB                                    (0x00000001)
142 #define FWPS_CLASSIFY_OUT_FLAG_BUFFER_LIMIT_REACHED             (0x00000002)
143 #define FWPS_CLASSIFY_OUT_FLAG_NO_MORE_DATA                          (0x00000004)
144 typedef struct FWPS_CLASSIFY_OUT0_
145       {
146       FWP_ACTION_TYPE actionType;
147       UINT64 outContext;
148       UINT64 filterId;
149       UINT32 rights;
150       UINT32 flags;
151       UINT32 reserved;
152       }     FWPS_CLASSIFY_OUT0;
153
154 typedef 
155 enum FWPS_CALLOUT_NOTIFY_TYPE_
156       {    FWPS_CALLOUT_NOTIFY_ADD_FILTER    = 0,
157     FWPS_CALLOUT_NOTIFY_DELETE_FILTER    = ( FWPS_CALLOUT_NOTIFY_ADD_FILTER + 1 ) ,
158     FWPS_CALLOUT_NOTIFY_TYPE_MAX    = ( FWPS_CALLOUT_NOTIFY_DELETE_FILTER + 1 ) 
159       }     FWPS_CALLOUT_NOTIFY_TYPE;
160
161 #if _MSC_VER >=  800
162 #if _MSC_VER >= 1200
163 #pragma warning(pop)
164 #else
165 #pragma warning(default:4201)
166 #endif
167 #endif
168
169
170 extern RPC_IF_HANDLE __MIDL_itf_fwpstypes_0000_0000_v0_0_c_ifspec;
171 extern RPC_IF_HANDLE __MIDL_itf_fwpstypes_0000_0000_v0_0_s_ifspec;
172
173 /* Additional Prototypes for ALL interfaces */
174
175 /* end of Additional Prototypes */
176
177 #ifdef __cplusplus
178 }
179 #endif
180
181 #endif
182
183
184
185