Expand Minimize

OpenPersonalTrustDBDialogEx function

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 WINAPI OpenPersonalTrustDBDialogEx(
  _In_opt_     HWND hwndParent,
  _In_         DWORD dwFlags,
  _Inout_opt_  PVOID *pvReserved
);

Parameters

hwndParent [in, optional]

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

dwFlags [in]

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

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

 

pvReserved [in, out, optional]

Not used. Must be NULL.

Return value

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

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

DLL

Wintrust.dll

See also

OpenPersonalTrustDBDialog

 

 

Community Additions

ADD
Show:
© 2014 Microsoft