This is work in progress.

Windows / Headers / ole.h

ole.h

Object Linking and Embedding functions, types, and definitions

Associated Error Codes

Below is a list of error codes found for this header.

SymbolicValueDescription
OLE_ERROR_PROTECT_ONLY0x00000003Ole APIs are called in real mode */
OLE_ERROR_MEMORY0x00000004Could not alloc or lock memory */
OLE_ERROR_STREAM0x00000005(OLESTREAM) stream error */
OLE_ERROR_STATIC0x00000006Non static object expected */
OLE_ERROR_BLANK0x00000007Critical data missing */
OLE_ERROR_DRAW0x00000008Error while drawing */
OLE_ERROR_METAFILE0x00000009Invalid metafile */
OLE_ERROR_ABORT0x0000000AClient chose to abort metafile drawing */
OLE_ERROR_CLIPBOARD0x0000000BFailed to get/set clipboard data */
OLE_ERROR_FORMAT0x0000000CRequested format is not available */
OLE_ERROR_OBJECT0x0000000DNot a valid object */
OLE_ERROR_OPTION0x0000000EInvalid option(link update / render) */
OLE_ERROR_PROTOCOL0x0000000FInvalid protocol */
OLE_ERROR_ADDRESS0x00000010One of the pointers is invalid */
OLE_ERROR_NOT_EQUAL0x00000011Objects are not equal */
OLE_ERROR_HANDLE0x00000012Invalid handle encountered */
OLE_ERROR_GENERIC0x00000013Some general error */
OLE_ERROR_CLASS0x00000014Invalid class */
OLE_ERROR_SYNTAX0x00000015Command syntax is invalid */
OLE_ERROR_DATATYPE0x00000016Data format is not supported */
OLE_ERROR_PALETTE0x00000017Invalid color palette */
OLE_ERROR_NOT_LINK0x00000018Not a linked object */
OLE_ERROR_NOT_EMPTY0x00000019Client doc contains objects. */
OLE_ERROR_SIZE0x0000001AIncorrect buffer size passed to the api */
OLE_ERROR_DRIVE0x0000001BDrive letter in doc name is invalid */
OLE_ERROR_NETWORK0x0000001CFailed to establish connection to a */
OLE_ERROR_NAME0x0000001DInvalid name(doc name object name) */
OLE_ERROR_TEMPLATE0x0000001EServer failed to load template */
OLE_ERROR_NEW0x0000001FServer failed to create new doc */
OLE_ERROR_EDIT0x00000020Server failed to create embedded */
OLE_ERROR_OPEN0x00000021Server failed to open document */
OLE_ERROR_NOT_OPEN0x00000022Object is not open for editing */
OLE_ERROR_LAUNCH0x00000023Failed to launch server */
OLE_ERROR_COMM0x00000024Failed to communicate with server */
OLE_ERROR_TERMINATE0x00000025Error in termination */
OLE_ERROR_COMMAND0x00000026Error in execute */
OLE_ERROR_SHOW0x00000027Error in show */
OLE_ERROR_DOVERB0x00000028Error in sending do verb or invalid */
OLE_ERROR_ADVISE_NATIVE0x00000029Item could be missing */
OLE_ERROR_ADVISE_PICT0x0000002AItem could be missing or server doesn't */
OLE_ERROR_ADVISE_RENAME0x0000002BServer doesn't support rename */
OLE_ERROR_POKE_NATIVE0x0000002CFailure of poking native data to server */
OLE_ERROR_REQUEST_NATIVE0x0000002DServer failed to render native data */
OLE_ERROR_REQUEST_PICT0x0000002EServer failed to render presentation */
OLE_ERROR_SERVER_BLOCKED0x0000002FTrying to block a blocked server or */
OLE_ERROR_REGISTRATION0x00000030Server is not registered in regestation */
OLE_ERROR_ALREADY_REGISTERED0x00000031Trying to register same doc multiple */
OLE_ERROR_TASK0x00000032Server or client task is invalid */
OLE_ERROR_OUTOFDATE0x00000033Object is out of date */
OLE_ERROR_CANT_UPDATE_CLIENT0x00000034Embed doc's client doesn't accept */
OLE_ERROR_UPDATE0x00000035erorr while trying to update */
OLE_ERROR_SETDATA_FORMAT0x00000036Server app doesn't understand the */
OLE_ERROR_STATIC_FROM_OTHER_OS0x00000037trying to load a static object created */
OLE_WARN_DELETE_DATA0x000003E8/* Caller must delete the data when he is */
54 entries