Commit b67af9cd authored by Ian Schmidt's avatar Ian Schmidt Committed by Alexandre Julliard

Added entries for most Crypt* calls.

Added stub for CryptAcquireContextA. This allows Win98 EXPLORER.EXE to get farther.
parent 5f5213ad
......@@ -7,6 +7,7 @@ MODULE = advapi32
C_SRCS = \
advapi.c \
crypt.c \
eventlog.c \
security.c \
service.c
......
/*
* dlls/advapi32/crypt.c
*/
#include "windows.h"
#include "winerror.h"
#include "debug.h"
#include "wincrypt.h"
/******************************************************************************
* CryptAcquireContextA
* Acquire a crypto provider context handle.
*
* PARAMS
* phProv: Pointer to HCRYPTPROV for the output.
* pszContainer: FIXME (unknown)
* pszProvider: FIXME (unknown)
* dwProvType: Crypto provider type to get a handle.
* dwFlags: flags for the operation
*
* RETURNS TRUE on success, FALSE on failure.
*/
BOOL32 WINAPI
CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
{
FIXME(advapi,"(%08lx, %s, %s, %d, %08lx): stub!\n", phProv, pszContainer,
pszProvider, dwProvType, dwFlags);
return FALSE;
}
#ifndef __WINE_WINCRYPT_H
#define __WINE_WINCRYPT_H
/* FIXME: this whole file plus the implementation */
/* some typedefs for function parameters */
typedef unsigned int ALG_ID;
typedef unsigned long HCRYPTPROV;
typedef unsigned long HCRYPTKEY;
typedef unsigned long HCRYPTHASH;
/* function declarations */
BOOL32 WINAPI CryptAcquireContextA(HCRYPTPROV *phProv, LPCSTR pszContainer,
LPCSTR pszProvider, DWORD dwProvType,
DWORD dwFlags);
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment