18#ifndef __CRYPTUIAPI_H__
19#define __CRYPTUIAPI_H__
35#define CRYPTUI_SELECT_ISSUEDTO_COLUMN 0x00000001
36#define CRYPTUI_SELECT_ISSUEDBY_COLUMN 0x00000002
37#define CRYPTUI_SELECT_INTENDEDUSE_COLUMN 0x00000004
38#define CRYPTUI_SELECT_FRIENDLYNAME_COLUMN 0x00000008
39#define CRYPTUI_SELECT_LOCATION_COLUMN 0x00000010
40#define CRYPTUI_SELECT_EXPIRATION_COLUMN 0x00000020
47#define CRYPTUI_CERT_MGR_PUBLISHER_TAB 0x00000004
48#define CRYPTUI_CERT_MGR_TAB_MASK 0x0000000f
49#define CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG 0x00008000
64 BOOL *pfInitialSelectedCert,
void *pvCallbackData);
73#define CRYPTUI_HIDE_HIERARCHYPAGE 0x00000001
74#define CRYPTUI_HIDE_DETAILPAGE 0x00000002
75#define CRYPTUI_DISABLE_EDITPROPERTIES 0x00000004
76#define CRYPTUI_ENABLE_EDITPROPERTIES 0x00000008
77#define CRYPTUI_DISABLE_ADDTOSTORE 0x00000010
78#define CRYPTUI_ENABLE_ADDTOSTORE 0x00000020
79#define CRYPTUI_ACCEPT_DECLINE_STYLE 0x00000040
80#define CRYPTUI_IGNORE_UNTRUSTED_ROOT 0x00000080
81#define CRYPTUI_DONT_OPEN_STORES 0x00000100
82#define CRYPTUI_ONLY_OPEN_ROOT_STORE 0x00000200
83#define CRYPTUI_WARN_UNTRUSTED_ROOT 0x00000400
84#define CRYPTUI_ENABLE_REVOCATION_CHECKING 0x00000800
85#define CRYPTUI_WARN_REMOTE_TRUST 0x00001000
86#define CRYPTUI_DISABLE_EXPORT 0x00002000
87#define CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT 0x00004000
88#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN 0x00008000
89#define CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT CRYPTUI_ENABLE_REVOCATION_CHECKING
90#define CRYPTUI_DISABLE_HTMLLINK 0x00010000
91#define CRYPTUI_DISABLE_ISSUERSTATEMENT 0x00020000
145#define CRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(CRYPTUI_VIEWCERTIFICATE_STRUCT)
146#define PCCRYPTUI_VIEWCERTIFICATE_STRUCT WINELIB_NAME_AW(PCCRYPTUI_VIEWCERTIFICATE_STRUCT)
152#define CryptUIDlgViewCertificate WINELIB_NAME_AW(CryptUIDlgViewCertificate)
246#define CRYPTUI_WIZ_NO_UI 0x00000001
247#define CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES 0x00000002
248#define CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES 0x00000004
258#define CRYPTUI_WIZ_EXPORT_CERT_CONTEXT 1
259#define CRYPTUI_WIZ_EXPORT_CTL_CONTEXT 2
260#define CRYPTUI_WIZ_EXPORT_CRL_CONTEXT 3
261#define CRYPTUI_WIZ_EXPORT_CERT_STORE 4
262#define CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY 5
263#define CRYPTUI_WIZ_EXPORT_FORMAT_CRL 6
264#define CRYPTUI_WIZ_EXPORT_FORMAT_CTL 7
283#define CRYPTUI_WIZ_EXPORT_FORMAT_DER 1
284#define CRYPTUI_WIZ_EXPORT_FORMAT_PFX 2
285#define CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7 3
286#define CRYPTUI_WIZ_EXPORT_FORMAT_BASE64 4
287#define CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE 5
305#define CRYPTUI_WIZ_IMPORT_SUBJECT_FILE 1
306#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT 2
307#define CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT 3
308#define CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT 4
309#define CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE 5
328#define CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE 0x00010000
329#define CRYPTUI_WIZ_IMPORT_ALLOW_CERT 0x00020000
330#define CRYPTUI_WIZ_IMPORT_ALLOW_CRL 0x00040000
331#define CRYPTUI_WIZ_IMPORT_ALLOW_CTL 0x00080000
332#define CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE 0x00100000
333#define CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER 0x00200000
334#define CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE 0x00400000
342 HWND hWndSelCertDlg,
void *pvCallbackData);
345#define CRYPTUI_SELECTCERT_MULTISELECT 0x00000001
static HWND LPCWSTR pwszWizardTitle
static HWND LPCWSTR PCCRYPTUI_WIZ_IMPORT_SRC_INFO HCERTSTORE hDestCertStore
static HWND LPCWSTR PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc
BOOL WINAPI CryptUIDlgViewCertificateW(PCCRYPTUI_VIEWCERTIFICATE_STRUCTW pCertViewInfo, BOOL *pfPropertiesChanged)
struct _CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
struct tagCRYPTUI_INITDIALOG_STRUCT CRYPTUI_INITDIALOG_STRUCT
const CRYPTUI_VIEWCERTIFICATE_STRUCTW * PCCRYPTUI_VIEWCERTIFICATE_STRUCTW
struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTW CRYPTUI_VIEWCERTIFICATE_STRUCTW
BOOL WINAPI CryptUIDlgViewCertificateA(PCCRYPTUI_VIEWCERTIFICATE_STRUCTA pCertViewInfo, BOOL *pfPropertiesChanged)
BOOL WINAPI CryptUIDlgViewSignerInfoW(CRYPTUI_VIEWSIGNERINFO_STRUCTW *pcvsi)
const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT * PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
struct _CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
const CRYPTUI_SELECTCERTIFICATE_STRUCTW * PCCRYPTUI_SELECTCERTIFICATE_STRUCTW
struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_INFO
BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_IMPORT_SRC_INFO pImportSrc, HCERTSTORE hDestCertStore)
struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW CRYPTUI_SELECTCERTIFICATE_STRUCTW
BOOL WINAPI CryptUIWizExport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_EXPORT_INFO pExportInfo, void *pvoid)
struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO * PCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
const CRYPTUI_VIEWCERTIFICATE_STRUCTA * PCCRYPTUI_VIEWCERTIFICATE_STRUCTA
const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA CRYPTUI_SELECTCERTIFICATE_STRUCTA
PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateA(PCCRYPTUI_SELECTCERTIFICATE_STRUCTA pcsc)
struct _CRYPTUI_WIZ_EXPORT_INFO CRYPTUI_WIZ_EXPORT_INFO
const CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA * PCRYPTUI_VIEWSIGNERINFO_STRUCTA
struct _CRYPTUI_SELECTCERTIFICATE_STRUCTW * PCRYPTUI_SELECTCERTIFICATE_STRUCTW
BOOL(WINAPI * PFNCCERTDISPLAYPROC)(PCCERT_CONTEXT pCertContext, HWND hWndSelCertDlg, void *pvCallbackData)
struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW * PCRYPTUI_VIEWSIGNERINFO_STRUCTW
struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTW CRYPTUI_VIEWSIGNERINFO_STRUCTW
PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateW(PCCRYPTUI_SELECTCERTIFICATE_STRUCTW pcsc)
struct _CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT * PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT
struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO * PCRYPTUI_WIZ_IMPORT_SRC_INFO
struct _CRYPTUI_CERT_MGR_STRUCT * PCRYPTUI_CERT_MGR_STRUCT
struct tagCRYPTUI_INITDIALOG_STRUCT * PCRYPTUI_INITDIALOG_STRUCT
struct _CRYPTUI_WIZ_EXPORT_INFO * PCRYPTUI_WIZ_EXPORT_INFO
const CRYPTUI_WIZ_EXPORT_INFO * PCCRYPTUI_WIZ_EXPORT_INFO
PCCERT_CONTEXT WINAPI CryptUIDlgSelectCertificateFromStore(HCERTSTORE hCertStore, HWND hwnd, LPCWSTR pwszTitle, LPCWSTR pwszDisplayString, DWORD dwDontUseColumn, DWORD dwFlags, LPVOID pvReserved)
const CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
const CRYPTUI_SELECTCERTIFICATE_STRUCTA * PCCRYPTUI_SELECTCERTIFICATE_STRUCTA
BOOL WINAPI CryptUIDlgViewContext(DWORD dwContextType, LPVOID pvContext, HWND hwnd, LPCWSTR pwszTitle, DWORD dwFlags, LPVOID pvReserved)
BOOL WINAPI CryptUIWizFreeDigitalSignContext(PCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT pSignContext)
struct _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO CRYPTUI_WIZ_IMPORT_SRC_INFO
BOOL WINAPI CryptUIWizDigitalSign(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardTitle, PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO pDigitalSignInfo, PCCRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT *ppSignContext)
struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTA CRYPTUI_VIEWCERTIFICATE_STRUCTA
BOOL(WINAPI * PFNCFILTERPROC)(PCCERT_CONTEXT pCertContext, BOOL *pfInitialSelectedCert, void *pvCallbackData)
struct _CRYPTUI_WIZ_DIGITAL_SIGN_INFO CRYPTUI_WIZ_DIGITAL_SIGN_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
BOOL WINAPI CryptUIDlgCertMgr(PCCRYPTUI_CERT_MGR_STRUCT pCryptUICertMgr)
struct _CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO * PCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
struct _CRYPTUI_CERT_MGR_STRUCT CRYPTUI_CERT_MGR_STRUCT
struct _CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
struct tagCRYPTUI_VIEWSIGNERINFO_STRUCTA CRYPTUI_VIEWSIGNERINFO_STRUCTA
const CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO
const CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO
struct _CRYPTUI_SELECTCERTIFICATE_STRUCTA * PCRYPTUI_SELECTCERTIFICATE_STRUCTA
const CRYPTUI_WIZ_DIGITAL_SIGN_INFO * PCCRYPTUI_WIZ_DIGITAL_SIGN_INFO
BOOL WINAPI CryptUIDlgViewSignerInfoA(CRYPTUI_VIEWSIGNERINFO_STRUCTA *pcvsi)
const struct _CRYPTUI_CERT_MGR_STRUCT * PCCRYPTUI_CERT_MGR_STRUCT
struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTA * PCRYPTUI_VIEWCERTIFICATE_STRUCTA
struct tagCRYPTUI_VIEWCERTIFICATE_STRUCTW * PCRYPTUI_VIEWCERTIFICATE_STRUCTW
const CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO * PCCRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
struct _CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO
const CRYPTUI_WIZ_IMPORT_SRC_INFO * PCCRYPTUI_WIZ_IMPORT_SRC_INFO
struct _CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO
static LPCSTR DWORD void * pvReserved
HCERTSTORE * rghDisplayStores
LPCPROPSHEETPAGEA rgPropSheetPages
PFNCCERTDISPLAYPROC pDisplayCallback
HCERTSTORE hSelectedCertStore
PFNCFILTERPROC pFilterCallback
HCERTSTORE * rghDisplayStores
LPCPROPSHEETPAGEW rgPropSheetPages
PFNCFILTERPROC pFilterCallback
HCERTSTORE hSelectedCertStore
PFNCCERTDISPLAYPROC pDisplayCallback
PCCRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO pPvkFileInfo
union _CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO::@2725 DUMMYUNIONNAME
LPWSTR pwszSigningCertFileName
PCRYPT_KEY_PROV_INFO pPvkProvInfo
PCRYPT_ATTRIBUTES psAuthenticated
PCRYPT_ATTRIBUTES psUnauthenticated
LPCWSTR pwszMoreInfoLocation
LPCWSTR pwszSigningCertDisplayString
HCERTSTORE hAdditionalCertStore
DWORD dwSigningCertChoice
union _CRYPTUI_WIZ_DIGITAL_SIGN_INFO::@2726 DUMMYUNIONNAME1
DWORD dwAdditionalCertChoice
PCCRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO pSigningCertPvkInfo
PCCRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO pSignExtInfo
PCCRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO pSignBlobInfo
union _CRYPTUI_WIZ_DIGITAL_SIGN_INFO::@2727 DUMMYUNIONNAME2
PCCERT_CONTEXT pSigningCertContext
PCCRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO pSigningCertStore
HCERTSTORE * rghCertStore
PFNCFILTERPROC pFilterCallback
PCCTL_CONTEXT pCTLContext
union _CRYPTUI_WIZ_EXPORT_INFO::@2728 DUMMYUNIONNAME
LPCWSTR pwszExportFileName
PCCERT_CONTEXT pCertContext
PCCRL_CONTEXT pCRLContext
union _CRYPTUI_WIZ_IMPORT_SUBJECT_INFO::@2729 DUMMYUNIONNAME
PCCRL_CONTEXT pCRLContext
PCCERT_CONTEXT pCertContext
PCCTL_CONTEXT pCTLContext
PCCERT_CONTEXT pCertContext
LPCPROPSHEETPAGEA rgPropSheetPages
BOOL fpCryptProviderDataTrustedUsage
CRYPT_PROVIDER_DATA const * pCryptProviderData
union tagCRYPTUI_VIEWCERTIFICATE_STRUCTA::@2723 DUMMYUNIONNAME
PCCERT_CONTEXT pCertContext
CRYPT_PROVIDER_DATA const * pCryptProviderData
union tagCRYPTUI_VIEWCERTIFICATE_STRUCTW::@2724 DUMMYUNIONNAME
LPCPROPSHEETPAGEW rgPropSheetPages
BOOL fpCryptProviderDataTrustedUsage
PCCERT_CONTEXT pCertContext
CMSG_SIGNER_INFO * pSignerInfo
LPCPROPSHEETPAGEA rgPropSheetPages
LPCPROPSHEETPAGEW rgPropSheetPages
CMSG_SIGNER_INFO * pSignerInfo
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
_In_ PCCERT_CONTEXT pCertContext