Error 0x80070006

Value: -2147024890 | 0x80070006 | 2147942406

What does it mean ?

ERROR_INVALID_HANDLE  
The handle is invalid.
Value: 6 | 0x0006 | 0b0000000000000110
E_HANDLE  
Invalid handle
Value: 6 | 0x0006 | 0b0000000000000110

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