Edit

WebAuthNGetCancellationId function (webauthn.h)

Returns a cancellation ID that can be passed to WebAuthNCancelCurrentOperation to cancel a pending WebAuthNAuthenticatorMakeCredential or WebAuthNAuthenticatorGetAssertion call.

Syntax

HRESULT WebAuthNGetCancellationId(
  GUID *pCancellationId
);

Parameters

pCancellationId

A pointer to a GUID that receives the cancellation ID. Pass this value to WebAuthNCancelCurrentOperation to cancel the operation.

Return value

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. Call WebAuthNGetErrorName to get a human-readable error string.

Requirements

Requirement Value
Header webauthn.h
Library OneCoreUAP.Lib

See also

WebAuthNCancelCurrentOperation

WebAuthNGetErrorName