EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

PFNCMHOOKPROC callback function

The PFNCMHOOKPROC function is a hook procedure that is called before messages are processed by the certificate selection dialog box produced by the CertSelectCertificate function. The function allows the caller to customize the dialog box. PFNCMHOOKPROC is an application-defined callback function specified in the CERT_SELECT_STRUCT structure. The CERT_SELECT_STRUCT structure is a parameter in the CertSelectCertificate function. The PFNCMHOOKPROC function must be implemented by the developer to suit each application.

Syntax


UINT WINAPI * PFNCMHOOKPROC(
  _In_  HWND hwndDialog,
  _In_  UINT message,
  _In_  WPARAM wParam,
  _In_  LPARAM lParam
);

Parameters

hwndDialog [in]

A handle to a dialog box window.

message [in]

The message.

wParam [in]

Additional information about the message sent or posted.

lParam [in]

Additional information about the message sent or posted.

Return value

Return a nonzero value (TRUE) if this function processes the message. Return zero (FALSE) if this function does not process the message.

Remarks

For information about hooks, see Hooks.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

CryptDlg.h

See also

CertSelectCertificate
CERT_SELECT_STRUCT

 

 

Aggiunte alla community

AGGIUNGI
Mostra:
© 2014 Microsoft