cryptnet: Implement a stub cryptnet dll.

This commit is contained in:
Maarten Lankhorst 2006-06-28 16:51:41 +02:00 committed by Alexandre Julliard
parent 8daf5ad2aa
commit d2ee3872e3
6 changed files with 99 additions and 1 deletions

3
configure vendored

File diff suppressed because one or more lines are too long

View file

@ -1573,6 +1573,7 @@ dlls/crtdll/Makefile
dlls/crypt32/Makefile
dlls/crypt32/tests/Makefile
dlls/cryptdll/Makefile
dlls/cryptnet/Makefile
dlls/ctl3d32/Makefile
dlls/d3d8/Makefile
dlls/d3d8/tests/Makefile

View file

@ -34,6 +34,7 @@ BASEDIRS = \
crtdll \
crypt32 \
cryptdll \
cryptnet \
ctl3d32 \
d3d8 \
d3d9 \

13
dlls/cryptnet/Makefile.in Normal file
View file

@ -0,0 +1,13 @@
TOPSRCDIR = @top_srcdir@
TOPOBJDIR = ../..
SRCDIR = @srcdir@
VPATH = @srcdir@
MODULE = cryptnet.dll
IMPORTS = kernel32
C_SRCS = \
cryptnet_main.c
@MAKE_DLL_RULES@
### Dependencies:

View file

@ -0,0 +1,18 @@
@ stub CertDllVerifyCTLUsage
@ stub CertDllVerifyRevocation
@ stub CryptnetWlxLogoffEvent
@ stub LdapProvOpenStore
@ stub CryptCancelAsyncRetrieval
@ stub CryptFlushTimeValidObject
@ stub CryptGetObjectUrl
@ stub CryptGetTimeValidObject
@ stub CryptInstallCancelRetrieval
@ stub CryptRetrieveObjectByUrlA
@ stub CryptRetrieveObjectByUrlW
@ stub CryptUninstallCancelRetrieval
@ stdcall -private DllRegisterServer()
@ stdcall -private DllUnregisterServer()
@ stub I_CryptNetEnumUrlCacheEntry
@ stub I_CryptNetGetHostNameFromUrl
@ stub I_CryptNetGetUserDsStoreUrl
@ stub I_CryptNetIsConnected

View file

@ -0,0 +1,64 @@
/*
* Copyright (C) 2006 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 "windef.h"
#include "wine/debug.h"
#include "winbase.h"
#include "winnt.h"
WINE_DEFAULT_DEBUG_CHANNEL(cryptnet);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %ld, %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:
/* Do uninitialisation here */
break;
default: break;
}
return TRUE;
}
/***********************************************************************
* DllRegisterServer (CRYPTNET.@)
*/
HRESULT WINAPI DllRegisterServer(void)
{
FIXME("stub\n");
return S_OK;
}
/***********************************************************************
* DllUnregisterServer (CRYPTNET.@)
*/
HRESULT WINAPI DllUnregisterServer(void)
{
FIXME("stub\n");
return S_OK;
}