Skip to content

Latest commit

 

History

History
278 lines (211 loc) · 7.45 KB

ns-cryptdlg-cert_viewproperties_struct_a.md

File metadata and controls

278 lines (211 loc) · 7.45 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:cryptdlg.tagCERT_VIEWPROPERTIES_STRUCT_A
CERT_VIEWPROPERTIES_STRUCT_A (cryptdlg.h)
The CERT_VIEWPROPERTIES_STRUCT structure defines information used when the CertViewProperties function is called to display a certificate's properties. (ANSI)
*PCERT_VIEWPROPERTIES_STRUCT_A
CERT_VIEWPROPERTIES_STRUCT
CERT_VIEWPROPERTIES_STRUCT structure [Security]
CERT_VIEWPROPERTIES_STRUCT_A
CM_ADD_CERT_STORES
CM_ENABLEHOOK
CM_ENABLETEMPLATE
CM_HIDE_ADVANCEPAGE
CM_HIDE_DETAILPAGE
CM_HIDE_TRUSTPAGE
CM_NO_EDITTRUST
CM_NO_NAMECHANGE
CM_SHOW_HELP
CM_SHOW_HELPICON
PCERT_VIEWPROPERTIES_STRUCT
PCERT_VIEWPROPERTIES_STRUCT structure pointer [Security]
cryptdlg/CERT_VIEWPROPERTIES_STRUCT
cryptdlg/PCERT_VIEWPROPERTIES_STRUCT
security.cert_viewproperties_struct
security\cert_viewproperties_struct.htm
security
3d18526b-1052-4f0c-999b-881a74a94549
12/05/2018
*PCERT_VIEWPROPERTIES_STRUCT_A, CERT_VIEWPROPERTIES_STRUCT, CERT_VIEWPROPERTIES_STRUCT structure [Security], CERT_VIEWPROPERTIES_STRUCT_A, CM_ADD_CERT_STORES, CM_ENABLEHOOK, CM_ENABLETEMPLATE, CM_HIDE_ADVANCEPAGE, CM_HIDE_DETAILPAGE, CM_HIDE_TRUSTPAGE, CM_NO_EDITTRUST, CM_NO_NAMECHANGE, CM_SHOW_HELP, CM_SHOW_HELPICON, PCERT_VIEWPROPERTIES_STRUCT, PCERT_VIEWPROPERTIES_STRUCT structure pointer [Security], cryptdlg/CERT_VIEWPROPERTIES_STRUCT, cryptdlg/PCERT_VIEWPROPERTIES_STRUCT, security.cert_viewproperties_struct
cryptdlg.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
CERT_VIEWPROPERTIES_STRUCT_A, *PCERT_VIEWPROPERTIES_STRUCT_A
19H1
tagCERT_VIEWPROPERTIES_STRUCT_A
cryptdlg/tagCERT_VIEWPROPERTIES_STRUCT_A
PCERT_VIEWPROPERTIES_STRUCT_A
cryptdlg/PCERT_VIEWPROPERTIES_STRUCT_A
CERT_VIEWPROPERTIES_STRUCT_A
cryptdlg/CERT_VIEWPROPERTIES_STRUCT_A
c++
APIRef
kbSyntax
HeaderDef
CryptDlg.h
CERT_VIEWPROPERTIES_STRUCT
cert_viewproperties_struct_a

CERT_VIEWPROPERTIES_STRUCT_A structure

-description

[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.

-struct-fields

-field dwSize

The size, in bytes, of this structure.

-field hwndParent

A handle to the parent window.

-field hInstance

A handle to the module instance.

-field dwFlags

Bitwise combination of zero or more of the following values.

Value Meaning
CM_ENABLEHOOK
1 (0x1)
Specifies that a hook function is enabled.
CM_SHOW_HELP
2 (0x2)
Specifies that a help file is used.
CM_SHOW_HELPICON
4 (0x4)
Specifies that a help icon is used.
CM_ENABLETEMPLATE
8 (0x8)
Specifies that a template is enabled.
CM_HIDE_ADVANCEPAGE
16 (0x10)
Specifies that the Advance tab is not displayed.
CM_HIDE_TRUSTPAGE
32 (0x20)
Specifies that the Trust tab is not displayed.
CM_NO_NAMECHANGE
64 (0x40)
Specifies that the name cannot be changed.
CM_NO_EDITTRUST
128 (0x80)
Specifies that the trust cannot be edited.
CM_HIDE_DETAILPAGE
256 (0x100)
Specifies that the Detail tab is not displayed.
CM_ADD_CERT_STORES
512 (0x200)
Specifies that certificate stores are opened.

-field szTitle

A pointer to a null-terminated string for the title of the user interface.

-field pCertContext

Certificate context for the certificate to be shown.

-field arrayPurposes

A pointer to an array of null-terminated strings that specify the certificate purposes.

-field cArrayPurposes

Number of elements in the arrayPurposes array. If this value is zero, then no trust status is displayed.

-field cRootStores

Number of elements in the rghstoreRoots array.

-field rghstoreRoots

Array of Root certificate store handles.

-field cStores

Number of elements in the rghstoreCAs array.

-field rghstoreCAs

Array of other certificate store handles.

-field cTrustStores

Number of elements in the rghstoreTrust array.

-field rghstoreTrust

Array of trust certificate store handles.

-field hprov

A handle to the cryptographic service provider (CSP) to use for verification.

-field lCustData

Value used for custom data.

-field dwPad

Padding location.

-field szHelpFileName

A pointer to a null-terminated string for the Help file name.

-field dwHelpId

ID for the Help file topic.

-field nStartPage

Number of the first property page.

-field cArrayPropSheetPages

Number of elements in the arrayPropSheetPages array.

-field arrayPropSheetPages

A pointer to an array of PROPSHEETPAGE structures that specify the property pages.

-see-also

CertViewProperties

-remarks

Note

The cryptdlg.h header defines CERT_VIEWPROPERTIES_STRUCT as an alias which 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 not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.