45 lines
1.1 KiB
C
45 lines
1.1 KiB
C
/*
|
|
* dlls/advapi32/crypt.c
|
|
*/
|
|
#include "windef.h"
|
|
#include "winerror.h"
|
|
#include "wincrypt.h"
|
|
#include "debugtools.h"
|
|
|
|
DEFAULT_DEBUG_CHANNEL(advapi)
|
|
|
|
/******************************************************************************
|
|
* 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.
|
|
*/
|
|
|
|
BOOL WINAPI
|
|
CryptAcquireContextA( HCRYPTPROV *phProv, LPCSTR pszContainer,
|
|
LPCSTR pszProvider, DWORD dwProvType, DWORD dwFlags)
|
|
{
|
|
FIXME_(advapi)("(%p, %s, %s, %ld, %08lx): stub!\n", phProv, pszContainer,
|
|
pszProvider, dwProvType, dwFlags);
|
|
return FALSE;
|
|
}
|
|
|
|
/******************************************************************************
|
|
* CryptSetKeyParam
|
|
*/
|
|
BOOL WINAPI
|
|
CryptSetKeyParam( HCRYPTKEY hKey, DWORD dwParam, BYTE *pbData, DWORD dwFlags)
|
|
{
|
|
FIXME_(advapi)("(%lx, %lx, %p, %lx): stub!\n",
|
|
hKey, dwParam, pbData, dwFlags);
|
|
return FALSE;
|
|
}
|
|
|