INetFwServices interface (netfw.h)

[The Windows Firewall API is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. For Windows Vista and later, use of the Windows Firewall with Advanced Security API is recommended.]

The INetFwServices interface is a standard Automation interface which provides access to a collection of services that may be authorized to listen through the firewall.

Inheritance

The INetFwServices interface inherits from the IDispatch interface. INetFwServices also has these types of members:

Methods

The INetFwServices interface has these methods.

 
INetFwServices::get__NewEnum

Returns an object supporting IEnumVARIANT that can be used to iterate through all the services in the collection.
INetFwServices::get_Count

Retrieves a read-only element yielding the number of items in the collection. (INetFwServices.get_Count)
INetFwServices::Item

Returns the specified service if it is in the collection.

Remarks

An instance of this interface is retrieved through the Services property of the INetFwProfile interface.

All configuration changes take effect immediately.

Requirements

Requirement Value
Minimum supported client Windows Vista, Windows XP with SP2 [desktop apps only]
Minimum supported server Windows Server 2003 with SP1 [desktop apps only]
Target Platform Windows
Header netfw.h

See also

IDispatch

INetFwProfile.Services

IUnknown