The CryptUIDlgSelectCertificateFromStore function displays a dialog box
that allows the selection of a certificate from a specified store.
hCertStore - Handle of the certificate store to be searched.
hwnd - Handle of the window for the display. If NULL,
defaults to the desktop window.
pwszTitle - String used as the title of the dialog box. If
NULL, the default title, "Select Certificate,"
pwszDisplayString - Text statement in the selection dialog box. If
NULL, the default phrase, "Select a certificate
you want to use," is used.
dwDontUseColumn - Flags that can be combined to exclude columns of
dwFlags - Currently not used and should be set to 0.
pvReserved - Reserved for future use.
Returns a pointer to the selected certificate context. If no
certificate was selected, NULL is returned. When you have
finished using the certificate, free the certificate context by
calling the CertFreeCertificateContext function.