mirror of
https://github.com/reactos/reactos.git
synced 2024-08-20 02:13:29 +00:00
[CRYPTDLL]
Add proper stubs. svn path=/branches/cmake-bringup/; revision=49671
This commit is contained in:
parent
16720dd129
commit
580f370be3
|
@ -5,7 +5,10 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|||
|
||||
spec2def(cryptdll.dll cryptdll.spec)
|
||||
|
||||
add_library(cryptdll SHARED cryptdll.c ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
|
||||
add_library(cryptdll SHARED
|
||||
cryptdll.c
|
||||
stubs.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
|
||||
|
||||
set_module_type(cryptdll win32dll)
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
@ stub CDBuildIntegrityVect
|
||||
@ stub CDBuildVect
|
||||
@ stub CDFindCommonCSystem
|
||||
@ stub CDFindCommonCSystemWithKey
|
||||
@ stub CDGenerateRandomBits
|
||||
@ stub CDLocateCSystem
|
||||
@ stub CDLocateCheckSum
|
||||
@ stub CDLocateRng
|
||||
@ stub CDRegisterCSystem
|
||||
@ stub CDRegisterCheckSum
|
||||
@ stub CDRegisterRng
|
||||
@ stdcall CDBuildIntegrityVect(long long)
|
||||
@ stdcall CDBuildVect(long long)
|
||||
@ stdcall CDFindCommonCSystem(long long long)
|
||||
@ stdcall CDFindCommonCSystemWithKey(long long long long long)
|
||||
@ stdcall CDGenerateRandomBits(long long)
|
||||
@ stdcall CDLocateCSystem(long long)
|
||||
@ stdcall CDLocateCheckSum(long long)
|
||||
@ stdcall CDLocateRng(long long)
|
||||
@ stdcall CDRegisterCSystem(long)
|
||||
@ stdcall CDRegisterCheckSum(long)
|
||||
@ stdcall CDRegisterRng(long)
|
||||
@ stdcall MD5Final(ptr) advapi32.MD5Final
|
||||
@ stdcall MD5Init(ptr) advapi32.MD5Init
|
||||
@ stdcall MD5Update(ptr ptr long) advapi32.MD5Update
|
||||
|
|
71
dll/win32/cryptdll/stubs.c
Normal file
71
dll/win32/cryptdll/stubs.c
Normal file
|
@ -0,0 +1,71 @@
|
|||
|
||||
#include <windows.h>
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
void WINAPI
|
||||
CDBuildIntegrityVect(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDBuildVect(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDFindCommonCSystem(DWORD Unknown1, DWORD Unknown2, DWORD Unknown3)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDFindCommonCSystemWithKey(DWORD Unknown1, DWORD Unknown2, DWORD Unknown3, DWORD Unknown4, DWORD Unknown5)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDGenerateRandomBits(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDLocateCSystem(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDLocateCheckSum(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDLocateRng(DWORD Unknown1, DWORD Unknown2)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDRegisterCSystem(DWORD Unknown1)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDRegisterCheckSum(DWORD Unknown1)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
void WINAPI
|
||||
CDRegisterRng(DWORD Unknown1)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
Loading…
Reference in a new issue