Edit

WebAuthNPluginRegisterStatusChangeCallback function (webauthnplugin.h)

Registers a callback that is invoked when plugin authenticator status changes.

Syntax

HRESULT WebAuthNPluginRegisterStatusChangeCallback(
  WEBAUTHN_PLUGIN_STATUS_CHANGE_CALLBACK callback,
  void                                   *context,
  REFCLSID                               rclsid,
  DWORD                                  *pdwRegister
);

Parameters

callback

A WEBAUTHN_PLUGIN_STATUS_CHANGE_CALLBACK function pointer.

context

An optional caller-defined context pointer that Windows passes to the callback.

rclsid

The class identifier of the registered plugin authenticator to monitor.

pdwRegister

Receives a registration token that you pass to WebAuthNPluginUnregisterStatusChangeCallback to unregister the callback.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Use this function to receive notification when the availability or enabled state of a plugin authenticator changes.

Requirements

Requirement Value
Header webauthnplugin.h
Library WebAuthnPlugin.Lib
DLL WebAuthnPlugin.dll

See also

WEBAUTHN_PLUGIN_STATUS_CHANGE_CALLBACK

WebAuthNPluginUnregisterStatusChangeCallback