| Previous | Next |
| WINBIO_E_NOT_ACTIVE_CONSOLE | WINBIO_E_INVALID_PROPERTY_TYPE |
WINBIO_E_EVENT_MONITOR_ACTIVE
WINBIO_E_EVENT_MONITOR_ACTIVE is returned by WinBioRegisterEventMonitor when an event monitor is already active. The registration is session state, so calling the registration function repeatedly does not add a second independent callback.
Track monitor ownership per session
- Store whether registration succeeded for each
WINBIO_SESSION_HANDLE. - Call
WinBioUnregisterEventMonitorbefore registering a replacement monitor on that session. - Use a separate biometric session if the application must perform normal WinBio operations while an event monitor remains active.
Microsoft notes that a session with an active event monitor cannot process other Windows Biometric Framework API calls until the monitor is stopped. Event callbacks are also delivered serially and may lose later events if the callback performs lengthy work. This HRESULT therefore usually exposes a lifecycle bug in session ownership, not a sensor problem.
WinBioRegisterEventMonitor · WinBioUnregisterEventMonitor
Looking for a different code? Search another status or error code.