cryptnet: Implement a stub cryptnet dll.
This commit is contained in:
parent
8daf5ad2aa
commit
d2ee3872e3
|
@ -1573,6 +1573,7 @@ dlls/crtdll/Makefile
|
||||||
dlls/crypt32/Makefile
|
dlls/crypt32/Makefile
|
||||||
dlls/crypt32/tests/Makefile
|
dlls/crypt32/tests/Makefile
|
||||||
dlls/cryptdll/Makefile
|
dlls/cryptdll/Makefile
|
||||||
|
dlls/cryptnet/Makefile
|
||||||
dlls/ctl3d32/Makefile
|
dlls/ctl3d32/Makefile
|
||||||
dlls/d3d8/Makefile
|
dlls/d3d8/Makefile
|
||||||
dlls/d3d8/tests/Makefile
|
dlls/d3d8/tests/Makefile
|
||||||
|
|
|
@ -34,6 +34,7 @@ BASEDIRS = \
|
||||||
crtdll \
|
crtdll \
|
||||||
crypt32 \
|
crypt32 \
|
||||||
cryptdll \
|
cryptdll \
|
||||||
|
cryptnet \
|
||||||
ctl3d32 \
|
ctl3d32 \
|
||||||
d3d8 \
|
d3d8 \
|
||||||
d3d9 \
|
d3d9 \
|
||||||
|
|
|
@ -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:
|
|
@ -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
|
|
@ -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;
|
||||||
|
}
|
Loading…
Reference in New Issue