mscat32: Add stub dll.

This commit is contained in:
Alexander Nicolaysen Sørnes 2007-10-28 19:43:51 +01:00 committed by Alexandre Julliard
parent a7f4e8bf74
commit 6103f312cb
7 changed files with 101 additions and 0 deletions

View File

@ -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

3
configure vendored
View File

@ -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" ;;

View File

@ -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])

View File

@ -112,6 +112,7 @@ BASEDIRS = \
msacm32 \
msacm32.drv \
msadp32.acm \
mscat32 \
mscms \
mscoree \
msdmo \

13
dlls/mscat32/Makefile.in Normal file
View File

@ -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

47
dlls/mscat32/main.c Normal file
View File

@ -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;
}

34
dlls/mscat32/mscat32.spec Normal file
View File

@ -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