- Contents
DesignerCOM API
HRESULT Codes
All COM functions and interface methods return a value of the type HRESULT, which stands for 'result handle'. HRESULT returns success, warning, and error values. HRESULTs are 32-bit values with several fields encoded in the value. Common HRESULT values are:
VALUE |
ERROR |
MEANING |
0x8000FFFF |
E_UNEXPECTED |
Unexpected failure. |
0x80004001 |
E_NOTIMPL |
Not implemented. |
0x8007000E |
E_OUTOFMEMORY |
Ran out of memory. |
0x80070057 |
E_INVALIDARG |
One or more arguments are invalid. |
0x80004002 |
E_NOINTERFACE |
No such interface supported. |
0x80004003 |
E_POINTER |
Invalid pointer. |
0x80070006 |
E_HANDLE |
Invalid handle. |
0x80004004 |
E_ABORT |
Operation aborted. |
0x80004005 |
E_FAIL |
Unspecified error. |
0x80070005 |
E_ACCESSDENIED |
General access denied error. |
0x80000001 |
E_NOTIMPL |
Not implemented. |
0x80020001 |
DISP_E_UNKNOWNINTERFACE |
Unknown interface. |
0x80020003 |
DISP_E_MEMBERNOTFOUND |
Member not found. |
0x80020004 |
DISP_E_PARAMNOTFOUND |
Parameter not found. |
0x80020005 |
DISP_E_TYPEMISMATCH |
Type mismatch. |
0x80020006 |
DISP_E_UNKNOWNNAME |
Unknown name. |
0x80020007 |
DISP_E_NONAMEDARGS |
No named arguments. |
0x80020008 |
DISP_E_BADVARTYPE |
Bad variable type. |
0x80020009 |
DISP_E_EXCEPTION |
Exception occurred. |
0x8002000A |
DISP_E_OVERFLOW |
Out of present range. |
0x8002000B |
DISP_E_BADINDEX |
Invalid index. |
0x8002000C |
DISP_E_UNKNOWNLCID |
Unknown LCID. |
0x8002000D |
DISP_E_ARRAYISLOCKED |
Memory is locked. |
0x8002000E |
DISP_E_BADPARAMCOUNT |
Invalid number of parameters. |
0x8002000F |
DISP_E_PARAMNOTOPTIONAL |
Parameter not optional. |
0x80020010 |
DISP_E_BADCALLEE |
Invalid callee. |
0x80020011 |
DISP_E_NOTACOLLECTION |
Does not support a collection. |