indexing description: "Definition of COM error codes" status: "See notice at end of class" date: "$Date$" revision: "$Revision$" class interface ECOM_EXCEPTION_CODES feature -- Access cache_e_first: INTEGER -- Caching error cache_e_last: INTEGER -- Caching error cache_e_nocache_updated: INTEGER -- Cache not updated cache_s_first: INTEGER -- Caching error cache_s_formatetc_notsupported: INTEGER -- FORMATETC not supported cache_s_last: INTEGER -- Caching error cache_s_samecache: INTEGER -- Same cache cache_s_somecaches_notupdated: INTEGER -- Some cache(s) not updated class_e_classnotavailable: INTEGER -- ClassFactory cannot supply requested class class_e_noaggregation: INTEGER -- Class does not support aggregation (or class object is remote) classfactory_e_first: INTEGER -- Class factory interfaces support classfactory_e_last: INTEGER -- Class factory interfaces support classfactory_s_first: INTEGER -- Class factory interfaces support classfactory_s_last: INTEGER -- Class factory interfaces support clientsite_e_first: INTEGER -- Client site error code clientsite_e_last: INTEGER -- Client site error code clientsite_s_first: INTEGER -- Client site error code clientsite_s_last: INTEGER -- Client site error code clipbrd_e_bad_data: INTEGER -- Data on clipboard is invalid clipbrd_e_cant_close: INTEGER -- CloseClipboard Failed clipbrd_e_cant_empty: INTEGER -- EmptyClipboard Failed clipbrd_e_cant_open: INTEGER -- OpenClipboard Failed clipbrd_e_cant_set: INTEGER -- SetClipboard Failed clipbrd_e_first: INTEGER -- Clipboard related error clipbrd_e_last: INTEGER -- Clipboard related error clipbrd_s_first: INTEGER -- Clipboard related error clipbrd_s_last: INTEGER -- Clipboard related error co_e_alreadyinitialized: INTEGER -- CoInitialize has already been called. co_e_appdidntreg: INTEGER -- Application was launched but it didn't register a class factory co_e_appnotfound: INTEGER -- Application not found co_e_appsingleuse: INTEGER -- Application cannot be run more than once co_e_bad_path: INTEGER -- Bad path to object co_e_cantdetermineclass: INTEGER -- Class of object cannot be determined co_e_class_create_failed: INTEGER -- Attempt to create a class object failed co_e_classstring: INTEGER -- Invalid class string co_e_dllnotfound: INTEGER -- DLL for class not found co_e_errorinapp: INTEGER -- Some error in application program co_e_errorindll: INTEGER -- Error in the DLL co_e_first: INTEGER -- Common object model DLL related error co_e_iidstring: INTEGER -- Invalid interface string co_e_init_class_cache: INTEGER -- Unable to initialize class cache co_e_init_memory_allocator: INTEGER -- Get memory allocator failure co_e_init_only_single_threaded: INTEGER -- There was an attempt to call CoInitialize a second time while single threaded co_e_init_rpc_channel: INTEGER -- Unable to initialize RPC services co_e_init_scm_exec_failure: INTEGER -- Failure attempting to launch OLE service co_e_init_scm_file_mapping_exists: INTEGER -- The OLE service file mapping already exists co_e_init_scm_map_view_of_file: INTEGER -- Unable to map view of file for OLE service co_e_init_scm_mutex_exists: INTEGER -- The OLE service mutex already exists co_e_init_shared_allocator: INTEGER -- Get shared memory allocator failure co_e_init_tls: INTEGER -- Thread local storage failure co_e_init_tls_channel_control: INTEGER -- Could not allocate thread local storage channel control co_e_init_tls_set_channel_control: INTEGER -- Cannot set thread local storage channel control co_e_init_unaccepted_user_allocator: INTEGER -- The user supplied memory allocator is unacceptable co_e_last: INTEGER -- Common object model DLL related error co_e_notinitialized: INTEGER -- CoInitialize has not been called. co_e_objisreg: INTEGER -- Object is already registered co_e_objnotconnected: INTEGER -- Object is not connected to server co_e_objnotreg: INTEGER -- Object is not registered co_e_objsrv_rpc_failure: INTEGER -- OLE service could not communicate with the object server co_e_released: INTEGER -- Object has been released co_e_scm_error: INTEGER -- OLE service could not bind object co_e_scm_rpc_failure: INTEGER -- RPC communication failed with OLE service co_e_server_exec_failure: INTEGER -- Server execution failed co_e_server_stopping: INTEGER --0x80080007 -- Object server is stopping when OLE service contacts it co_e_wrongosforapp: INTEGER -- Wrong OS or OS version for application co_s_first: INTEGER -- Common object model DLL related error co_s_last: INTEGER -- Common object model DLL related error convert10_e_first: INTEGER -- Conversion related error convert10_e_last: INTEGER -- Conversion related error convert10_e_olestream_bitmap_to_dib: INTEGER -- There was an error in a Windows GDI call while converting the bitmap to a DIB convert10_e_olestream_fmt: INTEGER -- Contents of the OLESTREAM not in correct format convert10_e_olestream_get: INTEGER -- OLESTREAM Get method failed convert10_e_olestream_put: INTEGER -- OLESTREAM Put method failed convert10_e_stg_dib_to_bitmap: INTEGER -- There was an error in a Windows GDI call while converting the DIB to a bitmap. convert10_e_stg_fmt: INTEGER -- Contents of the IStorage not in correct format convert10_e_stg_no_std_stream: INTEGER -- Contents of IStorage is missing one of the standard streams convert10_s_first: INTEGER -- Conversion related error convert10_s_last: INTEGER -- Conversion related error convert10_s_no_presentation: INTEGER -- Unable to convert OLESTREAM to IStorage data_e_first: INTEGER -- Error code boundaries data_e_last: INTEGER -- Error code boundaries data_s_first: INTEGER -- Error code boundaries data_s_last: INTEGER -- Error code boundaries data_s_sameformatetc: INTEGER -- Data has same FORMATETC disp_e_arrayislocked: INTEGER -- Memory is locked. disp_e_badcallee: INTEGER -- Invalid callee. disp_e_badindex: INTEGER -- Invalid index. disp_e_badparamcount: INTEGER -- Invalid number of parameters. disp_e_badvartype: INTEGER -- Bad variable type. disp_e_exception: INTEGER -- Exception occurred. disp_e_membernotfound: INTEGER -- Member not found. disp_e_nonamedargs: INTEGER -- No named arguments. disp_e_notacollection: INTEGER -- Does not support a collection. disp_e_overflow: INTEGER -- Out of present range. disp_e_paramnotfound: INTEGER -- Parameter not found. disp_e_paramnotoptional: INTEGER -- Parameter not optional. disp_e_typemismatch: INTEGER -- Type mismatch. disp_e_unknowninterface: INTEGER -- Unknown interface. disp_e_unknownlcid: INTEGER -- Unknown language. disp_e_unknownname: INTEGER -- Unknown name. dragdrop_e_alreadyregistered: INTEGER -- This window has already been registered as a drop target dragdrop_e_first: INTEGER -- Drag-and-drop interfaces error support dragdrop_e_invalidhwnd: INTEGER -- Invalid window handle dragdrop_e_last: INTEGER -- Drag-and-drop interfaces error support dragdrop_e_notregistered: INTEGER -- Trying to revoke a drop target that has not been registered dragdrop_s_cancel: INTEGER -- Drag-drop operation canceled dragdrop_s_drop: INTEGER -- Successful drop took place dragdrop_s_first: INTEGER -- Drag-and-drop interfaces error support dragdrop_s_last: INTEGER -- Drag-and-drop interfaces error support dragdrop_s_usedefaultcursors: INTEGER -- Use the default cursor dv_e_clipformat: INTEGER -- Invalid clipboard format dv_e_dvaspect: INTEGER -- Invalid aspect(s) dv_e_dvtargetdevice: INTEGER -- Invalid DVTARGETDEVICE structure dv_e_dvtargetdevice_size: INTEGER -- tdSize parameter of the DVTARGETDEVICE structure is invalid dv_e_formatetc: INTEGER -- Invalid FORMATETC structure dv_e_lindex: INTEGER -- Invalid lindex dv_e_noiviewobject: INTEGER -- Object doesn't support IViewObject interface dv_e_statdata: INTEGER -- Invalid STATDATA structure dv_e_stgmedium: INTEGER -- Invalid STDGMEDIUM structure dv_e_tymed: INTEGER -- Invalid tymed e_abort: INTEGER -- Operation aborted e_accessdenied: INTEGER -- General access denied error e_advf: INTEGER -- Invalid advise flags e_advisenotsupported: INTEGER -- This implementation doesn't take advises e_blank: INTEGER -- Uninitialized object e_cant_bindtosource: INTEGER -- Not able to bind to the source e_cant_getmoniker: INTEGER -- Not able to get the moniker of the object e_cantconvert: INTEGER -- Not able to convert object e_classdiff: INTEGER -- Linked object's source class has changed E_end_of_stream: INTEGER is 114 -- End of stream has been reached while reading e_enum_nomore: INTEGER -- Can't enumerate any more, because the associated data is missing e_fail: INTEGER -- Unspecified error e_handle: INTEGER -- Invalid handle e_invalidarg: INTEGER -- One or more arguments are invalid e_invalidhwnd: INTEGER -- Invalid window handle e_invalidrect: INTEGER -- Invalid rectangle e_nocache: INTEGER -- There is no cache to operate on e_noconnection: INTEGER -- There is no connection for this connection ID e_nointerface: INTEGER -- No such interface supported e_nostorage: INTEGER -- Not able to perform the operation because object is not given storage yet e_not_inplaceactive: INTEGER -- Object is not in any of the inplace active states e_notimpl: INTEGER -- Not implemented e_notrunning: INTEGER -- Need to run the object to perform this operation e_oleverb: INTEGER --Invalid OLEVERB structure e_outofmemory: INTEGER -- Ran out of memory e_pointer: INTEGER -- Invalid pointer e_promptsavecancelled: INTEGER --0x8004000B -- User cancelled out of save dialog e_static: INTEGER -- Object is static operation not allowed e_unexpected: INTEGER -- Unexpected failure e_wrongcompobj: INTEGER -- compobj.dll is too old for the ole2.dll initialized enum_e_first: INTEGER -- Enumerator related error enum_e_last: INTEGER -- Enumerator related error enum_s_first: INTEGER -- Enumerator related error enum_s_last: INTEGER -- Enumerator related error inplace_e_first: INTEGER -- Inplace activation related error inplace_e_last: INTEGER -- Inplace activation related error inplace_e_notoolspace: INTEGER -- Space for tools is not available inplace_e_notundoable: INTEGER -- Undo is not available inplace_s_first: INTEGER -- Inplace activation related error inplace_s_last: INTEGER -- Inplace activation related error inplace_s_truncated: INTEGER -- Message is too long some of it had to be truncated before displaying marshal_e_first: INTEGER -- Error code boundaries marshal_e_last: INTEGER -- Error code boundaries marshal_s_first: INTEGER -- Error code boundaries marshal_s_last: INTEGER -- Error code boundaries mem_e_invalid_link: INTEGER -- An allocation chain contained an invalid link pointer mem_e_invalid_root: INTEGER -- An invalid root block pointer was specified mem_e_invalid_size: INTEGER -- The requested allocation size was too large mk_e_cantopenfile: INTEGER -- Moniker cannot open file mk_e_connectmanually: INTEGER -- Moniker needs to be connected manually mk_e_enumeration_failed: INTEGER -- Moniker could not be enumerated mk_e_exceededdeadline: INTEGER -- Operation exceeded deadline mk_e_first: INTEGER -- Moniker related error mk_e_intermediateinterfacenotsupported: INTEGER -- Intermediate operation failed mk_e_invalidextension: INTEGER -- Bad extension for file mk_e_last: INTEGER -- Moniker related error mk_e_mustbotheruser: INTEGER -- User input required for operation to succeed mk_e_needgeneric: INTEGER -- Moniker needs to be generic mk_e_no_normalized: INTEGER -- Moniker path could not be normalized mk_e_noinverse: INTEGER -- Moniker class has no inverse mk_e_noobject: INTEGER -- No object for moniker mk_e_noprefix: INTEGER -- No common prefix mk_e_nostorage: INTEGER -- Moniker does not refer to storage mk_e_notbindable: INTEGER -- Moniker is not bindable mk_e_notbound: INTEGER -- Moniker is not bound mk_e_syntax: INTEGER -- Invalid syntax mk_e_unavailable: INTEGER -- Operation unavailable mk_s_first: INTEGER -- Moniker related error mk_s_him: INTEGER -- Common prefix is input moniker mk_s_last: INTEGER -- Moniker related error mk_s_me: INTEGER -- Common prefix is this moniker mk_s_monikeralreadyregistered: INTEGER -- Moniker is already registered in running object table mk_s_reduced_to_self: INTEGER -- Moniker reduced to itself mk_s_us: INTEGER -- Common prefix is both monikers noerror: INTEGER -- Success code ole_e_first: INTEGER -- Generic OLE error/success code ole_e_last: INTEGER -- Generic OLE error/success code ole_s_first: INTEGER -- Generic OLE error/success code ole_s_last: INTEGER -- Generic OLE error/success code ole_s_mac_clipformat: INTEGER -- Macintosh clipboard format ole_s_static: INTEGER -- Success, but static ole_s_usereg: INTEGER -- Use the registry database to provide the requested information oleobj_e_first: INTEGER -- Ole object error code oleobj_e_invalidverb: INTEGER -- Invalid verb for OLE object oleobj_e_last: INTEGER -- Ole object error code oleobj_e_noverbs: INTEGER -- No verbs for OLE object oleobj_s_cannot_doverb_now: INTEGER -- Verb number is valid but verb cannot be done now oleobj_s_first: INTEGER -- Ole object error code oleobj_s_invalidhwnd: INTEGER -- Invalid window handle passed oleobj_s_invalidverb: INTEGER -- Invalid verb for OLE object oleobj_s_last: INTEGER -- Ole object error code regdb_e_classnotreg: INTEGER -- Class not registered regdb_e_first: INTEGER -- Registry operations error code regdb_e_iidnotreg: INTEGER -- Interface not registered regdb_e_invalidvalue: INTEGER -- Invalid value for registry regdb_e_keymissing: INTEGER -- Could not find the key in the registry regdb_e_last: INTEGER -- Registry operations error code regdb_e_readregdb: INTEGER -- Could not read key from registry regdb_e_writeregdb: INTEGER -- Could not write key to registry regdb_s_first: INTEGER -- Registry operations error code regdb_s_last: INTEGER -- Registry operations error code rpc_e_attempted_multithread: INTEGER -- Attempted to make calls on more than one thread in single threaded mode. rpc_e_call_canceled: INTEGER -- Call was canceled by the message filter. rpc_e_call_rejected: INTEGER -- Remote procedure call errors -- Call was rejected by callee. rpc_e_cantcallout_again: INTEGER -- There is no second outgoing call on same channel in DDE conversation. rpc_e_cantcallout_inasynccall: INTEGER -- The caller is dispatching an asynchronous call and cannot -- make an outgoing call on behalf of this call. rpc_e_cantcallout_inexternalcall: INTEGER -- It is illegal to call out while inside message filter. rpc_e_cantcallout_ininputsynccall: INTEGER -- An outgoing call cannot be made since the application is dispatching an input-synchronous call. rpc_e_cantpost_insendcall: INTEGER -- The caller is dispatching an intertask SendMessage call and -- cannot call out via PostMessage. rpc_e_canttransmit_call: INTEGER -- The call was not transmitted properly the message queue -- was full and was not emptied after yielding. rpc_e_changed_mode: INTEGER -- Cannot change thread mode after it is set. rpc_e_client_cantmarshal_data: INTEGER -- The client (caller) cannot marshall the parameter data - low memory, etc. rpc_e_client_cantunmarshal_data: INTEGER -- The client (caller) cannot unmarshall the return data - low memory, etc. rpc_e_client_died: INTEGER -- The caller (client) disappeared while the callee (server) was -- processing a call. rpc_e_connection_terminated: INTEGER -- The connection terminated or is in a bogus state -- and cannot be used any more. Other connections -- are still valid. rpc_e_disconnected: INTEGER -- The object invoked has disconnected from its clients. rpc_e_fault: INTEGER -- RPC could not call the server or could not return the results of calling the server. rpc_e_invalid_calldata: INTEGER -- A call control interfaces was called with invalid data. rpc_e_invalid_data: INTEGER -- Received data is invalid could be server or client data. rpc_e_invalid_datapacket: INTEGER -- The data packet with the marshalled parameter data is incorrect. rpc_e_invalid_parameter: INTEGER -- A particular parameter is invalid and cannot be (un)marshalled. rpc_e_invalidmethod: INTEGER -- The method called does not exist on the server. rpc_e_not_registered: INTEGER -- The requested interface is not registered on the server object. rpc_e_out_of_resources: INTEGER -- Could not allocate some required resource (memory, events, ...) rpc_e_retry: INTEGER -- The object invoked chose not to process the call now. Try again later. rpc_e_server_cantmarshal_data: INTEGER -- The server (callee) cannot marshall the return data - low memory, etc. rpc_e_server_cantunmarshal_data: INTEGER -- The server (callee) cannot unmarshall the parameter data - low memory, etc. rpc_e_server_died: INTEGER -- The callee (server [not server application]) is not available -- and disappeared all connections are invalid. The call may -- have executed. rpc_e_server_died_dne: INTEGER -- The callee (server [not server application]) is not available -- and disappeared all connections are invalid. The call did not execute. rpc_e_servercall_rejected: INTEGER -- The message filter rejected the call. rpc_e_servercall_retrylater: INTEGER -- The message filter indicated that the application is busy. rpc_e_serverfault: INTEGER -- The server threw an exception. rpc_e_sys_call_failed: INTEGER -- System call failed. rpc_e_thread_not_init: INTEGER -- CoInitialize has not been called on the current thread. rpc_e_unexpected: INTEGER -- An internal error occurred. rpc_e_wrong_thread: INTEGER -- The application called an interface that was marshalled for a different thread. s_false: INTEGER -- Success code s_ok: INTEGER -- Success code stg_e_abnormalapiexit: INTEGER -- An API call exited abnormally. stg_e_accessdenied: INTEGER -- Access Denied. stg_e_cantsave: INTEGER -- Can't save. stg_e_diskiswriteprotected: INTEGER -- Disk is write-protected. stg_e_extantmarshallings: INTEGER -- Illegal operation called on object with extant marshallings. stg_e_filealreadyexists: INTEGER -- %1 already exists. stg_e_filenotfound: INTEGER -- %1 could not be found. stg_e_insufficientmemory: INTEGER -- There is insufficient memory available to complete operation. stg_e_inuse: INTEGER -- Attempted to use an object that is busy. stg_e_invalidflag: INTEGER -- Invalid flag error. stg_e_invalidfunction: INTEGER -- Storage related errors -- Unable to perform requested operation. stg_e_invalidhandle: INTEGER -- Attempted an operation on an invalid object. stg_e_invalidheader: INTEGER -- The file %1 is not a valid compound file. stg_e_invalidname: INTEGER -- The name %1 is not valid. stg_e_invalidparameter: INTEGER -- Invalid parameter error. stg_e_invalidpointer: INTEGER -- Invalid pointer error. stg_e_lockviolation: INTEGER -- A lock violation has occurred. stg_e_mediumfull: INTEGER -- There is insufficient disk space to complete operation. stg_e_nomorefiles: INTEGER -- There are no more entries to return. stg_e_notcurrent: INTEGER -- The storage has been changed since the last commit. stg_e_notfilebasedstorage: INTEGER -- Illegal operation called on non-file based storage. stg_e_olddll: INTEGER -- The compound file %1 was produced with a newer version of storage. stg_e_oldformat: INTEGER -- The compound file %1 was produced with an incompatible version of storage. stg_e_pathnotfound: INTEGER -- The path %1 could not be found. stg_e_readfault: INTEGER -- A disk error occurred during a read operation. stg_e_reverted: INTEGER -- Attempted to use an object that has ceased to exist. stg_e_seekerror: INTEGER -- An error occurred during a seek operation. stg_e_sharerequired: INTEGER -- Share.exe or equivalent is required for operation. stg_e_shareviolation: INTEGER -- A share violation has occurred. stg_e_toomanyopenfiles: INTEGER -- There are insufficient resources to open another file. stg_e_unimplementedfunction: INTEGER -- That function is not implemented. stg_e_unknown: INTEGER -- An unexpected error occurred. stg_e_writefault: INTEGER -- A disk error occurred during a write operation. stg_s_converted: INTEGER -- The underlying file was converted to compound file format. type_e_ambiguousname: INTEGER -- Ambiguous name. type_e_badmodulekind: INTEGER -- Wrong module kind for the operation. type_e_buffertoosmall: INTEGER -- Buffer too small. type_e_cantcreatetmpfile: INTEGER -- Error creating unique tmp file. type_e_cantloadlibrary: INTEGER -- Error loading type library/DLL. type_e_circulartype: INTEGER -- Circular dependency between types/modules. type_e_dllfunctionnotfound: INTEGER -- Function not defined in specified DLL. type_e_duplicateid: INTEGER -- Duplicate ID in inheritance hierarchy. type_e_elementnotfound: INTEGER -- Element not found. type_e_inconsistentpropfuncs: INTEGER -- Inconsistent property functions. type_e_invalidid: INTEGER -- Incorrect inheritance depth in standard OLE hmember. type_e_invalidstate: INTEGER -- Invalid forward reference, or reference to uncompiled type. type_e_invdataread: INTEGER -- Old format or invalid type library. type_e_ioerror: INTEGER -- I/O Error. type_e_libnotregistered: INTEGER -- Library not registered. type_e_nameconflict: INTEGER -- Name already exists in the library. type_e_outofbounds: INTEGER -- Invalid number of arguments. type_e_qualifiednamedisallowed: INTEGER -- Qualified name disallowed. type_e_registryaccess: INTEGER -- Error accessing the OLE registry. type_e_sizetoobig: INTEGER -- Size may not exceed 64K. type_e_typemismatch: INTEGER -- Type mismatch. type_e_undefinedtype: INTEGER -- Bound to unknown type. type_e_unknownlcid: INTEGER -- Unknown LCID. type_e_unsupformat: INTEGER -- Old format or invalid type library. type_e_wrongtypekind: INTEGER -- Type mismatch. view_e_draw: INTEGER -- Error drawing view view_e_first: INTEGER -- Error code boundaries view_e_last: INTEGER -- Error code boundaries view_s_already_frozen: INTEGER -- View is already frozen view_s_first: INTEGER -- Error code boundaries view_s_last: INTEGER -- Error code boundaries invariant -- from ANY reflexive_equality: standard_is_equal (Current) reflexive_conformance: conforms_to (Current) end -- class ECOM_EXCEPTION_CODES