Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
WebAuthNCancelCurrentOperation function (webauthn.h)
Cancels a WebAuthNAuthenticatorMakeCredential or WebAuthNAuthenticatorGetAssertion operation currently in progress. The authenticator stops prompting for, or accepting, any user input related to the canceled operation.
Syntax
HRESULT WebAuthNCancelCurrentOperation(
const GUID *pCancellationId
);
Parameters
pCancellationId
A pointer to the GUID that identifies the operation to cancel. Obtain this value by calling WebAuthNGetCancellationId.
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.
Remarks
This function has no effect if the specified cancellation ID does not correspond to an operation that is currently in progress.
Requirements
| Requirement | Value |
|---|---|
| Header | webauthn.h |
| Library | OneCoreUAP.Lib |
See also
Feedback
Was this page helpful?
