Yes. At FWPM_LAYER_{IN | OUT}BOUND_TRANSPORT_V{4 | 6}, and other layers which use the FWPM_CONDITION_LOCAL_PORT and FWPM_CONDITION_REMOTE_PORT, you can filter by the ICMP Type and ICMP Code. These condition GUIDs are aliased.
#define FWPM_CONDITION_ICMP_TYPE FWPM_CONDITION_IP_LOCAL_PORT
#define FWPM_CONDITION_ICMP_CODE FWPM_CONDITION_IP_REMOTE_PORT
Hope this helps,
Dusty Harper [MSFT]
Microsoft Corporation
------------------------------------------------------------
This posting is provided "AS IS", with NO warranties and confers NO rights
------------------------------------------------------------