CertViewPropertiesW function (cryptdlg.h)

[The CertViewProperties function is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions. Instead, use the CryptUIDlgViewContext function.]

The CertViewProperties function displays the properties for a certificate in a user interface (UI) dialog box. This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to CryptDlg.dll.

Note  This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to CryptDlg.dll.
 

Syntax

CRYPTDLGAPI BOOL CertViewPropertiesW(
  [in] PCERT_VIEWPROPERTIES_STRUCT_W pCertViewInfo
);

Parameters

[in] pCertViewInfo

A pointer to a CERT_VIEWPROPERTIES_STRUCT structure that contains the information about the certificate to view.

Return value

The return value is TRUE if the function is successful; FALSE if the function fails.

Remarks

Note

The cryptdlg.h header defines CertViewProperties 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.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header cryptdlg.h
DLL CryptDlg.dll