Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
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 Firewall with Advanced SecurityWindows API is recommended.
The NET_FW_SERVICE_TYPE enumerated type specifies the type of service.
Syntax
typedef enum NET_FW_SERVICE_TYPE_ {
NET_FW_SERVICE_FILE_AND_PRINT = 0,
NET_FW_SERVICE_UPNP,
NET_FW_SERVICE_REMOTE_DESKTOP,
NET_FW_SERVICE_NONE,
NET_FW_SERVICE_TYPE_MAX
} NET_FW_SERVICE_TYPE;
Constants
NET_FW_SERVICE_FILE_AND_PRINTValue: 0 Service type is File and Print Sharing. |
NET_FW_SERVICE_UPNPService type is UPnP Framework. |
NET_FW_SERVICE_REMOTE_DESKTOPService type is Remote Desktop. |
NET_FW_SERVICE_NONENot a valid service type. This is used to indicate that a port is not part of a service. |
NET_FW_SERVICE_TYPE_MAXUsed for boundary checking only. Not valid for application programming. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2 [desktop apps only] |
| Minimum supported server | None supported |
| Header | icftypes.h |