CERT_VIEWPROPERTIES_STRUCT_A structure (cryptdlg.h)
[The CERT_VIEWPROPERTIES_STRUCT structure is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
The CERT_VIEWPROPERTIES_STRUCT structure defines information used when the CertViewProperties function is called to display a certificate's properties.
Syntax
typedef struct tagCERT_VIEWPROPERTIES_STRUCT_A {
DWORD dwSize;
HWND hwndParent;
HINSTANCE hInstance;
DWORD dwFlags;
LPCSTR szTitle;
PCCERT_CONTEXT pCertContext;
LPSTR *arrayPurposes;
DWORD cArrayPurposes;
DWORD cRootStores;
HCERTSTORE *rghstoreRoots;
DWORD cStores;
HCERTSTORE *rghstoreCAs;
DWORD cTrustStores;
HCERTSTORE *rghstoreTrust;
HCRYPTPROV hprov;
LPARAM lCustData;
DWORD dwPad;
LPCSTR szHelpFileName;
DWORD dwHelpId;
DWORD nStartPage;
DWORD cArrayPropSheetPages;
PROPSHEETPAGE *arrayPropSheetPages;
} CERT_VIEWPROPERTIES_STRUCT_A, *PCERT_VIEWPROPERTIES_STRUCT_A;
Members
dwSize
The size, in bytes, of this structure.
hwndParent
A handle to the parent window.
hInstance
A handle to the module instance.
dwFlags
Bitwise combination of zero or more of the following values.
szTitle
A pointer to a null-terminated string for the title of the user interface.
pCertContext
Certificate context for the certificate to be shown.
arrayPurposes
A pointer to an array of null-terminated strings that specify the certificate purposes.
cArrayPurposes
Number of elements in the arrayPurposes array. If this value is zero, then no trust status is displayed.
cRootStores
Number of elements in the rghstoreRoots array.
rghstoreRoots
Array of Root certificate store handles.
cStores
Number of elements in the rghstoreCAs array.
rghstoreCAs
Array of other certificate store handles.
cTrustStores
Number of elements in the rghstoreTrust array.
rghstoreTrust
Array of trust certificate store handles.
hprov
A handle to the cryptographic service provider (CSP) to use for verification.
lCustData
Value used for custom data.
dwPad
Padding location.
szHelpFileName
A pointer to a null-terminated string for the Help file name.
dwHelpId
ID for the Help file topic.
nStartPage
Number of the first property page.
cArrayPropSheetPages
Number of elements in the arrayPropSheetPages array.
arrayPropSheetPages
A pointer to an array of PROPSHEETPAGE structures that specify the property pages.
Remarks
Note
The cryptdlg.h header defines CERT_VIEWPROPERTIES_STRUCT as an alias that automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that is not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | cryptdlg.h |