Commit 5cfe6e92 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

dnsapi: Add stub implementations for the remaining documented functions.

parent 2b5b86fb
@ stub DnsAcquireContextHandle_A
@ stub DnsAcquireContextHandle_UTF8
@ stub DnsAcquireContextHandle_W
@ stdcall DnsAcquireContextHandle_A(long ptr ptr)
@ stdcall DnsAcquireContextHandle_UTF8(long ptr ptr)
@ stdcall DnsAcquireContextHandle_W(long ptr ptr)
@ stub DnsAddRecordSet_A
@ stub DnsAddRecordSet_UTF8
@ stub DnsAddRecordSet_W
......@@ -28,8 +28,8 @@
@ stub DnsEnableAdapterDomainNameRegistration
@ stub DnsEnableBNodeResolverThread
@ stub DnsEnableDynamicRegistration
@ stub DnsExtractRecordsFromMessage_UTF8
@ stub DnsExtractRecordsFromMessage_W
@ stdcall DnsExtractRecordsFromMessage_UTF8(ptr long ptr)
@ stdcall DnsExtractRecordsFromMessage_W(ptr long ptr)
@ stub DnsFindAuthoritativeZone
@ stub DnsFlushResolverCache
@ stub DnsFlushResolverCacheEntry_A
......@@ -65,9 +65,9 @@
@ stub DnsModifyRecordSet_A
@ stub DnsModifyRecordSet_UTF8
@ stub DnsModifyRecordSet_W
@ stub DnsModifyRecordsInSet_A
@ stub DnsModifyRecordsInSet_UTF8
@ stub DnsModifyRecordsInSet_W
@ stdcall DnsModifyRecordsInSet_A(ptr ptr long ptr ptr ptr)
@ stdcall DnsModifyRecordsInSet_UTF8(ptr ptr long ptr ptr ptr)
@ stdcall DnsModifyRecordsInSet_W(ptr ptr long ptr ptr ptr)
@ stdcall DnsNameCompare_A(str str)
@ stub DnsNameCompareEx_A
@ stub DnsNameCompareEx_UTF8
......@@ -94,13 +94,13 @@
@ stub DnsRecordTypeForName
@ stub DnsRelationalCompare_UTF8
@ stub DnsRelationalCompare_W
@ stub DnsReleaseContextHandle
@ stdcall DnsReleaseContextHandle(ptr)
@ stub DnsRemoveRegistrations
@ stub DnsReplaceRecordSetA
@ stdcall DnsReplaceRecordSetA(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_A
@ stub DnsReplaceRecordSetUTF8
@ stdcall DnsReplaceRecordSetUTF8(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_UTF8
@ stub DnsReplaceRecordSetW
@ stdcall DnsReplaceRecordSetW(ptr long ptr ptr ptr)
@ stub DnsReplaceRecordSet_W
@ stub DnsServiceNotificationDeregister_A
@ stub DnsServiceNotificationDeregister_UTF8
......
......@@ -23,6 +23,8 @@
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "windns.h"
#include "wine/debug.h"
......@@ -47,3 +49,181 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
}
return TRUE;
}
/******************************************************************************
* DnsAcquireContextHandle_A [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsAcquireContextHandle_A( DWORD flags, PVOID cred,
HANDLE *context )
{
FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsAcquireContextHandle_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsAcquireContextHandle_UTF8( DWORD flags, PVOID cred,
HANDLE *context )
{
FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsAcquireContextHandle_W [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsAcquireContextHandle_W( DWORD flags, PVOID cred,
HANDLE *context )
{
FIXME( "(0x%08lx,%p,%p) stub\n", flags, cred, context );
*context = (HANDLE)0xdeadbeef;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsReleaseContextHandle [DNSAPI.@]
*
*/
void WINAPI DnsReleaseContextHandle( HANDLE context )
{
FIXME( "(%p) stub\n", context );
}
/******************************************************************************
* DnsExtractRecordsFromMessage_A [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_A( PDNS_MESSAGE_BUFFER buffer,
WORD len, PDNS_RECORDA *record )
{
FIXME( "(%p,%d,%p) stub\n", buffer, len, record );
*record = NULL;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsExtractRecordsFromMessage_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_UTF8( PDNS_MESSAGE_BUFFER buffer,
WORD len, PDNS_RECORDA *record )
{
FIXME( "(%p,%d,%p) stub\n", buffer, len, record );
*record = NULL;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsExtractRecordsFromMessage_W [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsExtractRecordsFromMessage_W( PDNS_MESSAGE_BUFFER buffer,
WORD len, PDNS_RECORDW *record )
{
FIXME( "(%p,%d,%p) stub\n", buffer, len, record );
*record = NULL;
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsModifyRecordsInSet_A [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsModifyRecordsInSet_A( PDNS_RECORDA add, PDNS_RECORDA delete,
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsModifyRecordsInSet_UTF8 [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsModifyRecordsInSet_UTF8( PDNS_RECORDA add, PDNS_RECORDA delete,
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsModifyRecordsInSet_W [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsModifyRecordsInSet_W( PDNS_RECORDW add, PDNS_RECORDW delete,
DWORD options, HANDLE context,
PIP4_ARRAY servers, PVOID reserved )
{
FIXME( "(%p,%p,0x%08lx,%p,%p,%p) stub\n", add, delete, options,
context, servers, reserved );
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsWriteQuestionToBuffer [DNSAPI.@]
*
*/
BOOL WINAPI DnsWriteQuestionToBuffer( PDNS_MESSAGE_BUFFER buffer, LPDWORD size,
LPWSTR name, WORD type, WORD xid,
BOOL recurse )
{
FIXME( "(%p,%p,%s,%d,%d,%d) stub\n", buffer, size, debugstr_w(name),
type, xid, recurse );
return FALSE;
}
/******************************************************************************
* DnsReplaceRecordSetA [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsReplaceRecordSetA( PDNS_RECORDA set, DWORD options,
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsReplaceRecordSetUTF8 [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsReplaceRecordSetUTF8( PDNS_RECORDA set, DWORD options,
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
/******************************************************************************
* DnsReplaceRecordSetW [DNSAPI.@]
*
*/
DNS_STATUS WINAPI DnsReplaceRecordSetW( PDNS_RECORDW set, DWORD options,
HANDLE context, PIP4_ARRAY servers,
PVOID reserved )
{
FIXME( "(%p,0x%08lx,%p,%p,%p) stub\n", set, options, context,
servers, reserved );
return ERROR_SUCCESS;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment