Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves a pointer to the WINBIO_ENGINE_INTERFACE structure for the engine adapter.
HRESULT WbioQueryEngineInterface(
[out] PWINBIO_ENGINE_INTERFACE *EngineInterface
);
[out] EngineInterface
Address of a variable that receives a pointer to the WINBIO_ENGINE_INTERFACE structure.
If the function succeeds, it returns S_OK. If the function fails, it must return one of the following HRESULT values to indicate the error.
Return code | Description |
---|---|
|
The EngineInterface parameter cannot be NULL. |
The Windows Biometric Framework calls this function after loading an engine adapter DLL into memory. Every engine adapter DLL must therefore implement and export the WbioQueryEngineInterface function. The function name is case-sensitive, and its spelling and signature must exactly match that provided in the Syntax section.
To be visible to the Windows Biometric Framework, the WbioQueryEngineInterface function must be named in the EXPORTS section of the export definition linker command file for the DLL.
The following pseudocode shows one possible implementation of this function.
HRESULT
WINAPI
WbioQueryEngineInterface(
__out PWINBIO_ENGINE_INTERFACE *EngineInterface)
{
// g_EngineInterface is a global variable.
*EngineInterface = &g_EngineInterface;
return S_OK;
}
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Target Platform | Windows |
Header | winbio_adapter.h (include Winbio_adapter.h) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today