Using Win32 functions in Visual FoxPro Image Gallery
DNS Functions
Code examples:
..msdn    Add comment     W32 Constants      Translate this page
Validates the status of a specified DNS name.
Code examples:
  _In_ PCTSTR          pszName,
FoxPro declaration:
DECLARE INTEGER DnsValidateName_A IN dnsapi;
AS DnsValidateName;
    STRING pszName,;
    INTEGER NameFormat
pszName [in]
A pointer to a string that represents the DNS name to be examined.

Format [in]
A DNS_NAME_FORMAT value that specifies the format of the name to be examined.
Return value:
Returns ERROR_SUCCESS (0) on success.
? DnsValidateName("somedomain", 0)
? DnsValidateName(".somedomain", 0)
? DnsValidateName("some domain", 0)
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2015-07-29 15:06:26
Modified: 2015-07-29 15:10:30
Visited in last 7 days: 19
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
8 sec.Example: 'Dragging files from Explorer window and dropping them on FoxPro control (requires VFP9)'
22 sec.Function: 'WNetAddConnection2'
4.02 hrs.Function: 'GdipGetSmoothingMode'
 Function: 'SetLastError'
4.03 hrs.Function: 'GetKeyboardLayout'
 Function: 'IsPwrSuspendAllowed'
4.04 hrs.Function: 'GetLongPathName'
4.05 hrs.Function: 'waveOutPrepareHeader'
 Function: 'WNetConnectionDialog1'
4.06 hrs.Function: 'IsWow64Process'
Advertise here!