NET_FW_SERVICE_TYPE enumeration (icftypes.h)
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_PRINT Value: 0 Service type is File and Print Sharing. |
NET_FW_SERVICE_UPNP Service type is UPnP Framework. |
NET_FW_SERVICE_REMOTE_DESKTOP Service type is Remote Desktop. |
NET_FW_SERVICE_NONE Not a valid service type. This is used to indicate that a port is not part of a service. |
NET_FW_SERVICE_TYPE_MAX Used 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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for