What does HRESULT 0x8009803E (WINBIO_E_INCORRECT_SESSION_TYPE) mean?

 
Previous Next
WINBIO_E_ADAPTER_INTEGRITY_FAILURE WINBIO_E_SESSION_HANDLE_CLOSED

WINBIO_E_INCORRECT_SESSION_TYPE

WINBIO_E_INCORRECT_SESSION_TYPE means the handle is a real biometric session but was opened with the wrong completion model for the requested operation. WinBioMonitorPresence, for example, explicitly requires an asynchronous biometric session.

Trace where the session handle was created

  • Record whether the handle came from WinBioOpenSession or WinBioAsyncOpenSession.
  • For asynchronous sessions, also record the notification method and callback/message target selected at open time.
  • Do not substitute a legacy *WithCallback API on a handle from WinBioAsyncOpenSession; Microsoft documents incompatible callback paths.

The asynchronous-open parameter controls whether session creation itself blocks, while the session’s notification configuration controls completion delivery for subsequent operations. Keep those concepts separate. The fix is normally to use the API with the session model it documents, not to duplicate or cast the handle.

WinBioAsyncOpenSession · WinBioMonitorPresence


Looking for a different code? Search another status or error code.