... Martin> 0x80070002L; /* file not found */ } else { pidlTemp = ...
Don't we have a symbolic error for that?
There is no such constant in winerror.h. But we could use the expression "MAKE_HRESULT(SEVERITY_ERROR, FACILITY_WIN32, ERROR_FILE_NOT_FOUND)" instead. This is also used for DIERR_NOTFOUND and DIERR_OBJECTNOTFOUND in dinput.h. The question is if we should define a special macro for shell32?
Regards,
Martin