OpenPersonalTrustDBDialogEx function (wintrust.h)

The OpenPersonalTrustDBDialogEx function displays the Certificates dialog box.

Note  This function has no associated header file or import library. You must define the function yourself and use the LoadLibrary and GetProcAddress functions to dynamically link to Wintrust.dll.
 

Syntax

BOOL OpenPersonalTrustDBDialogEx(
  [in, optional]      HWND  hwndParent,
  [in]                DWORD dwFlags,
  [in, out, optional] PVOID *pvReserved
);

Parameters

[in, optional] hwndParent

The handle of the parent window for the dialog box. If this parameter is NULL, the dialog box has no parent.

[in] dwFlags

A set of flags that modify the behavior of this function. This can be zero or the following value.

Value Meaning
WT_TRUSTDBDIALOG_ONLY_PUB_TAB_FLAG
2 (0x2)
Only display the Trusted Publisher tab. By default, all of the user interface tabs are displayed and the Trusted Publisher tab is initially selected.

[in, out, optional] pvReserved

Not used. Must be NULL.

Return value

Returns nonzero if the dialog box was opened successfully or zero otherwise.

Requirements

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

See also

OpenPersonalTrustDBDialog