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_ONLY0x3Ole APIs are called in real mode */
OLE_ERROR_MEMORY0x4Could not alloc or lock memory */
OLE_ERROR_STREAM0x5(OLESTREAM) stream error */
OLE_ERROR_STATIC0x6Non static object expected */
OLE_ERROR_BLANK0x7Critical data missing */
OLE_ERROR_DRAW0x8Error while drawing */
OLE_ERROR_METAFILE0x9Invalid metafile */
OLE_ERROR_ABORT0xaClient chose to abort metafile drawing */
OLE_ERROR_CLIPBOARD0xbFailed to get/set clipboard data */
OLE_ERROR_FORMAT0xcRequested format is not available */
OLE_ERROR_OBJECT0xdNot a valid object */
OLE_ERROR_OPTION0xeInvalid option(link update / render) */
OLE_ERROR_PROTOCOL0xfInvalid protocol */
OLE_ERROR_ADDRESS0x10One of the pointers is invalid */
OLE_ERROR_NOT_EQUAL0x11Objects are not equal */
OLE_ERROR_HANDLE0x12Invalid handle encountered */
OLE_ERROR_GENERIC0x13Some general error */
OLE_ERROR_CLASS0x14Invalid class */
OLE_ERROR_SYNTAX0x15Command syntax is invalid */
OLE_ERROR_DATATYPE0x16Data format is not supported */
OLE_ERROR_PALETTE0x17Invalid color palette */
OLE_ERROR_NOT_LINK0x18Not a linked object */
OLE_ERROR_NOT_EMPTY0x19Client doc contains objects. */
OLE_ERROR_SIZE0x1aIncorrect buffer size passed to the api */
OLE_ERROR_DRIVE0x1bDrive letter in doc name is invalid */
OLE_ERROR_NETWORK0x1cFailed to establish connection to a */
OLE_ERROR_NAME0x1dInvalid name(doc name object name) */
OLE_ERROR_TEMPLATE0x1eServer failed to load template */
OLE_ERROR_NEW0x1fServer failed to create new doc */
OLE_ERROR_EDIT0x20Server failed to create embedded */
OLE_ERROR_OPEN0x21Server failed to open document */
OLE_ERROR_NOT_OPEN0x22Object is not open for editing */
OLE_ERROR_LAUNCH0x23Failed to launch server */
OLE_ERROR_COMM0x24Failed to communicate with server */
OLE_ERROR_TERMINATE0x25Error in termination */
OLE_ERROR_COMMAND0x26Error in execute */
OLE_ERROR_SHOW0x27Error in show */
OLE_ERROR_DOVERB0x28Error in sending do verb or invalid */
OLE_ERROR_ADVISE_NATIVE0x29Item could be missing */
OLE_ERROR_ADVISE_PICT0x2aItem could be missing or server doesn't */
OLE_ERROR_ADVISE_RENAME0x2bServer doesn't support rename */
OLE_ERROR_POKE_NATIVE0x2cFailure of poking native data to server */
OLE_ERROR_REQUEST_NATIVE0x2dServer failed to render native data */
OLE_ERROR_REQUEST_PICT0x2eServer failed to render presentation */
OLE_ERROR_SERVER_BLOCKED0x2fTrying to block a blocked server or */
OLE_ERROR_REGISTRATION0x30Server is not registered in regestation */
OLE_ERROR_ALREADY_REGISTERED0x31Trying to register same doc multiple */
OLE_ERROR_TASK0x32Server or client task is invalid */
OLE_ERROR_OUTOFDATE0x33Object is out of date */
OLE_ERROR_CANT_UPDATE_CLIENT0x34Embed doc's client doesn't accept */
OLE_ERROR_UPDATE0x35erorr while trying to update */
OLE_ERROR_SETDATA_FORMAT0x36Server app doesn't understand the */
OLE_ERROR_STATIC_FROM_OTHER_OS0x37trying to load a static object created */
OLE_WARN_DELETE_DATA0x3e8Caller must delete the data when he is
54 entries