wintrust: Make crypt provider functions calling convention explicit.
This commit is contained in:
parent
39aa755600
commit
67a0ff46eb
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue