Error 0x80070097

Value: -2147024745 | 0x80070097 | 2147942551

What does it mean ?

ERROR_INVALID_EVENT_COUNT  
The number of specified semaphore events for DosMuxSemWait is not correct.
Value: 151 | 0x0097 | 0b0000000010010111

Where does it come from ?

FACILITY_WIN32  
Provides a way to handle error codes from functions in the Win32 API as an HRESULT. (Error codes in 16 - bit OLE that duplicated Win32 error codes have also been changed to FACILITY_WIN32)
Value: 7 | 0x007 | 0b00000111

Other Errors for FACILITY_WIN32