diff --git a/Makefile.in b/Makefile.in index 96d395b775c7db64c8adab4c87a06ec4c7b3386f..71c51eb101c9380f81c17a0e49a95352bafca99e 100644 --- a/Makefile.in +++ b/Makefile.in @@ -289,6 +289,7 @@ ALL_MAKEFILES = \ dlls/msacm32/Makefile \ dlls/msacm32/tests/Makefile \ dlls/msadp32.acm/Makefile \ + dlls/mscat32/Makefile \ dlls/mscms/Makefile \ dlls/mscms/tests/Makefile \ dlls/mscoree/Makefile \ @@ -665,6 +666,7 @@ dlls/msacm32.drv/Makefile: dlls/msacm32.drv/Makefile.in dlls/Makedll.rules dlls/msacm32/Makefile: dlls/msacm32/Makefile.in dlls/Makedll.rules dlls/msacm32/tests/Makefile: dlls/msacm32/tests/Makefile.in dlls/Maketest.rules dlls/msadp32.acm/Makefile: dlls/msadp32.acm/Makefile.in dlls/Makedll.rules +dlls/mscat32/Makefile: dlls/mscat32/Makefile.in dlls/Makedll.rules dlls/mscms/Makefile: dlls/mscms/Makefile.in dlls/Makedll.rules dlls/mscms/tests/Makefile: dlls/mscms/tests/Makefile.in dlls/Maketest.rules dlls/mscoree/Makefile: dlls/mscoree/Makefile.in dlls/Makedll.rules diff --git a/configure b/configure index d2872a58df9e0f0cc3fdc0d1fb61b941dbf7174d..e2d6bacb7501138e5bc3f7a5e046072f8551e838 100755 --- a/configure +++ b/configure @@ -20776,6 +20776,8 @@ ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile" ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile" +ac_config_files="$ac_config_files dlls/mscat32/Makefile" + ac_config_files="$ac_config_files dlls/mscms/Makefile" ac_config_files="$ac_config_files dlls/mscms/tests/Makefile" @@ -21933,6 +21935,7 @@ do "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;; "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;; "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;; + "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;; "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;; "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;; "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;; diff --git a/configure.ac b/configure.ac index 65d129abd18305f3e5c1022cf692b04c7dab2d4c..a84a434cb506a4de667dc7342b0128358edc2369 100644 --- a/configure.ac +++ b/configure.ac @@ -1705,6 +1705,7 @@ AC_CONFIG_FILES([dlls/msacm32.drv/Makefile]) AC_CONFIG_FILES([dlls/msacm32/Makefile]) AC_CONFIG_FILES([dlls/msacm32/tests/Makefile]) AC_CONFIG_FILES([dlls/msadp32.acm/Makefile]) +AC_CONFIG_FILES([dlls/mscat32/Makefile]) AC_CONFIG_FILES([dlls/mscms/Makefile]) AC_CONFIG_FILES([dlls/mscms/tests/Makefile]) AC_CONFIG_FILES([dlls/mscoree/Makefile]) diff --git a/dlls/Makefile.in b/dlls/Makefile.in index 39b6c7b92b8ead8df159cf1a77c443a3edacd2c1..c79037eec07414e789b15c916f23e40013a9e826 100644 --- a/dlls/Makefile.in +++ b/dlls/Makefile.in @@ -112,6 +112,7 @@ BASEDIRS = \ msacm32 \ msacm32.drv \ msadp32.acm \ + mscat32 \ mscms \ mscoree \ msdmo \ diff --git a/dlls/mscat32/Makefile.in b/dlls/mscat32/Makefile.in new file mode 100644 index 0000000000000000000000000000000000000000..dc6c4c11862049cae465ec72e725686f981c950d --- /dev/null +++ b/dlls/mscat32/Makefile.in @@ -0,0 +1,13 @@ +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = mscat32.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/mscat32/main.c b/dlls/mscat32/main.c new file mode 100644 index 0000000000000000000000000000000000000000..7e61aa93ce848c99137f403a06d8ecf47d08b1da --- /dev/null +++ b/dlls/mscat32/main.c @@ -0,0 +1,47 @@ +/* mscat32.dll - Backend for Microsoft's MakeCat command-line tool + * + * Copyright (C) 2007 Alexander N. Sørnes <alex@thehandofagony.com> + * + * This program 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 program 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 program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +#include "config.h" + +#include <stdarg.h> +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(mscat); + + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved); + + if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */ + + if (fdwReason == DLL_PROCESS_ATTACH) + { + DisableThreadLibraryCalls( hinstDLL ); + /* FIXME: Initialisation */ + } + else if (fdwReason == DLL_PROCESS_DETACH) + { + /* FIXME: Cleanup */ + } + + return TRUE; +} diff --git a/dlls/mscat32/mscat32.spec b/dlls/mscat32/mscat32.spec new file mode 100644 index 0000000000000000000000000000000000000000..6d7aa5962b0527bcc1609ad1b66075b3f3ca6683 --- /dev/null +++ b/dlls/mscat32/mscat32.spec @@ -0,0 +1,34 @@ +@ stub CryptCATVerifyMember +@ stub CryptCATAdminAcquireContext +@ stub CryptCATAdminAddCatalog +@ stub CryptCATAdminCalcHashFromFileHandle +@ stub CryptCATAdminEnumCatalogFromHash +@ stub CryptCATAdminReleaseCatalogContext +@ stub CryptCATAdminReleaseContext +@ stub CryptCATCDFClose +@ stub CryptCATCDFEnumAttributes +@ stub CryptCATCDFEnumAttributesWithCDFTag +@ stub CryptCATCDFEnumCatAttributes +@ stub CryptCATCDFEnumMembers +@ stub CryptCATCDFEnumMembersByCDFTag +@ stub CryptCATCDFOpen +@ stub CryptCATCatalogInfoFromContext +@ stub CryptCATClose +@ stub CryptCATEnumerateAttr +@ stub CryptCATEnumerateCatAttr +@ stub CryptCATEnumerateMember +@ stub CryptCATGetAttrInfo +@ stub CryptCATGetCatAttrInfo +@ stub CryptCATGetMemberInfo +@ stub CryptCATHandleFromStore +@ stub CryptCATOpen +@ stub CryptCATPersistStore +@ stub CryptCATPutAttrInfo +@ stub CryptCATPutCatAttrInfo +@ stub CryptCATPutMemberInfo +@ stub CryptCATStoreFromHandle +@ stub DllRegisterServer +@ stub DllUnregisterServer +@ stub IsCatalogFile +@ stub MsCatConstructHashTag +@ stub MsCatFreeHashTag