Moved declaration of VTableProvStruc from dlls/advapi32/crypt.h to

include/wincrypt.h.
This commit is contained in:
Mike McCormack 2003-07-21 23:50:08 +00:00 committed by Alexandre Julliard
parent 6b56fabeec
commit 87be464163
2 changed files with 10 additions and 10 deletions

View File

@ -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);

View File

@ -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))