Constant | OLE object location | Argument oleSrcLocation | Argument oleDestLocation |
gdbOLEObjectStream | An OLE object is retrieved/saved from/to a stream. The stream is specified by the standard IStream interface. | The oleSrcLocation argument must contain a pointer to an interface through which the stream interface IStream can be retrieved. An OLE object is retrieved from the current position in a stream. | The oleDestLocation must contain a pointer to an interface (through which the stream interface IStream can be retrieved), VT_NULL, or VT_EMPTY.If the oleDestLocation argument (before calling to the OLEObjectHolder::SaveTo method) equals VT_NULL or VT_EMPTY, a stream will be created in global memory and an OLE object will be saved to this stream. The oleDestLocation argument returns a pointer to the IUnknown interface of the created stream.An OLE object is saved starting from the current position of the stream. |
| gdbOLEObjectFile | An OLE object is retrieved/saved from/to a file. | The oleSrcLocation argument must contain a string (of VT_BSTR type) that specifies the path and the name of a file containing the OLE object.The OLE object is retrieved from the initial position in a file. | The oleDestLocation argument must contain a string (of VT_BSTR type) specifying the path and the name of a file to which the OLE object is saved. The OLE object is saved starting at the initial position in a file. |