[DllImport("dhcpsapi.dll", SetLastError = true)]
public static extern uint DhcpEnumSubnetElementsV5(
IntPtr ServerIpAddress,
uint SubnetAddress,
uint EnumElementType,
ref IntPtr ResumeHandle,
uint PreferredMaximum,
ref IntPtr EnumElementInfo,
ref uint ElementsRead,
ref uint ElementsTotal
);