From 167bebf3ba3f94a8342428d845dffe9b7fd2bf58 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 31 Jul 2008 08:41:17 -0700 Subject: [PATCH] Add stub dll --- dlls/msisip/Makefile.in | 14 ++++++++++++++ dlls/msisip/main.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ dlls/msisip/msisip.spec | 8 ++++++++ 3 files changed, 69 insertions(+), 0 deletions(-) diff --git a/dlls/msisip/Makefile.in b/dlls/msisip/Makefile.in new file mode 100644 index 0000000..8bce0bd --- /dev/null +++ b/dlls/msisip/Makefile.in @@ -0,0 +1,14 @@ +# Generated from msisip.dll by winedump. +TOPSRCDIR = @top_srcdir@ +TOPOBJDIR = ../.. +SRCDIR = @srcdir@ +VPATH = @srcdir@ +MODULE = msisip.dll +IMPORTS = kernel32 + +C_SRCS = \ + main.c + +@MAKE_DLL_RULES@ + +@DEPENDENCIES@ # everything below this line is overwritten by make depend diff --git a/dlls/msisip/main.c b/dlls/msisip/main.c new file mode 100644 index 0000000..2c2d30b --- /dev/null +++ b/dlls/msisip/main.c @@ -0,0 +1,47 @@ +/* + * Copyright 2008 Juan Lang + * + * 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 "config.h" +#include +#include "windef.h" +#include "winbase.h" +#include "wine/debug.h" + +WINE_DEFAULT_DEBUG_CHANNEL(msisip); + +BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) +{ + TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved); + + switch (fdwReason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(hinstDLL); + break; + case DLL_PROCESS_DETACH: + break; + default: + break; + } + + return TRUE; +} + + diff --git a/dlls/msisip/msisip.spec b/dlls/msisip/msisip.spec new file mode 100644 index 0000000..0b682b6 --- /dev/null +++ b/dlls/msisip/msisip.spec @@ -0,0 +1,8 @@ +5 stub MsiSIPIsMyTypeOfFile +6 stub MsiSIPGetSignedDataMsg +7 stub MsiSIPPutSignedDataMsg +8 stub MsiSIPRemoveSignedDataMsg +9 stub MsiSIPCreateIndirectData +10 stub MsiSIPVerifyIndirectData +11 stub DllRegisterServer +12 stub DllUnregisterServer -- 1.4.1