From 6b1dded3b5c6bb78fd5f8d2244357bbe1736d6e8 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Sun, 9 Apr 2006 18:35:43 +0200 Subject: [PATCH] dnsapi: Add a stub implementation of dnsapi.dll. --- configure | 3 +- configure.ac | 1 + dlls/Makefile.in | 5 ++ dlls/dnsapi/.gitignore | 2 + dlls/dnsapi/Makefile.in | 15 +++++ dlls/dnsapi/dnsapi.spec | 129 ++++++++++++++++++++++++++++++++++++++++ dlls/dnsapi/main.c | 49 +++++++++++++++ 7 files changed, 203 insertions(+), 1 deletion(-) create mode 100644 dlls/dnsapi/.gitignore create mode 100644 dlls/dnsapi/Makefile.in create mode 100644 dlls/dnsapi/dnsapi.spec create mode 100644 dlls/dnsapi/main.c diff --git a/configure b/configure index 792c258a586..66c2ed4f4ca 100755 --- a/configure +++ b/configure @@ -19186,7 +19186,7 @@ MAKE_LIB_RULES=libs/Makelib.rules MAKE_PROG_RULES=programs/Makeprog.rules - ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile" + ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile" cat >confcache <<\_ACEOF @@ -19772,6 +19772,7 @@ do "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;; "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;; "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;; + "dlls/dnsapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;; "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;; "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;; "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;; diff --git a/configure.ac b/configure.ac index 98c799bf9ec..3cc9a65ea7d 100644 --- a/configure.ac +++ b/configure.ac @@ -1509,6 +1509,7 @@ dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile +dlls/dnsapi/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile diff --git a/dlls/Makefile.in b/dlls/Makefile.in index c269fb0c9d4..f81fda462b1 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -51,6 +51,7 @@ BASEDIRS = \ dmsynth \ dmusic \ dmusic32 \ + dnsapi \ dplay \ dplayx \ dpnet \ @@ -496,6 +497,7 @@ IMPORT_LIBS = \ dinput/libdinput.$(STATIC_IMPLIBEXT) \ dinput8/libdinput8.$(IMPLIBEXT) \ dmusic32/libdmusic32.$(IMPLIBEXT) \ + dnsapi/libdnsapi.$(IMPLIBEXT) \ dplay/libdplay.$(IMPLIBEXT) \ dplayx/libdplayx.$(IMPLIBEXT) \ dpnet/libdpnet.$(IMPLIBEXT) \ @@ -668,6 +670,9 @@ dinput8/libdinput8.$(IMPLIBEXT): dinput8/dinput8.spec $(WINEBUILD) dmusic32/libdmusic32.$(IMPLIBEXT): dmusic32/dmusic32.spec $(WINEBUILD) @cd dmusic32 && $(MAKE) libdmusic32.$(IMPLIBEXT) +dnsapi/libdnsapi.$(IMPLIBEXT): dnsapi/dnsapi.spec $(WINEBUILD) + @cd dnsapi && $(MAKE) libdnsapi.$(IMPLIBEXT) + dplay/libdplay.$(IMPLIBEXT): dplay/dplay.spec $(WINEBUILD) @cd dplay && $(MAKE) libdplay.$(IMPLIBEXT) diff --git a/dlls/dnsapi/.gitignore b/dlls/dnsapi/.gitignore new file mode 100644 index 00000000000..5d71e67088a --- /dev/null +++ b/dlls/dnsapi/.gitignore @@ -0,0 +1,2 @@ +Makefile +libdnsapi.def diff --git a/dlls/dnsapi/Makefile.in b/dlls/dnsapi/Makefile.in new file mode 100644 index 00000000000..65641174013 --- /dev/null +++ b/dlls/dnsapi/Makefile.in @@ -0,0 +1,15 @@ +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: diff --git a/dlls/dnsapi/dnsapi.spec b/dlls/dnsapi/dnsapi.spec new file mode 100644 index 00000000000..09517059e88 --- /dev/null +++ b/dlls/dnsapi/dnsapi.spec @@ -0,0 +1,129 @@ +@ 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 diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c new file mode 100644 index 00000000000..4b259dd6c15 --- /dev/null +++ b/dlls/dnsapi/main.c @@ -0,0 +1,49 @@ +/* + * 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 + +#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; +}