/usr/include/wine/windows/netfw.idl is in libwine-dev 1.8.7-2.
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 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 | /*
* Copyright 2007 Jeff Latimer
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*
*****************************************************************************
*
* The firewall management interface
*
*/
import "icftypes.idl";
import "oaidl.idl";
[
object,
uuid(A6207B2E-7CDD-426A-951E-5E1CBC5AFEAD),
dual
]
interface INetFwIcmpSettings : IDispatch
{
[id(1), propget]
HRESULT AllowOutboundDestinationUnreachable([out, retval] VARIANT_BOOL* allow);
[id(1), propput]
HRESULT AllowOutboundDestinationUnreachable( [in] VARIANT_BOOL allow );
[id(2), propget]
HRESULT AllowRedirect( [out, retval] VARIANT_BOOL* allow );
[id(2), propput]
HRESULT AllowRedirect( [in] VARIANT_BOOL allow );
[id(3), propget]
HRESULT AllowInboundEchoRequest( [out, retval] VARIANT_BOOL* allow );
[id(3), propput]
HRESULT AllowInboundEchoRequest( [in] VARIANT_BOOL allow );
[id(4), propget]
HRESULT AllowOutboundTimeExceeded( [out, retval] VARIANT_BOOL* allow );
[id(4), propput]
HRESULT AllowOutboundTimeExceeded( [in] VARIANT_BOOL allow );
[id(5), propget]
HRESULT AllowOutboundParameterProblem( [out, retval] VARIANT_BOOL* allow );
[id(5), propput]
HRESULT AllowOutboundParameterProblem( [in] VARIANT_BOOL allow );
[id(6), propget]
HRESULT AllowOutboundSourceQuench( [out, retval] VARIANT_BOOL* allow );
[id(6), propput]
HRESULT AllowOutboundSourceQuench( [in] VARIANT_BOOL allow );
[id(7), propget]
HRESULT AllowInboundRouterRequest( [out, retval] VARIANT_BOOL* allow );
[id(7), propput]
HRESULT AllowInboundRouterRequest( [in] VARIANT_BOOL allow );
[id(8), propget]
HRESULT AllowInboundTimestampRequest( [out, retval] VARIANT_BOOL* allow );
[id(8), propput]
HRESULT AllowInboundTimestampRequest( [in] VARIANT_BOOL allow );
[id(9), propget]
HRESULT AllowInboundMaskRequest( [out, retval] VARIANT_BOOL* allow );
[id(9), propput]
HRESULT AllowInboundMaskRequest( [in] VARIANT_BOOL allow );
[id(10), propget]
HRESULT AllowOutboundPacketTooBig( [out, retval] VARIANT_BOOL* allow );
[id(10), propput]
HRESULT AllowOutboundPacketTooBig( [in] VARIANT_BOOL allow );
}
[
object,
uuid(E0483BA0-47FF-4D9C-A6D6-7741D0B195F7),
dual
]
interface INetFwOpenPort : IDispatch
{
[id(1), propget]
HRESULT Name( [out, retval] BSTR* name );
[id(1), propput]
HRESULT Name( [in] BSTR name );
[id(2), propget]
HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
[id(2), propput]
HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
[id(3), propget]
HRESULT Protocol( [out, retval] NET_FW_IP_PROTOCOL* ipProtocol );
[id(3), propput]
HRESULT Protocol( [in] NET_FW_IP_PROTOCOL ipProtocol );
[id(4), propget]
HRESULT Port( [out, retval] LONG* portNumber );
[id(4), propput]
HRESULT Port( [in] LONG portNumber );
[id(5), propget]
HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
[id(5), propput]
HRESULT Scope( [in] NET_FW_SCOPE scope );
[id(6), propget]
HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
[id(6), propput]
HRESULT RemoteAddresses( [in] BSTR remoteAddrs );
[id(7), propget]
HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
[id(7), propput]
HRESULT Enabled( [in] VARIANT_BOOL enabled );
[id(8), propget]
HRESULT BuiltIn( [out, retval] VARIANT_BOOL* builtIn );
}
[
object,
uuid(C0E9D7FA-E07E-430A-B19A-090CE82D92E2),
dual
]
interface INetFwOpenPorts : IDispatch
{
[id(1), propget]
HRESULT Count( [out, retval] long* count );
[id(2)]
HRESULT Add( [in] INetFwOpenPort* port );
[id(3)]
HRESULT Remove( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol );
[id(4)]
HRESULT Item( [in] LONG portNumber, [in] NET_FW_IP_PROTOCOL ipProtocol,
[out, retval] INetFwOpenPort** openPort );
[id(DISPID_NEWENUM), propget, restricted]
HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
}
[
object,
uuid(79FD57C8-908E-4A36-9888-D5B3F0A444CF),
dual
]
interface INetFwService : IDispatch
{
[id(1), propget]
HRESULT Name( [out, retval] BSTR* name );
[id(2), propget]
HRESULT Type( [out, retval] NET_FW_SERVICE_TYPE* type );
[id(3), propget]
HRESULT Customized( [out, retval] VARIANT_BOOL* customized );
[id(4), propget]
HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
[id(4), propput]
HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
[id(5), propget]
HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
[id(5), propput]
HRESULT Scope( [in] NET_FW_SCOPE scope );
[id(6), propget]
HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
[id(6), propput]
HRESULT RemoteAddresses( [in] BSTR remoteAddrs );
[id(7), propget]
HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
[id(7), propput]
HRESULT Enabled( [in] VARIANT_BOOL enabled );
[id(8), propget]
HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts );
}
[
object,
uuid(79649BB4-903E-421B-94C9-79848E79F6EE),
dual
]
interface INetFwServices : IDispatch
{
[id(1), propget]
HRESULT Count( [out, retval] long* count );
[id(2)]
HRESULT Item( [in] NET_FW_SERVICE_TYPE svcType,
[out, retval] INetFwService** service );
[id(DISPID_NEWENUM), propget, restricted]
HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
}
[
object,
uuid(B5E64FFA-C2C5-444E-A301-FB5E00018050),
dual
]
interface INetFwAuthorizedApplication : IDispatch
{
[id(1), propget]
HRESULT Name( [out, retval] BSTR* name );
[id(1), propput]
HRESULT Name( [in] BSTR name );
[id(2), propget]
HRESULT ProcessImageFileName( [out, retval] BSTR* imageFileName );
[id(2), propput]
HRESULT ProcessImageFileName( [in] BSTR imageFileName );
[id(3), propget]
HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
[id(3), propput]
HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
[id(4), propget]
HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
[id(4), propput]
HRESULT Scope( [in] NET_FW_SCOPE scope );
[id(5), propget]
HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
[id(5), propput]
HRESULT RemoteAddresses( [in] BSTR remoteAddrs );
[id(6), propget]
HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
[id(6), propput]
HRESULT Enabled( [in] VARIANT_BOOL enabled );
}
[
object,
uuid(D4BECDDF-6F73-4A83-B832-9C66874CD20E),
dual
]
interface INetFwRemoteAdminSettings : IDispatch
{
[id(1), propget]
HRESULT IpVersion( [out, retval] NET_FW_IP_VERSION* ipVersion );
[id(1), propput]
HRESULT IpVersion( [in] NET_FW_IP_VERSION ipVersion );
[id(2), propget]
HRESULT Scope( [out, retval] NET_FW_SCOPE* scope );
[id(2), propput]
HRESULT Scope( [in] NET_FW_SCOPE scope );
[id(3), propget]
HRESULT RemoteAddresses( [out, retval] BSTR* remoteAddrs );
[id(3), propput]
HRESULT RemoteAddresses( [in] BSTR remoteAddrs );
[id(4), propget]
HRESULT Enabled( [out, retval] VARIANT_BOOL* enabled );
[id(4), propput]
HRESULT Enabled( [in] VARIANT_BOOL enabled );
}
[
object,
uuid(644EFD52-CCF9-486C-97A2-39F352570B30),
dual
]
interface INetFwAuthorizedApplications : IDispatch
{
[id(1), propget]
HRESULT Count( [out, retval] long* count );
[id(2)]
HRESULT Add( [in] INetFwAuthorizedApplication* app );
[id(3)]
HRESULT Remove( [in] BSTR imageFileName );
[id(4)]
HRESULT Item( [in] BSTR imageFileName,
[out, retval] INetFwAuthorizedApplication** app );
[id(DISPID_NEWENUM), propget, restricted]
HRESULT _NewEnum( [out, retval] IUnknown** newEnum );
}
[
object,
uuid(174A0DDA-E9F9-449D-993B-21AB667CA456),
dual
]
interface INetFwProfile : IDispatch
{
[id(1), propget]
HRESULT Type( [out, retval] NET_FW_PROFILE_TYPE* type );
[id(2), propget]
HRESULT FirewallEnabled( [out, retval] VARIANT_BOOL* enabled );
[id(2), propput]
HRESULT FirewallEnabled( [in] VARIANT_BOOL enabled );
[id(3), propget]
HRESULT ExceptionsNotAllowed( [out, retval] VARIANT_BOOL* notAllowed );
[id(3), propput]
HRESULT ExceptionsNotAllowed( [in] VARIANT_BOOL notAllowed );
[id(4), propget]
HRESULT NotificationsDisabled( [out, retval] VARIANT_BOOL* disabled );
[id(4), propput]
HRESULT NotificationsDisabled( [in] VARIANT_BOOL disabled );
[id(5), propget]
HRESULT UnicastResponsesToMulticastBroadcastDisabled( [out, retval] VARIANT_BOOL* disabled );
[id(5), propput]
HRESULT UnicastResponsesToMulticastBroadcastDisabled( [in] VARIANT_BOOL disabled );
[id(6), propget]
HRESULT RemoteAdminSettings( [out, retval] INetFwRemoteAdminSettings** remoteAdminSettings );
[id(7), propget]
HRESULT IcmpSettings( [out, retval] INetFwIcmpSettings** icmpSettings );
[id(8), propget]
HRESULT GloballyOpenPorts( [out, retval] INetFwOpenPorts** openPorts );
[id(9), propget]
HRESULT Services( [out, retval] INetFwServices** services );
[id(10), propget]
HRESULT AuthorizedApplications( [out, retval] INetFwAuthorizedApplications** apps );
}
[
object,
uuid(D46D2478-9AC9-4008-9DC7-5563CE5536CC),
dual
]
interface INetFwPolicy : IDispatch
{
[id(1), propget]
HRESULT CurrentProfile( [out, retval] INetFwProfile** profile );
[id(2)]
HRESULT GetProfileByType( [in] NET_FW_PROFILE_TYPE profileType,
[out, retval] INetFwProfile** profile );
}
[
object,
uuid(F7898AF5-CAC4-4632-A2EC-DA06E5111AF2),
dual
]
interface INetFwMgr : IDispatch
{
[id(1), propget]
HRESULT LocalPolicy( [out, retval] INetFwPolicy** localPolicy );
[id(2), propget]
HRESULT CurrentProfileType( [out, retval] NET_FW_PROFILE_TYPE* profileType );
[id(3)]
HRESULT RestoreDefaults();
[id(4)]
HRESULT IsPortAllowed( [in] BSTR imageFileName, [in] NET_FW_IP_VERSION ipVersion,
[in] LONG portNumber, [in] BSTR localAddress,
[in] NET_FW_IP_PROTOCOL ipProtocol, [out] VARIANT* allowed,
[out] VARIANT* restricted );
[id(5)]
HRESULT IsIcmpTypeAllowed( [in] NET_FW_IP_VERSION ipVersion, [in] BSTR localAddress,
[in] BYTE type, [out] VARIANT* allowed,
[out] VARIANT* restricted );
}
[
uuid(DB4F3345-3EF8-45ED-B976-25A6D3B81B71),
version(1.0)
]
library NetFwPublicTypeLib
{
importlib("stdole2.tlb");
interface INetFwRemoteAdminSettings;
interface INetFwIcmpSettings;
interface INetFwOpenPort;
interface INetFwOpenPorts;
interface INetFwService;
interface INetFwServices;
interface INetFwAuthorizedApplication;
interface INetFwAuthorizedApplications;
interface INetFwProfile;
interface INetFwPolicy;
interface INetFwMgr;
[
uuid(0CA545C6-37AD-4A6C-BF92-9F7610067EF5)
]
coclass NetFwOpenPort
{
[default] interface INetFwOpenPort;
}
[
uuid(EC9846B3-2762-4A6B-A214-6ACB603462D2)
]
coclass NetFwAuthorizedApplication
{
[default] interface INetFwAuthorizedApplication;
}
[
uuid(304CE942-6E39-40D8-943A-B913C40C9CD4)
]
coclass NetFwMgr
{
[default] interface INetFwMgr;
}
}
|