Commit 6b1dded3 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

dnsapi: Add a stub implementation of dnsapi.dll.

parent 79dc3eb0
...@@ -1509,6 +1509,7 @@ dlls/dmstyle/Makefile ...@@ -1509,6 +1509,7 @@ dlls/dmstyle/Makefile
dlls/dmsynth/Makefile dlls/dmsynth/Makefile
dlls/dmusic/Makefile dlls/dmusic/Makefile
dlls/dmusic32/Makefile dlls/dmusic32/Makefile
dlls/dnsapi/Makefile
dlls/dplay/Makefile dlls/dplay/Makefile
dlls/dplayx/Makefile dlls/dplayx/Makefile
dlls/dpnet/Makefile dlls/dpnet/Makefile
......
...@@ -51,6 +51,7 @@ BASEDIRS = \ ...@@ -51,6 +51,7 @@ BASEDIRS = \
dmsynth \ dmsynth \
dmusic \ dmusic \
dmusic32 \ dmusic32 \
dnsapi \
dplay \ dplay \
dplayx \ dplayx \
dpnet \ dpnet \
...@@ -496,6 +497,7 @@ IMPORT_LIBS = \ ...@@ -496,6 +497,7 @@ IMPORT_LIBS = \
dinput/libdinput.$(STATIC_IMPLIBEXT) \ dinput/libdinput.$(STATIC_IMPLIBEXT) \
dinput8/libdinput8.$(IMPLIBEXT) \ dinput8/libdinput8.$(IMPLIBEXT) \
dmusic32/libdmusic32.$(IMPLIBEXT) \ dmusic32/libdmusic32.$(IMPLIBEXT) \
dnsapi/libdnsapi.$(IMPLIBEXT) \
dplay/libdplay.$(IMPLIBEXT) \ dplay/libdplay.$(IMPLIBEXT) \
dplayx/libdplayx.$(IMPLIBEXT) \ dplayx/libdplayx.$(IMPLIBEXT) \
dpnet/libdpnet.$(IMPLIBEXT) \ dpnet/libdpnet.$(IMPLIBEXT) \
...@@ -668,6 +670,9 @@ dinput8/libdinput8.$(IMPLIBEXT): dinput8/dinput8.spec $(WINEBUILD) ...@@ -668,6 +670,9 @@ dinput8/libdinput8.$(IMPLIBEXT): dinput8/dinput8.spec $(WINEBUILD)
dmusic32/libdmusic32.$(IMPLIBEXT): dmusic32/dmusic32.spec $(WINEBUILD) dmusic32/libdmusic32.$(IMPLIBEXT): dmusic32/dmusic32.spec $(WINEBUILD)
@cd dmusic32 && $(MAKE) libdmusic32.$(IMPLIBEXT) @cd dmusic32 && $(MAKE) libdmusic32.$(IMPLIBEXT)
dnsapi/libdnsapi.$(IMPLIBEXT): dnsapi/dnsapi.spec $(WINEBUILD)
@cd dnsapi && $(MAKE) libdnsapi.$(IMPLIBEXT)
dplay/libdplay.$(IMPLIBEXT): dplay/dplay.spec $(WINEBUILD) dplay/libdplay.$(IMPLIBEXT): dplay/dplay.spec $(WINEBUILD)
@cd dplay && $(MAKE) libdplay.$(IMPLIBEXT) @cd dplay && $(MAKE) libdplay.$(IMPLIBEXT)
......
Makefile
libdnsapi.def
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = dnsapi.dll
IMPORTLIB = libdnsapi.$(IMPLIBEXT)
IMPORTS = kernel32
EXTRALIBS = $(LIBUNICODE)
C_SRCS = \
main.c
@MAKE_DLL_RULES@
### Dependencies:
@ stub DnsAcquireContextHandle_A
@ stub DnsAcquireContextHandle_UTF8
@ stub DnsAcquireContextHandle_W
@ stub DnsAddRecordSet_A
@ stub DnsAddRecordSet_UTF8
@ stub DnsAddRecordSet_W
@ stub DnsAllocateRecord
@ stub DnsApiHeapReset
@ stub DnsAsyncRegisterHostAddrs_A
@ stub DnsAsyncRegisterHostAddrs_UTF8
@ stub DnsAsyncRegisterHostAddrs_W
@ stub DnsAsyncRegisterInit
@ stub DnsAsyncRegisterTerm
@ stub DnsCheckNameCollision_A
@ stub DnsCheckNameCollision_UTF8
@ stub DnsCheckNameCollision_W
@ stub DnsCopyStringEx
@ stub DnsCreateReverseNameStringForIpAddress
@ stub DnsCreateStandardDnsNameCopy
@ stub DnsCreateStringCopy
@ stub DnsDhcpSrvRegisterHostName_W
@ stub DnsDhcpSrvRegisterInit
@ stub DnsDhcpSrvRegisterTerm
@ stub DnsDisableAdapterDomainNameRegistration
@ stub DnsDisableBNodeResolverThread
@ stub DnsDisableDynamicRegistration
@ stub DnsDowncaseDnsNameLabel
@ stub DnsEnableAdapterDomainNameRegistration
@ stub DnsEnableBNodeResolverThread
@ stub DnsEnableDynamicRegistration
@ stub DnsExtractRecordsFromMessage_UTF8
@ stub DnsExtractRecordsFromMessage_W
@ stub DnsFindAuthoritativeZone
@ stub DnsFlushResolverCache
@ stub DnsFlushResolverCacheEntry_A
@ stub DnsFlushResolverCacheEntry_UTF8
@ stub DnsFlushResolverCacheEntry_W
@ stub DnsFreeAdapterInformation
@ stub DnsFreeNetworkInformation
@ stub DnsFreeSearchInformation
@ stub DnsGetBufferLengthForStringCopy
@ stub DnsGetCacheDataTable
@ stub DnsGetDnsServerList
@ stub DnsGetDomainName
@ stub DnsGetHostName_A
@ stub DnsGetHostName_UTF8
@ stub DnsGetHostName_W
@ stub DnsGetIpAddressInfoList
@ stub DnsGetIpAddressList
@ stub DnsGetLastServerUpdateIP
@ stub DnsGetMaxNumberOfAddressesToRegister
@ stub DnsGetNetworkInformation
@ stub DnsGetPrimaryDomainName_A
@ stub DnsGetPrimaryDomainName_UTF8
@ stub DnsGetPrimaryDomainName_W
@ stub DnsGetSearchInformation
@ stub DnsIpv6AddressToString
@ stub DnsIpv6StringToAddress
@ stub DnsIsAdapterDomainNameRegistrationEnabled
@ stub DnsIsAMailboxType
@ stub DnsIsDynamicRegistrationEnabled
@ stub DnsIsStatusRcode
@ stub DnsIsStringCountValidForTextType
@ stub DnsMapRcodeToStatus
@ stub DnsModifyRecordSet_A
@ stub DnsModifyRecordSet_UTF8
@ stub DnsModifyRecordSet_W
@ stub DnsModifyRecordsInSet_A
@ stub DnsModifyRecordsInSet_UTF8
@ stub DnsModifyRecordsInSet_W
@ stub DnsNameCompare_A
@ stub DnsNameCompareEx_A
@ stub DnsNameCompareEx_UTF8
@ stub DnsNameCompareEx_W
@ stub DnsNameCompare_W
@ stub DnsNameCopy
@ stub DnsNameCopyAllocate
@ stub DnsNotifyResolver
@ stub DnsQuery_A
@ stub DnsQueryConfig
@ stub DnsQueryEx
@ stub DnsQuery_UTF8
@ stub DnsQuery_W
@ stub DnsRecordBuild_UTF8
@ stub DnsRecordBuild_W
@ stub DnsRecordCompare
@ stub DnsRecordCopyEx
@ stub DnsRecordListFree
@ stub DnsRecordSetCompare
@ stub DnsRecordSetCopyEx
@ stub DnsRecordSetDetach
@ stub DnsRecordStringForType
@ stub DnsRecordStringForWritableType
@ stub DnsRecordTypeForName
@ stub DnsRelationalCompare_UTF8
@ stub DnsRelationalCompare_W
@ stub DnsReleaseContextHandle
@ stub DnsRemoveRegistrations
@ stub DnsReplaceRecordSetA
@ stub DnsReplaceRecordSet_A
@ stub DnsReplaceRecordSetUTF8
@ stub DnsReplaceRecordSet_UTF8
@ stub DnsReplaceRecordSetW
@ stub DnsReplaceRecordSet_W
@ stub DnsServiceNotificationDeregister_A
@ stub DnsServiceNotificationDeregister_UTF8
@ stub DnsServiceNotificationDeregister_W
@ stub DnsServiceNotificationRegister_A
@ stub DnsServiceNotificationRegister_UTF8
@ stub DnsServiceNotificationRegister_W
@ stub DnsSetMaxNumberOfAddressesToRegister
@ stub DnsStatusString
@ stub DnsStringCopyAllocateEx
@ stub DnsUnicodeToUtf8
@ stub DnsUpdate
@ stub DnsUpdateTest_A
@ stub DnsUpdateTest_UTF8
@ stub DnsUpdateTest_W
@ stub DnsUtf8ToUnicode
@ stub DnsValidateName_A
@ stub DnsValidateName_UTF8
@ stub DnsValidateName_W
@ stub DnsValidateUtf8Byte
@ stub DnsWinsRecordFlagForString
@ stub DnsWinsRecordFlagString
@ stub DnsWriteQuestionToBuffer_UTF8
@ stub DnsWriteQuestionToBuffer_W
@ stub DnsWriteReverseNameStringForIpAddress
@ stub GetCurrentTimeInSeconds
/*
* DNS support
*
* Copyright (C) 2006 Matthew Kehrer
* Copyright (C) 2006 Hans Leidekker
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(dnsapi);
HINSTANCE hdnsapi;
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE( "(%p, %ld, %p)\n", hinst, reason, reserved );
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
hdnsapi = hinst;
DisableThreadLibraryCalls( hinst );
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
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