Skip to content

Commit

Permalink
Applied suggested fix for IP_ADDRESS_PREFIX (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed Jun 9, 2023
1 parent 71b857b commit f10080d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PInvoke/IpHlpApi/NetIOApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5847,7 +5847,7 @@ public static extern Win32Error NotifyNetworkConnectivityHintChange(PNETWORK_CON
// https://docs.microsoft.com/en-us/windows/desktop/api/netioapi/ns-netioapi-_ip_address_prefix typedef struct _IP_ADDRESS_PREFIX {
// SOCKADDR_INET Prefix; UINT8 PrefixLength; } IP_ADDRESS_PREFIX, *PIP_ADDRESS_PREFIX;
[PInvokeData("netioapi.h", MSDNShortId = "3a6598d8-77e4-46f7-9397-124157508207")]
[StructLayout(LayoutKind.Sequential, Pack = 4)]
[StructLayout(LayoutKind.Sequential, Pack = 4, Size = 32)]
public struct IP_ADDRESS_PREFIX : IEquatable<IP_ADDRESS_PREFIX>
{
/// <summary>
Expand Down

0 comments on commit f10080d

Please sign in to comment.