IUserConsentVerifierInterop::RequestVerificationForWindowAsync method (userconsentverifierinterop.h)
Performs a verification using a device such as Microsoft Passport PIN, Windows Hello, or a fingerprint reader.
Syntax
HRESULT RequestVerificationForWindowAsync(
HWND appWindow,
HSTRING message,
REFIID riid,
void **asyncOperation
);
Parameters
appWindow
Handle to the window of the active application.
message
A message to display to the user for this biometric verification request.
riid
The GUID for the resource interface.
The REFIID, or GUID, of the interface to the resource can be obtained by using the __uuidof() macro. For example:
__uuidof(IAsyncOperation)
asyncOperation
A IAsyncOperation value that returns a value from the UserConsentVerificationResult enumeration.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Build 22000 |
Minimum supported server | Windows Build 22000 |
Header | userconsentverifierinterop.h |