| Previous | Next |
| WINBIO_E_EVENT_MONITOR_ACTIVE | WINBIO_E_INVALID_PROPERTY_ID |
WINBIO_E_INVALID_PROPERTY_TYPE
WINBIO_E_INVALID_PROPERTY_TYPE means the WINBIO_PROPERTY_TYPE argument itself is incorrect. WinBioGetProperty and WinBioSetProperty distinguish this from an invalid property ID and from a valid property that the target object does not support.
Validate the type/ID pair before the call
- Log both
PropertyTypeandPropertyIdnumerically; the ID alone is not enough to diagnose the request. - Check whether the selected API supports session, unit, template, or account property categories in the target Windows SDK.
- Do not translate an arbitrary application enum directly into
WINBIO_PROPERTY_TYPEwithout range and mapping checks.
For example, Microsoft documents that WinBioSetProperty currently requires WINBIO_PROPERTY_TYPE_ACCOUNT. A property can therefore have a meaningful ID in documentation yet still fail when used under the wrong property category. Fix the caller’s property addressing rather than retrying the sensor operation.
WinBioGetProperty · WinBioSetProperty
Looking for a different code? Search another status or error code.