diff --git a/.gitignore b/.gitignore index ef34ce6b267..95fa523dad4 100644 --- a/.gitignore +++ b/.gitignore @@ -186,6 +186,7 @@ dlls/imagehlp/libimagehlp.def dlls/imm.dll16 dlls/imm32/libimm32.def dlls/imm32/version.res +dlls/inetcomm/libinetcomm.def dlls/infosoft/tests/*.ok dlls/infosoft/tests/infosoft_crosstest.exe dlls/infosoft/tests/testlist.c diff --git a/Makefile.in b/Makefile.in index 8f5e5073243..640142a30b0 100644 --- a/Makefile.in +++ b/Makefile.in @@ -257,6 +257,7 @@ ALL_MAKEFILES = \ dlls/imaadp32.acm/Makefile \ dlls/imagehlp/Makefile \ dlls/imm32/Makefile \ + dlls/inetcomm/Makefile \ dlls/infosoft/Makefile \ dlls/infosoft/tests/Makefile \ dlls/inkobj/Makefile \ @@ -635,6 +636,7 @@ dlls/ifsmgr.vxd/Makefile: dlls/ifsmgr.vxd/Makefile.in dlls/Makedll.rules dlls/imaadp32.acm/Makefile: dlls/imaadp32.acm/Makefile.in dlls/Makedll.rules dlls/imagehlp/Makefile: dlls/imagehlp/Makefile.in dlls/Makedll.rules dlls/imm32/Makefile: dlls/imm32/Makefile.in dlls/Makedll.rules +dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules dlls/infosoft/Makefile: dlls/infosoft/Makefile.in dlls/Makedll.rules dlls/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index 3f563798c08..8b14068f8a6 100755 --- a/configure +++ b/configure @@ -20712,6 +20712,8 @@ ac_config_files="$ac_config_files dlls/imagehlp/Makefile" ac_config_files="$ac_config_files dlls/imm32/Makefile" +ac_config_files="$ac_config_files dlls/inetcomm/Makefile" + ac_config_files="$ac_config_files dlls/infosoft/Makefile" ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile" @@ -21905,6 +21907,7 @@ do "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;; "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;; "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;; + "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;; "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;; "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;; "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;; diff --git a/configure.ac b/configure.ac index 305cf13ebc3..cccb9b68f96 100644 --- a/configure.ac +++ b/configure.ac @@ -1673,6 +1673,7 @@ AC_CONFIG_FILES([dlls/ifsmgr.vxd/Makefile]) AC_CONFIG_FILES([dlls/imaadp32.acm/Makefile]) AC_CONFIG_FILES([dlls/imagehlp/Makefile]) AC_CONFIG_FILES([dlls/imm32/Makefile]) +AC_CONFIG_FILES([dlls/inetcomm/Makefile]) AC_CONFIG_FILES([dlls/infosoft/Makefile]) AC_CONFIG_FILES([dlls/infosoft/tests/Makefile]) AC_CONFIG_FILES([dlls/inkobj/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index f9f36ebc10e..932d44956a4 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -90,6 +90,7 @@ BASEDIRS = \ imaadp32.acm \ imagehlp \ imm32 \ + inetcomm \ infosoft \ inkobj \ inseng \ @@ -536,6 +537,7 @@ IMPORT_LIBS = \ icmp/libicmp.$(IMPLIBEXT) \ imagehlp/libimagehlp.$(IMPLIBEXT) \ imm32/libimm32.$(IMPLIBEXT) \ + inetcomm/libinetcomm.$(IMPLIBEXT) \ iphlpapi/libiphlpapi.$(IMPLIBEXT) \ kernel32/libkernel32.$(IMPLIBEXT) \ lz32/liblz32.$(IMPLIBEXT) \ @@ -763,6 +765,9 @@ imagehlp/libimagehlp.$(IMPLIBEXT): imagehlp/imagehlp.spec $(WINEBUILD) imm32/libimm32.$(IMPLIBEXT): imm32/imm32.spec $(WINEBUILD) @cd imm32 && $(MAKE) libimm32.$(IMPLIBEXT) +inetcomm/libinetcomm.$(IMPLIBEXT): inetcomm/inetcomm.spec $(WINEBUILD) + @cd inetcomm && $(MAKE) libinetcomm.$(IMPLIBEXT) + iphlpapi/libiphlpapi.$(IMPLIBEXT): iphlpapi/iphlpapi.spec $(WINEBUILD) @cd iphlpapi && $(MAKE) libiphlpapi.$(IMPLIBEXT) diff --git a/dlls/inetcomm/Makefile.in b/dlls/inetcomm/Makefile.in new file mode 100644 index 00000000000..2c8b63e7cbe --- /dev/null +++ b/dlls/inetcomm/Makefile.in @@ -0,0 +1,14 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = inetcomm.dll +IMPORTLIB = libinetcomm.$(IMPLIBEXT) +IMPORTS = kernel32 + +C_SRCS = \ + inetcomm_main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/inetcomm/inetcomm.spec b/dlls/inetcomm/inetcomm.spec new file mode 100644 index 00000000000..d0574c7234f --- /dev/null +++ b/dlls/inetcomm/inetcomm.spec @@ -0,0 +1,106 @@ +@ stub CreateIMAPTransport2 +@ stub CreateIMAPTransport +@ stub CreateNNTPTransport +@ stub CreatePOP3Transport +@ stub CreateRASTransport +@ stub CreateRangeList +@ stub CreateSMTPTransport +@ stdcall -private DllCanUnloadNow() +@ stdcall -private DllGetClassObject(ptr ptr ptr) +@ stdcall -private DllRegisterServer() +@ stdcall -private DllUnregisterServer() +@ stub EssContentHintDecodeEx +@ stub EssContentHintEncodeEx +@ stub EssKeyExchPreferenceDecodeEx +@ stub EssKeyExchPreferenceEncodeEx +@ stub EssMLHistoryDecodeEx +@ stub EssMLHistoryEncodeEx +@ stub EssReceiptDecodeEx +@ stub EssReceiptEncodeEx +@ stub EssReceiptRequestDecodeEx +@ stub EssReceiptRequestEncodeEx +@ stub EssSecurityLabelDecodeEx +@ stub EssSecurityLabelEncodeEx +@ stub EssSignCertificateDecodeEx +@ stub EssSignCertificateEncodeEx +@ stub GetDllMajorVersion +@ stub HrAthGetFileName +@ stub HrAthGetFileNameW +@ stub HrAttachDataFromBodyPart +@ stub HrAttachDataFromFile +@ stub HrDoAttachmentVerb +@ stub HrFreeAttachData +@ stub HrGetAttachIcon +@ stub HrGetAttachIconByFile +@ stub HrGetDisplayNameWithSizeForFile +@ stub HrGetLastOpenFileDirectory +@ stub HrGetLastOpenFileDirectoryW +@ stub HrSaveAttachToFile +@ stub HrSaveAttachmentAs +@ stub MimeEditCreateMimeDocument +@ stub MimeEditDocumentFromStream +@ stub MimeEditGetBackgroundImageUrl +@ stub MimeEditIsSafeToRun +@ stub MimeEditViewSource +@ stub MimeGetAddressFormatW +@ stub MimeOleAlgNameFromSMimeCap +@ stub MimeOleAlgStrengthFromSMimeCap +@ stub MimeOleClearDirtyTree +@ stub MimeOleConvertEnrichedToHTML +@ stub MimeOleCreateBody +@ stub MimeOleCreateByteStream +@ stub MimeOleCreateHashTable +@ stub MimeOleCreateHeaderTable +@ stub MimeOleCreateMessage +@ stub MimeOleCreateMessageParts +@ stub MimeOleCreatePropertySet +@ stub MimeOleCreateSecurity +@ stub MimeOleCreateVirtualStream +@ stub MimeOleDecodeHeader +@ stub MimeOleEncodeHeader +@ stub MimeOleFileTimeToInetDate +@ stub MimeOleFindCharset +@ stub MimeOleGenerateCID +@ stub MimeOleGenerateFileName +@ stub MimeOleGenerateMID +@ stub MimeOleGetAllocator +@ stub MimeOleGetBodyPropA +@ stub MimeOleGetBodyPropW +@ stub MimeOleGetCertsFromThumbprints +@ stub MimeOleGetCharsetInfo +@ stub MimeOleGetCodePageCharset +@ stub MimeOleGetCodePageInfo +@ stub MimeOleGetContentTypeExt +@ stub MimeOleGetDefaultCharset +@ stub MimeOleGetExtContentType +@ stub MimeOleGetFileExtension +@ stub MimeOleGetFileInfo +@ stub MimeOleGetFileInfoW +@ stub MimeOleGetInternat +@ stub MimeOleGetPropA +@ stub MimeOleGetPropW +@ stub MimeOleGetPropertySchema +@ stub MimeOleGetRelatedSection +@ stub MimeOleInetDateToFileTime +@ stub MimeOleObjectFromMoniker +@ stub MimeOleOpenFileStream +@ stub MimeOleParseMhtmlUrl +@ stub MimeOleParseRfc822Address +@ stub MimeOleParseRfc822AddressW +@ stub MimeOleSMimeCapAddCert +@ stub MimeOleSMimeCapAddSMimeCap +@ stub MimeOleSMimeCapGetEncAlg +@ stub MimeOleSMimeCapGetHashAlg +@ stub MimeOleSMimeCapInit +@ stub MimeOleSMimeCapRelease +@ stub MimeOleSMimeCapsFromDlg +@ stub MimeOleSMimeCapsFull +@ stub MimeOleSMimeCapsToDlg +@ stub MimeOleSetBodyPropA +@ stub MimeOleSetBodyPropW +@ stub MimeOleSetCompatMode +@ stub MimeOleSetDefaultCharset +@ stub MimeOleSetPropA +@ stub MimeOleSetPropW +@ stub MimeOleStripHeaders +@ stub MimeOleUnEscapeStringInPlace diff --git a/dlls/inetcomm/inetcomm_main.c b/dlls/inetcomm/inetcomm_main.c new file mode 100644 index 00000000000..91102d31b88 --- /dev/null +++ b/dlls/inetcomm/inetcomm_main.c @@ -0,0 +1,87 @@ +/* + * Internet Messaging APIs + * + * Copyright 2006 Robert Shearman for CodeWeavers + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include + +#include "windef.h" +#include "winbase.h" +#include "winnt.h" + +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(inetcomm); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + return TRUE; +} + + +/*********************************************************************** + * DllGetClassObject (INETCOMM.@) + */ +HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv) +{ + FIXME("\n\tCLSID:\t%s,\n\tIID:\t%s\n",debugstr_guid(rclsid),debugstr_guid(iid)); + return CLASS_E_CLASSNOTAVAILABLE; +} + +/*********************************************************************** + * DllCanUnloadNow (INETCOMM.@) + */ +HRESULT WINAPI DllCanUnloadNow(void) +{ + FIXME("\n"); + return S_FALSE; +} + +/*********************************************************************** + * DllRegisterServer (INETCOMM.@) + */ +HRESULT WINAPI DllRegisterServer(void) +{ + FIXME("stub\n"); + + return S_OK; +} + +/*********************************************************************** + * DllUnregisterServer (INETCOMM.@) + */ +HRESULT WINAPI DllUnregisterServer(void) +{ + FIXME("stub\n"); + + return S_OK; +}