CertSelectCertificate function
The CertSelectCertificate function presents a dialog box that allows the user to select certificates from a set of certificates that match the given criteria.
Note This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to CryptDlg.dll.
Syntax
BOOL WINAPI CertSelectCertificate( _Inout_ PCERT_SELECT_STRUCT_W pCertSelectInfo );
Parameters
- pCertSelectInfo [in, out]
-
A pointer to a CERT_SELECT_STRUCT structure that contains criteria that control the displayed certificates for selection and receives the selected certificate.
Return value
If the function succeeds, the return value is TRUE.
If the function fails, the return value is FALSE. For extended error information, call the GetLastError function.
Requirements
|
Minimum supported client | Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2003 [desktop apps only] |
|
Header |
|
|
DLL |
|
See also
Send comments about this topic to Microsoft
Build date: 10/26/2012