Commit 67a0ff46 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

wintrust: Make crypt provider functions calling convention explicit.

parent 39aa7556
...@@ -221,32 +221,32 @@ typedef struct _CRYPT_PROVIDER_PRIVDATA { ...@@ -221,32 +221,32 @@ typedef struct _CRYPT_PROVIDER_PRIVDATA {
struct _CRYPT_PROVIDER_DATA; struct _CRYPT_PROVIDER_DATA;
typedef void * (*PFN_CPD_MEM_ALLOC)(DWORD cbSize); typedef void * (WINAPI *PFN_CPD_MEM_ALLOC)(DWORD cbSize);
typedef void (*PFN_CPD_MEM_FREE)(void *pvMem2Free); typedef void (WINAPI *PFN_CPD_MEM_FREE)(void *pvMem2Free);
typedef BOOL (*PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData, typedef BOOL (WINAPI *PFN_CPD_ADD_STORE)(struct _CRYPT_PROVIDER_DATA *pProvData,
HCERTSTORE hStore2Add); HCERTSTORE hStore2Add);
typedef BOOL (*PFN_CPD_ADD_SGNR)(struct _CRYPT_PROVIDER_DATA *pProvData, typedef BOOL (WINAPI *PFN_CPD_ADD_SGNR)(struct _CRYPT_PROVIDER_DATA *pProvData,
BOOL fCounterSigner, DWORD idxSigner, struct _CRYPT_PROVIDER_SGNR *pSgnr2Add); BOOL fCounterSigner, DWORD idxSigner, struct _CRYPT_PROVIDER_SGNR *pSgnr2Add);
typedef BOOL (*PFN_CPD_ADD_CERT)(struct _CRYPT_PROVIDER_DATA *pProvData, typedef BOOL (WINAPI *PFN_CPD_ADD_CERT)(struct _CRYPT_PROVIDER_DATA *pProvData,
DWORD idxSigner, BOOL fCounterSigner, DWORD idxCounterSigner, DWORD idxSigner, BOOL fCounterSigner, DWORD idxCounterSigner,
PCCERT_CONTEXT pCert2Add); PCCERT_CONTEXT pCert2Add);
typedef BOOL (*PFN_CPD_ADD_PRIVDATA)(struct _CRYPT_PROVIDER_DATA *pProvData, typedef BOOL (WINAPI *PFN_CPD_ADD_PRIVDATA)(struct _CRYPT_PROVIDER_DATA *pProvData,
struct _CRYPT_PROVIDER_PRIVDATA *pPrivData2Add); struct _CRYPT_PROVIDER_PRIVDATA *pPrivData2Add);
typedef HRESULT (*PFN_PROVIDER_INIT_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_INIT_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_OBJTRUST_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_OBJTRUST_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_SIGTRUST_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_SIGTRUST_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_CERTTRUST_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_CERTTRUST_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_FINALPOLICY_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_FINALPOLICY_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_TESTFINALPOLICY_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_TESTFINALPOLICY_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef HRESULT (*PFN_PROVIDER_CLEANUP_CALL)( typedef HRESULT (WINAPI *PFN_PROVIDER_CLEANUP_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData); struct _CRYPT_PROVIDER_DATA *pProvData);
typedef BOOL (*PFN_PROVIDER_CERTCHKPOLICY_CALL)( typedef BOOL (WINAPI *PFN_PROVIDER_CERTCHKPOLICY_CALL)(
struct _CRYPT_PROVIDER_DATA *pProvData, DWORD idxSigner, struct _CRYPT_PROVIDER_DATA *pProvData, DWORD idxSigner,
BOOL fCounterSignerChain, DWORD idxCounterSigner); BOOL fCounterSignerChain, DWORD idxCounterSigner);
......
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