Error 0x80070236

Value: -2147024330 | 0x80070236 | 2147942966

What does it mean ?

ERROR_THREAD_NOT_IN_PROCESS  
An attempt was made to operate on a thread within a specific process, but the thread specified is not in the process specified.
Value: 566 | 0x0236 | 0b0000001000110110

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