I can't find the definition of HRESULT: 0x80070002
I can usually find these searching the include paths but this code was not found. Does anyone have the explanation of what it is? I think it is coming from the shell.
Thanks.
CodePudding user response:
HRESULT 0x80070002
is HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)
.
When in doubt, use the HRESULT_FACILITY()
and HRESULT_CODE()
macros.
0x80070002
has a facility of 7 (FACILITY_WIN32
), meaning the code (2) is a Win32 error code (ERROR_FILE_NOT_FOUND
).
CodePudding user response:
errlook.exe says it is "The system cannot find the file specified." , agreed that it is not in any of the SDK (or VS2019) headers.