IOleUILinkInfo::GetLastUpdate method

Determines the last time the object was updated.

Syntax


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

Parameters

dwLink [in]

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

lpLastUpdate [out]

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 codeDescription
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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

OleDlg.h

See also

IOleUILinkInfo

 

 

Community Additions

ADD
Show:
© 2014 Microsoft