Get OLE Item
This system function accepts a media object item sequence number and an OLE automation server interface as parameters and returns a handle to the OLE object with that sequence number in the media object record.
Parameters
- Media Object Control
-
Input, required. The media object FC to affect.
- Item
-
Input, required. The ID of the item containing the OLE object to be fetched. Set the parameter to <First Image Item>, <First OLE Item>, <First Text Item>, or <Specify Item#>.
- ObjectRef
-
Output, required. The object to which to return the ActiveX/COM interface variable. Set the parameter to an applicable object from the object list.
Returns
This system function returns the handle of the referenced OLE item to the object specified by ObjectRef. It also returns one of these two values:
- NOERROR
-
Indicates that the system function succeeded.
- E_FAIL
-
Indicates that the system function failed.Insert OLE ObjectInsert URL