"Martin" == Martin Fuchs <martin-fuchs(a)gmx.net> writes:
Martin> Changelog: return "file not found" error values instead of Martin> E_INVALIDARG if _ILCreateFromPathA() failed to find files ... Martin> 0x80070002L; /* file not found */ } else { pidlTemp = ... Don't we have a symbolic error for that? -- Uwe Bonnes bon(a)elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
... 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
participants (2)
-
Martin Fuchs -
Uwe Bonnes