IPersistMoniker::GetCurMoniker method

Gets the moniker that refers to the object's persistent state.

Syntax

HRESULT GetCurMoniker(
  [out] IMoniker **ppimkName
);

Parameters

  • ppimkName [out]
    A pointer to the IMoniker interface that references the object's current persistent state.

Return value

Returns S_OK if a valid absolute path was successfully returned, or E_INVALIDARG if the ppimkName parameter is invalid.

Remarks

Typically, this method returns the moniker that was last passed to the object by means of the IPersistMoniker::Load method, the IPersistMoniker::Save method, or the IPersistMoniker::SaveCompleted method.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Product

Internet Explorer 4.0

DLL

Urlmon.dll

See also

IPersistMoniker