次の方法で共有


IPersistMoniker::GetCurMoniker (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

IPersistMoniker