Alexander Nicolaysen Sørnes : mscat32: Add stub dll.

Alexandre Julliard julliard at winehq.org
Mon Oct 29 08:34:56 CDT 2007


Module: wine
Branch: master
Commit: 6103f312cb9a5853eaaf79113035608dc5147538
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6103f312cb9a5853eaaf79113035608dc5147538

Author: Alexander Nicolaysen Sørnes <alex at thehandofagony.com>
Date:   Sun Oct 28 19:43:51 2007 +0100

mscat32: Add stub dll.

---

 Makefile.in               |    2 +
 configure                 |    3 ++
 configure.ac              |    1 +
 dlls/Makefile.in          |    1 +
 dlls/mscat32/Makefile.in  |   13 ++++++++++++
 dlls/mscat32/main.c       |   47 +++++++++++++++++++++++++++++++++++++++++++++
 dlls/mscat32/mscat32.spec |   34 ++++++++++++++++++++++++++++++++
 7 files changed, 101 insertions(+), 0 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 96d395b..71c51eb 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 d2872a5..e2d6bac 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 65d129a..a84a434 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 39b6c7b..c79037e 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 0000000..dc6c4c1
--- /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
+
+ at MAKE_DLL_RULES@
+
+ at 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 0000000..7e61aa9
--- /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 at 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 0000000..6d7aa59
--- /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




More information about the wine-cvs mailing list