This command is used to check whether
the specified ICMP type is allowed for any local address.
This command also returns restriction
information about whether some local interfaces or remote addresses
are blocked for this port. For example, if the port is restricted to
the local subnet only.
To determine whether the type and IP version are allowed with a specific local address use mnIsTypeAllowedICMPA.
unsigned char Type: ICMP type. See http://www.iana.org/assignments/icmp-parameters for possible types.
int IPVersion: IP version of the traffic. 0 = V4, 1 = V6. This cannot be any (2).
1 if the port is allowed and not restricted.
2 if the port is allowed and restricted.
3 if the port is not allowed and not restricted.
4 if the port is not allowed and restricted.
-1 if an error occurred.
DBP
C++
.Net