Partager via


NotificationHandler (Compact 7)

3/12/2014

A callback prototype that notifies the supplicant that there is a change in the Statement of Health (SoH) and reauthentication of a Network Access Protection (NAP) system connection is required. For the user to receive visual notification of a change in the SoH, the callback must remain in place until after authentication is complete.

Note

Never cancel the callback while reauthentication is in progress and the network connection is still valid. Never attempt to use any other mechanism to notify the supplicant that the SoH has changed.

Syntax

typedef VOID ( CALLBACK *NotificationHandler )(
  __in  GUID connectionId,
  __in  VOID* pContextData
);

Parameters

  • connectionId
    A GUID provided by the supplicant to EAPHost. This value specifies the logical network connection to reauthenticate.
  • pContextData
    Context data that is provided to EAPHost by the supplicant. This context data can be used by the supplicant for reauthentication.

Return Value

This function pointer does not return a value.

Remarks

A pointer to this callback function must be provided when calling EapHostPeerBeginSession. The callback can be called by EAPHost at any time before calling EapHostPeerClearConnection.

See Also

Reference

EAPHost Supplicant Callbacks