reactos/lib/dnsapi/dnsapi
diff -u -r1.2 -r1.3
--- query.c 25 Dec 2003 05:50:37 -0000 1.2
+++ query.c 26 Nov 2004 00:12:57 -0000 1.3
@@ -10,9 +10,11 @@
#include <windows.h>
#include <WinError.h>
-#include <WinDNS.h>
+#include <windns.h>
#include <internal/windns.h>
#include <string.h>
+#define NTOS_MODE_USER
+#include <ntos.h>
/* DnsQuery ****************************
* Begin a DNS query, and allow the result to be placed in the application
@@ -45,7 +47,7 @@
WORD Type,
DWORD Options,
PIP4_ARRAY Servers,
- PDNS_RECORDA *QueryResultSet,
+ PDNS_RECORD *QueryResultSet,
PVOID *Reserved ) {
adns_state astate;
int quflags = 0;
@@ -77,18 +79,22 @@
return DnsIntTranslateAdnsToDNS_STATUS( adns_error );
}
- *QueryResultSet = (PDNS_RECORDA)RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof( DNS_RECORDA ) );
- (*QueryResultSet)->wType = Type;
- (*QueryResultSet)->pName = xstrsave( Name );
- (*QueryResultSet)->wDataLength = sizeof(DNS_A_DATA);
- (*QueryResultSet)->Data.A.IpAddress =
- answer->rrs.addr->addr.inet.sin_addr.s_addr;
- adns_finish( astate );
- return ERROR_SUCCESS;
-
+ if( answer && answer->rrs.addr ) {
+ *QueryResultSet =
+ (PDNS_RECORD)RtlAllocateHeap( RtlGetProcessHeap(), 0,
+ sizeof( DNS_RECORD ) );
+ (*QueryResultSet)->pNext = NULL;
+ (*QueryResultSet)->wType = Type;
+ (*QueryResultSet)->pName = xstrsave( Name );
+ (*QueryResultSet)->wDataLength = sizeof(DNS_A_DATA);
+ (*QueryResultSet)->Data.A.IpAddress =
+ answer->rrs.addr->addr.inet.sin_addr.s_addr;
+ adns_finish( astate );
+ return ERROR_SUCCESS;
+ } else
+ return ERROR_FILE_NOT_FOUND;
default:
- return DNS_ERROR_NO_MEMORY; /* XXX arty: find a better error code. */
+ return ERROR_OUTOFMEMORY; /* XXX arty: find a better error code. */
}
}
@@ -112,13 +118,13 @@
WORD Type,
DWORD Options,
PIP4_ARRAY Servers,
- PDNS_RECORDW *QueryResultSet,
+ PDNS_RECORD *QueryResultSet,
PVOID *Reserved ) {
int i;
PCHAR Buffer;
DNS_STATUS Status;
- PDNS_RECORDA QueryResultWide;
- PDNS_RECORDW ConvertedRecord = 0, LastRecord = 0;
+ PDNS_RECORD QueryResultWide;
+ PDNS_RECORD ConvertedRecord = 0, LastRecord = 0;
Buffer = DnsWToC( Name );
@@ -129,11 +135,13 @@
switch( QueryResultWide->wType ) {
case DNS_TYPE_A:
case DNS_TYPE_WKS:
+#ifndef __USE_W32API
case DNS_TYPE_AAAA:
case DNS_TYPE_KEY:
+#endif
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof(DNS_RECORDA) );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ sizeof(DNS_RECORD) );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
ConvertedRecord->wDataLength = QueryResultWide->wDataLength;
memcpy( ConvertedRecord, QueryResultWide,
@@ -149,57 +157,63 @@
case DNS_TYPE_MG:
case DNS_TYPE_MR:
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof(DNS_RECORDA) );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ sizeof(DNS_RECORD) );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
- ConvertedRecord->wDataLength = sizeof(DNS_PTR_DATAA);
+ ConvertedRecord->wDataLength = sizeof(DNS_PTR_DATA);
ConvertedRecord->Data.PTR.pNameHost =
- DnsCToW( QueryResultWide->Data.PTR.pNameHost );
+ (PCHAR)DnsCToW( QueryResultWide->Data.PTR.pNameHost );
break;
case DNS_TYPE_MINFO:
+#ifndef __USE_W32API
case DNS_TYPE_RP:
+#endif
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof(DNS_RECORDA) );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ sizeof(DNS_RECORD) );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
- ConvertedRecord->wDataLength = sizeof(DNS_MINFO_DATAA);
+ ConvertedRecord->wDataLength = sizeof(DNS_MINFO_DATA);
ConvertedRecord->Data.MINFO.pNameMailbox =
- DnsCToW( QueryResultWide->Data.MINFO.pNameMailbox );
+ (PCHAR)DnsCToW( QueryResultWide->Data.MINFO.pNameMailbox );
ConvertedRecord->Data.MINFO.pNameErrorsMailbox =
- DnsCToW( QueryResultWide->Data.MINFO.pNameErrorsMailbox );
+ (PCHAR)DnsCToW( QueryResultWide->Data.MINFO.pNameErrorsMailbox );
break;
case DNS_TYPE_MX:
+#ifndef __USE_W32API
case DNS_TYPE_AFSDB:
case DNS_TYPE_RT:
+#endif
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof(DNS_RECORDA) );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ sizeof(DNS_RECORD) );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
- ConvertedRecord->wDataLength = sizeof(DNS_MX_DATAW);
+ ConvertedRecord->wDataLength = sizeof(DNS_MX_DATA);
ConvertedRecord->Data.MX.pNameExchange =
- DnsCToW( QueryResultWide->Data.MX.pNameExchange );
+ (PCHAR)DnsCToW( QueryResultWide->Data.MX.pNameExchange );
ConvertedRecord->Data.MX.wPreference =
- QueryResultWide->Data.MX.wPreference;
+ QueryResultWide->Data.MX.wPreference;
break;
+#ifndef __USE_W32API
case DNS_TYPE_TXT:
- case DNS_TYPE_HINFO:
case DNS_TYPE_ISDN:
+#endif
+ case DNS_TYPE_HINFO:
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
- sizeof(DNS_TXT_DATAW) +
+ sizeof(DNS_TXT_DATA) +
QueryResultWide->
Data.TXT.dwStringCount );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
ConvertedRecord->wDataLength =
- sizeof(DNS_TXT_DATAW) +
+ sizeof(DNS_TXT_DATA) +
(sizeof(PWCHAR) * QueryResultWide->Data.TXT.dwStringCount);
ConvertedRecord->Data.TXT.dwStringCount =
QueryResultWide->Data.TXT.dwStringCount;
for( i = 0; i < ConvertedRecord->Data.TXT.dwStringCount; i++ ) {
ConvertedRecord->Data.TXT.pStringArray[i] =
- DnsCToW( QueryResultWide->Data.TXT.pStringArray[i] );
+ (PCHAR)DnsCToW( QueryResultWide->Data.TXT.pStringArray[i] );
}
break;
@@ -208,7 +222,7 @@
sizeof(DNS_NULL_DATA) +
QueryResultWide->
Data.Null.dwByteCount );
- ConvertedRecord->pName = DnsCToW( QueryResultWide->pName );
+ ConvertedRecord->pName = (PCHAR)DnsCToW( QueryResultWide->pName );
ConvertedRecord->wType = QueryResultWide->wType;
ConvertedRecord->wDataLength =
sizeof(DNS_NULL_DATA) + QueryResultWide->Data.Null.dwByteCount;
@@ -219,6 +233,7 @@
QueryResultWide->Data.Null.dwByteCount );
break;
+#ifndef __USE_W32API
case DNS_TYPE_SIG:
ConvertedRecord = RtlAllocateHeap( RtlGetProcessHeap(), 0,
sizeof(DNS_RECORDA) );
@@ -257,6 +272,7 @@
ConvertedRecord->Data.SRV.pNameTarget =
DnsCToW( QueryResultWide->Data.SRV.pNameTarget );
break;
+#endif
}
if( LastRecord ) {
@@ -280,69 +296,75 @@
WORD Type,
DWORD Options,
PIP4_ARRAY Servers,
- PDNS_RECORDA *QueryResultSet,
+ PDNS_RECORD *QueryResultSet,
PVOID *Reserved ) {
return DnsQuery_UTF8( Name, Type, Options, Servers, QueryResultSet,
Reserved );
}
-void DnsIntFreeRecordList( PDNS_RECORDA ToDelete ) {
+void DnsIntFreeRecordList( PDNS_RECORD ToDelete ) {
int i;
- PDNS_RECORDA next = 0;
+ PDNS_RECORD next = 0;
while( ToDelete ) {
- if( ToDelete->pName )
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->pName );
- switch( ToDelete->wType ) {
- case DNS_TYPE_CNAME:
- case DNS_TYPE_PTR:
- case DNS_TYPE_NS:
- case DNS_TYPE_MB:
- case DNS_TYPE_MD:
- case DNS_TYPE_MF:
- case DNS_TYPE_MG:
- case DNS_TYPE_MR:
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.PTR.pNameHost );
- break;
- case DNS_TYPE_MINFO:
- case DNS_TYPE_RP:
- RtlFreeHeap( RtlGetProcessHeap(), 0,
- ToDelete->Data.MINFO.pNameMailbox );
- RtlFreeHeap( RtlGetProcessHeap(), 0,
- ToDelete->Data.MINFO.pNameErrorsMailbox );
- break;
-
- case DNS_TYPE_MX:
- case DNS_TYPE_AFSDB:
- case DNS_TYPE_RT:
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.MX.pNameExchange );
- break;
-
- case DNS_TYPE_TXT:
- case DNS_TYPE_HINFO:
- case DNS_TYPE_ISDN:
- for( i = 0; i < ToDelete->Data.TXT.dwStringCount; i++ ) {
- RtlFreeHeap( RtlGetProcessHeap(), 0,
- ToDelete->Data.TXT.pStringArray[i] );
+ if( ToDelete->pName )
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->pName );
+ switch( ToDelete->wType ) {
+ case DNS_TYPE_CNAME:
+ case DNS_TYPE_PTR:
+ case DNS_TYPE_NS:
+ case DNS_TYPE_MB:
+ case DNS_TYPE_MD:
+ case DNS_TYPE_MF:
+ case DNS_TYPE_MG:
+ case DNS_TYPE_MR:
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.PTR.pNameHost );
+ break;
+ case DNS_TYPE_MINFO:
+#ifndef __USE_W32API
+ case DNS_TYPE_RP:
+ RtlFreeHeap( RtlGetProcessHeap(), 0,
+ ToDelete->Data.MINFO.pNameMailbox );
+ RtlFreeHeap( RtlGetProcessHeap(), 0,
+ ToDelete->Data.MINFO.pNameErrorsMailbox );
+ break;
+
+ case DNS_TYPE_AFSDB:
+ case DNS_TYPE_RT:
+#endif
+ case DNS_TYPE_MX:
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.MX.pNameExchange );
+ break;
+
+#ifndef __USE_W32API
+ case DNS_TYPE_TXT:
+ case DNS_TYPE_ISDN:
+#endif
+ case DNS_TYPE_HINFO:
+ for( i = 0; i < ToDelete->Data.TXT.dwStringCount; i++ ) {
+ RtlFreeHeap( RtlGetProcessHeap(), 0,
+ ToDelete->Data.TXT.pStringArray[i] );
+ }
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.TXT.pStringArray );
+ break;
+
+#ifndef __USE_W32API
+ case DNS_TYPE_SIG:
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.SIG.pNameSigner );
+ break;
+
+ case DNS_TYPE_NXT:
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.NXT.pNameNext );
+ break;
+
+ case DNS_TYPE_SRV:
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.SRV.pNameTarget );
+ break;
+#endif
}
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.TXT.pStringArray );
- break;
-
- case DNS_TYPE_SIG:
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.SIG.pNameSigner );
- break;
-
- case DNS_TYPE_NXT:
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.NXT.pNameNext );
- break;
-
- case DNS_TYPE_SRV:
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete->Data.SRV.pNameTarget );
- break;
- }
-
- next = ToDelete->pNext;
- RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete );
- ToDelete = next;
+
+ next = ToDelete->pNext;
+ RtlFreeHeap( RtlGetProcessHeap(), 0, ToDelete );
+ ToDelete = next;
}
}
reactos/lib/dnsapi/dnsapi
diff -u -r1.1 -r1.2
--- stubs.c 18 Dec 2003 11:38:00 -0000 1.1
+++ stubs.c 26 Nov 2004 00:12:57 -0000 1.2
@@ -1,579 +1,583 @@
#include <windows.h>
-#include <WinDNS.h>
+/*#include <windns.h>*/
#include <WinError.h>
+#define NTOS_MODE_USER
+#include <ntos.h>
#include <debug.h>
+typedef ULONG DNS_STATUS;
+
DNS_STATUS WINAPI DnsAddRecordSet_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAddRecordSet_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAddRecordSet_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAllocateRecord() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsApiHeapReset() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAsyncRegisterHostAddrs_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAsyncRegisterHostAddrs_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAsyncRegisterHostAddrs_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAsyncRegisterInit() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsAsyncRegisterTerm() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCheckNameCollision_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCheckNameCollision_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCheckNameCollision_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCopyStringEx() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCreateReverseNameStringForIpAddress() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCreateStandardDnsNameCopy() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsCreateStringCopy() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDhcpSrvRegisterHostName_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDhcpSrvRegisterInit() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDhcpSrvRegisterTerm() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDisableAdapterDomainNameRegistration() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDisableBNodeResolverThread() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDisableDynamicRegistration() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsDowncaseDnsNameLabel() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsEnableAdapterDomainNameRegistration() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsEnableBNodeResolverThread() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsEnableDynamicRegistration() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFindAuthoritativeZone() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFlushResolverCache() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFlushResolverCacheEntry_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFlushResolverCacheEntry_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFlushResolverCacheEntry_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFreeAdapterInformation() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFreeNetworkInformation() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsFreeSearchInformation() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetBufferLengthForStringCopy() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetCacheDataTable() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetDnsServerList() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetDomainName() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetHostName_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetHostName_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetHostName_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetIpAddressInfoList() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetIpAddressList() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetLastServerUpdateIP() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetMaxNumberOfAddressesToRegister() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetNetworkInformation() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetPrimaryDomainName_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetPrimaryDomainName_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetPrimaryDomainName_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsGetSearchInformation() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIpv6AddressToString() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIpv6StringToAddress() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIsAMailboxType() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIsAdapterDomainNameRegistrationEnabled() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIsDynamicRegistrationEnabled() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIsStatusRcode() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsIsStringCountValidForTextType() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsMapRcodeToStatus() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordSet_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordSet_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordSet_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordsInSet_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsModifyRecordsInSet_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsNameCompareEx_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsNameCompareEx_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsNameCompareEx_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsNameCopy() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsNameCopyAllocate() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsQueryConfig() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsQueryEx() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordBuild_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordBuild_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordCompare() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordCopyEx() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordSetCompare() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordSetCopyEx() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordSetDetach() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordStringForType() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordStringForWritableType() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRecordTypeForName() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRelationalCompare_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRelationalCompare_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsRemoveRegistrations() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSetA() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSetUTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSetW() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSet_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSet_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsReplaceRecordSet_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationDeregister_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationDeregister_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationDeregister_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationRegister_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationRegister_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsServiceNotificationRegister_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsSetMaxNumberOfAddressesToRegister() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsStatusString() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsStringCopyAllocateEx() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUnicodeToUtf8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUpdate() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUpdateTest_A() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUpdateTest_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUpdateTest_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsUtf8ToUnicode() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsValidateUtf8Byte() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsWinsRecordFlagForString() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsWinsRecordFlagString() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsWriteQuestionToBuffer_UTF8() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsWriteQuestionToBuffer_W() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI DnsWriteReverseNameStringForIpAddress() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}
DNS_STATUS WINAPI GetCurrentTimeInSeconds() {
UNIMPLEMENTED;
- return DNS_ERROR_NO_MEMORY;
+ return ERROR_OUTOFMEMORY;
}