PFNCFILTERPROC callback function
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
BOOL PFNCFILTERPROC(
_In_ PCCERT_CONTEXT pCertContext,
_In_ BOOL *pfInitialSelectedCert,
_In_ void *pvCallbackData
);
Parameters
- pCertContext [in]
-
A pointer to a CERT_CONTEXT structure that contains the certificate to filter.
- pfInitialSelectedCert [in]
-
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.
- pvCallbackData [in]
-
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
|
Minimum supported client |
Windows XP [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|