internal static int DnsQuery(string pszName, RecordType wType, QueryOptions options, ref IP4AddressArray pExtra, out IntPtr ppQueryResults, IntPtr pReserved) { return win32._DnsQueryW(pszName, (ushort)wType, (uint)options, out pExtra, out ppQueryResults, IntPtr.Zero); }
private static extern int _DnsQueryW(string pszName, ushort wType, uint options, out IP4AddressArray pExtra, out IntPtr ppQueryResults, IntPtr pReserved);