INetFwRule::get_IcmpTypesAndCodes method (netfw.h)

Specifies the list of ICMP types and codes for this rule.

This property is read/write.

Syntax

HRESULT get_IcmpTypesAndCodes(
  BSTR *icmpTypesAndCodes
);

Parameters

icmpTypesAndCodes

Return value

None

Remarks

This property is optional.

Also see the restrictions on changing properties described in the Remarks section of the INetFwRule interface page.

The icmpTypesAndCodes parameter is a list of ICMP types and codes separated by semicolon. "*" indicates all ICMP types and codes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header netfw.h
DLL FirewallAPI.dll

See also

INetFwRule