IOleUILinkInfoA::GetLastUpdate method (oledlg.h)

Determines the last time the object was updated.

Syntax

HRESULT GetLastUpdate(
  [in]  DWORD    dwLink,
  [out] FILETIME *lpLastUpdate
);

Parameters

[in] dwLink

Container-defined unique identifier for a single link. Containers can use the pointer to the link's container site for this value.

[out] lpLastUpdate

A pointer to a FILETIME structure that indicates the time that the object was last updated.

Return value

This method returns S_OK on success. Other possible return values include the following.

Return code Description
E_ACCESSDENIED
Insufficient access permissions.
E_FAIL
The operation failed.
E_INVALIDARG
The specified identifier is invalid.
E_OUTOFMEMORY
There is insufficient memory available for this operation.

Remarks

Notes to Implementers

If the time that the object was last updated is known, copy it to lpLastUpdate. If it is not known, then leave lpLastUpdate unchanged and Unknown will be displayed in the link page.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header oledlg.h

See also

IOleUILinkInfo