OLESTATUS OleGetLinkUpdateOptions(lpObject, lpUpdateOpt)
LPOLEOBJECT lpObject;
OLEOPT_UPDATE FAR * lpUpdateOpt;
The OleGetLinkUpdateOptions function retrieves the link-update options for the presentation of a specified object.
Parameter | Description |
lpObject | Points to the object to query. |
lpUpdateOpt | Points to a variable in which the function stores the current value of the link-update option for the specified object. The link-update option setting may be one of the following: |
Option | Description | |
oleupdate_always | Update the linked object whenever possible. This option supports the Automatic link-update option button in the Links dialog box. | |
oleupdate_onsave | Update the linked object when the source document is saved by the server. | |
oleupdate_oncall | Update the linked object only on request from the client application. This option supports the Manual link-update option button in the Links dialog box. |
The return value is OLE_OK if successful; otherwise, it is OLE_ERROR_OBJECT.
See AlsoOleSetLinkUpdateOptions