CryptUIDlgViewContext function (cryptuiapi.h)
The CryptUIDlgViewContext function displays a certificate, CTL, or CRL context.
Syntax
BOOL CryptUIDlgViewContext(
[in] DWORD dwContextType,
[in] const void *pvContext,
[in] HWND hwnd,
[in] LPCWSTR pwszTitle,
[in] DWORD dwFlags,
[in] void *pvReserved
);
Parameters
[in] dwContextType
DWORD indicating whether pvContext is a pointer to a certificate, a CRL, or a CTL context as indicated in the following table.
Value | Meaning |
---|---|
|
PCCERT_CONTEXT |
|
PCCRL_CONTEXT |
|
PCCTL_CONTEXT |
[in] pvContext
A pointer to a certificate, CRL, or CTL context to be displayed.
[in] hwnd
Handle of the window for the display. If NULL, the display defaults to the desktop window.
[in] pwszTitle
Display title string. If NULL, the default context type is used as the title.
[in] dwFlags
Currently not used and should be set to 0.
[in] pvReserved
Reserved for future use.
Return value
This function returns TRUE on success and FALSE on failure.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | cryptuiapi.h |
Library | Cryptui.lib |
DLL | Cryptui.dll |