msasn1: Add ASN1_CreateModule stub implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=38020 Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7e9bee3a8d
commit
48aefd2a04
|
@ -23,6 +23,10 @@
|
|||
#include "winbase.h"
|
||||
#include "msasn1.h"
|
||||
|
||||
#include "wine/debug.h"
|
||||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msasn1);
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
|
||||
|
@ -37,3 +41,18 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
|||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
ASN1module_t WINAPI ASN1_CreateModule(ASN1uint32_t ver, ASN1encodingrule_e rule, ASN1uint32_t flags,
|
||||
ASN1uint32_t pdu, const ASN1GenericFun_t encoder[],
|
||||
const ASN1GenericFun_t decoder[], const ASN1FreeFun_t freemem[],
|
||||
const ASN1uint32_t size[], ASN1magic_t magic)
|
||||
{
|
||||
ASN1module_t module = NULL;
|
||||
|
||||
FIXME("(%08x %08x %08x %u %p %p %p %p %u): Stub!\n", ver, rule, flags, pdu, encoder, decoder, freemem, size, magic);
|
||||
|
||||
if (!encoder || !decoder || !freemem || !size)
|
||||
return module;
|
||||
|
||||
return module;
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@
|
|||
@ stub ASN1_CreateDecoder
|
||||
@ stub ASN1_CreateDecoderEx
|
||||
@ stub ASN1_CreateEncoder
|
||||
@ stub ASN1_CreateModule
|
||||
@ stdcall ASN1_CreateModule(long long long long ptr ptr ptr ptr long)
|
||||
@ stub ASN1_Decode
|
||||
@ stub ASN1_Encode
|
||||
@ stub ASN1_FreeDecoded
|
||||
|
|
Loading…
Reference in New Issue