Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The PFNCFILTERPROC function is an application-defined callback function that filters the certificates that appear in the digital signature wizard that are displayed by the CryptUIWizDigitalSign function.
Syntax
PFNCFILTERPROC Pfncfilterproc;
BOOL Pfncfilterproc(
[in] PCCERT_CONTEXT pCertContext,
[in] BOOL *pfInitialSelectedCert,
[in] void *pvCallbackData
)
{...}
Parameters
[in] pCertContext
A pointer to a CERT_CONTEXT structure that contains the certificate to filter.
[in] pfInitialSelectedCert
A Boolean value that specifies whether the certificate contained in the CERT_CONTEXT structure pointed to by the pCertContext parameter should be initially selected in the dialog box. This parameter is used only if the filter process returns TRUE.
[in] pvCallbackData
A pointer to user-defined data.
Return value
A Boolean value that specifies whether the certificate contained in the CERT_CONTEXT structure pointed to by the pCertContext parameter should be displayed in the digital signature wizard.
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 |