Skip to content

Commit

Permalink
Update FwpTypes.cs (FWP_DATA_TYPE.FWP_SINGLE_DATA_TYPE_MAX) (#503)
Browse files Browse the repository at this point in the history
Following to https://learn.microsoft.com/en-us/windows/win32/api/fwptypes/ne-fwptypes-fwp_data_type FWP_DATA_TYPE.FWP_SINGLE_DATA_TYPE_MAX has 0xff value, so i'm not able to create filter with FWP_V4_ADDR_MASK condition  value type.
  • Loading branch information
AlexeyRusakovich authored Jan 15, 2025
1 parent 87e3f02 commit 4904128
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PInvoke/FwpUClnt/FwpTypes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public enum FWP_DATA_TYPE
/// <para>0xff</para>
/// <para>Reserved for future use.</para>
/// </summary>
FWP_SINGLE_DATA_TYPE_MAX,
FWP_SINGLE_DATA_TYPE_MAX = 0xff,

/// <summary>
/// <para>Indicates a pointer to an</para>
Expand Down Expand Up @@ -1096,4 +1096,4 @@ public struct IPSEC_VIRTUAL_IF_TUNNEL_INFO0
/// <summary>ID of the virtual interface tunneling traffic selector(s).</summary>
public ulong trafficSelectorId;
}
}
}

0 comments on commit 4904128

Please sign in to comment.