Using Win32 functions in Visual FoxPro Image Gallery
DNS Functions
DnsValidateName
Code examples:
DnsValidateName
..msdn    Add comment     W32 Constants      Translate this page
Validates the status of a specified DNS name.
Code examples:
Declaration:
DNS_STATUS WINAPI DnsValidateName(
  _In_ PCTSTR          pszName,
  _In_ DNS_NAME_FORMAT Format
);
FoxPro declaration:
DECLARE INTEGER DnsValidateName_A IN dnsapi;
AS DnsValidateName;
    STRING pszName,;
    INTEGER NameFormat
Parameters:
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.
Usage:
? DnsValidateName("somedomain", 0)
? DnsValidateName(".somedomain", 0)
? DnsValidateName("some domain", 0)
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com 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: 4
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.158.212.93)
6 sec.Function: 'NetUserEnum'
13 sec.Function: 'GetWindowTextLength'
19 sec.Function: 'SetHandleInformation'
25 sec.Function: 'GetCapture'
32 sec.Function: 'FillConsoleOutputCharacter'
38 sec.Function: 'PathRenameExtension'
44 sec.Function: 'NetGetDCName'
51 sec.Function: 'GetSysColor'
58 sec.Function: 'mixerSetControlDetails'
1.08 min.Function: 'SystemParametersInfo'
Google
Advertise here!