Compartilhar via


IPersistMoniker::GetCurMoniker

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This method retrieves the moniker that refers to the object's persistent state.

Syntax

HRESULT GetCurMoniker(
  IMoniker** ppimkName
);

Parameters

  • ppimkName
    [out] Address of 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 last passed to the object by means of the IPersistMoniker::Load, IPersistMoniker::Save, or IPersistMoniker::SaveCompleted method.

Requirements

Header urlmon.h, urlmon.idl
Library urlmon.lib
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later