Moved declaration of VTableProvStruc from dlls/advapi32/crypt.h to
include/wincrypt.h.
This commit is contained in:
parent
6b56fabeec
commit
87be464163
|
@ -23,16 +23,6 @@
|
|||
|
||||
#include "wincrypt.h"
|
||||
|
||||
typedef struct _VTableProvStruc {
|
||||
DWORD Version;
|
||||
BOOL (*pFuncVerifyImage)(LPCSTR lpszImage, BYTE *pSigData);
|
||||
BOOL (*pFuncReturnhWnd)(HWND *phWnd);
|
||||
DWORD dwProvType;
|
||||
BYTE *pbContextInfo;
|
||||
DWORD cbContextInfo;
|
||||
LPSTR pszProvName;
|
||||
} VTableProvStruc, *PVTableProvStruc;
|
||||
|
||||
typedef struct tagPROVFUNCS
|
||||
{
|
||||
BOOL (WINAPI *pCPAcquireContext)(HCRYPTPROV *phProv, LPSTR pszContainer, DWORD dwFlags, PVTableProvStruc pVTable);
|
||||
|
|
|
@ -105,6 +105,16 @@ typedef struct _CERT_CONTEXT {
|
|||
} CERT_CONTEXT, *PCERT_CONTEXT;
|
||||
typedef const CERT_CONTEXT *PCCERT_CONTEXT;
|
||||
|
||||
typedef struct _VTableProvStruc {
|
||||
DWORD Version;
|
||||
FARPROC pFuncVerifyImage;
|
||||
FARPROC pFuncReturnhWnd;
|
||||
DWORD dwProvType;
|
||||
BYTE *pbContextInfo;
|
||||
DWORD cbContextInfo;
|
||||
LPSTR pszProvName;
|
||||
} VTableProvStruc, *PVTableProvStruc;
|
||||
|
||||
/* Algorithm IDs */
|
||||
|
||||
#define GET_ALG_CLASS(x) (x & (7 << 13))
|
||||
|
|
Loading…
Reference in New Issue