initpki: Add initial stub dll.
This commit is contained in:
parent
e4576c807b
commit
7c3d24bf5c
|
@ -266,6 +266,7 @@ ALL_MAKEFILES = \
|
||||||
dlls/inetcomm/tests/Makefile \
|
dlls/inetcomm/tests/Makefile \
|
||||||
dlls/infosoft/Makefile \
|
dlls/infosoft/Makefile \
|
||||||
dlls/infosoft/tests/Makefile \
|
dlls/infosoft/tests/Makefile \
|
||||||
|
dlls/initpki/Makefile \
|
||||||
dlls/inkobj/Makefile \
|
dlls/inkobj/Makefile \
|
||||||
dlls/inseng/Makefile \
|
dlls/inseng/Makefile \
|
||||||
dlls/iphlpapi/Makefile \
|
dlls/iphlpapi/Makefile \
|
||||||
|
@ -659,6 +660,7 @@ dlls/inetcomm/Makefile: dlls/inetcomm/Makefile.in dlls/Makedll.rules
|
||||||
dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules
|
dlls/inetcomm/tests/Makefile: dlls/inetcomm/tests/Makefile.in dlls/Maketest.rules
|
||||||
dlls/infosoft/Makefile: dlls/infosoft/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/infosoft/tests/Makefile: dlls/infosoft/tests/Makefile.in dlls/Maketest.rules
|
||||||
|
dlls/initpki/Makefile: dlls/initpki/Makefile.in dlls/Makedll.rules
|
||||||
dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules
|
dlls/inkobj/Makefile: dlls/inkobj/Makefile.in dlls/Makedll.rules
|
||||||
dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules
|
dlls/inseng/Makefile: dlls/inseng/Makefile.in dlls/Makedll.rules
|
||||||
dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules
|
dlls/iphlpapi/Makefile: dlls/iphlpapi/Makefile.in dlls/Makedll.rules
|
||||||
|
|
|
@ -21383,6 +21383,8 @@ ac_config_files="$ac_config_files dlls/infosoft/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
|
ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
|
||||||
|
|
||||||
|
ac_config_files="$ac_config_files dlls/initpki/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/inkobj/Makefile"
|
ac_config_files="$ac_config_files dlls/inkobj/Makefile"
|
||||||
|
|
||||||
ac_config_files="$ac_config_files dlls/inseng/Makefile"
|
ac_config_files="$ac_config_files dlls/inseng/Makefile"
|
||||||
|
@ -22597,6 +22599,7 @@ do
|
||||||
"dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
|
"dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
|
||||||
"dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
|
"dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
|
||||||
"dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
|
"dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
|
||||||
|
"dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
|
||||||
"dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
|
"dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
|
||||||
"dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
|
"dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
|
||||||
"dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
|
"dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
|
||||||
|
|
|
@ -1765,6 +1765,7 @@ AC_CONFIG_FILES([dlls/inetcomm/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/inetcomm/tests/Makefile])
|
AC_CONFIG_FILES([dlls/inetcomm/tests/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/infosoft/Makefile])
|
AC_CONFIG_FILES([dlls/infosoft/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/infosoft/tests/Makefile])
|
AC_CONFIG_FILES([dlls/infosoft/tests/Makefile])
|
||||||
|
AC_CONFIG_FILES([dlls/initpki/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/inkobj/Makefile])
|
AC_CONFIG_FILES([dlls/inkobj/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/inseng/Makefile])
|
AC_CONFIG_FILES([dlls/inseng/Makefile])
|
||||||
AC_CONFIG_FILES([dlls/iphlpapi/Makefile])
|
AC_CONFIG_FILES([dlls/iphlpapi/Makefile])
|
||||||
|
|
|
@ -96,6 +96,7 @@ BASEDIRS = \
|
||||||
imm32 \
|
imm32 \
|
||||||
inetcomm \
|
inetcomm \
|
||||||
infosoft \
|
infosoft \
|
||||||
|
initpki \
|
||||||
inkobj \
|
inkobj \
|
||||||
inseng \
|
inseng \
|
||||||
iphlpapi \
|
iphlpapi \
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
TOPSRCDIR = @top_srcdir@
|
||||||
|
TOPOBJDIR = ../..
|
||||||
|
SRCDIR = @srcdir@
|
||||||
|
VPATH = @srcdir@
|
||||||
|
MODULE = initpki.dll
|
||||||
|
IMPORTS = kernel32
|
||||||
|
|
||||||
|
C_SRCS = \
|
||||||
|
main.c
|
||||||
|
|
||||||
|
@MAKE_DLL_RULES@
|
||||||
|
|
||||||
|
@DEPENDENCIES@ # everything below this line is overwritten by make depend
|
|
@ -0,0 +1,4 @@
|
||||||
|
@ stub DllInstall
|
||||||
|
@ stub DllRegisterServer
|
||||||
|
@ stub DllUnregisterServer
|
||||||
|
@ stub InitializePKI
|
|
@ -0,0 +1,46 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2008 Maarten Lankhorst
|
||||||
|
*
|
||||||
|
* 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 <stdarg.h>
|
||||||
|
|
||||||
|
#include "windef.h"
|
||||||
|
#include "winbase.h"
|
||||||
|
#include "wine/debug.h"
|
||||||
|
|
||||||
|
WINE_DEFAULT_DEBUG_CHANNEL(initpki);
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
Loading…
Reference in New Issue