IPersistMoniker::GetCurMoniker

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

HRESULT GetCurMoniker(
  IMoniker **ppmkCur  //Address of output variable that receives the 
                      //IMoniker interface pointer
);
 

Parameter

ppmkCur
[out] Address of IMoniker* pointer variable that receives the interface pointer to the object's current persistent state.

Return Values

S_OK
A valid absolute path was successfully returned.
E_INVALIDARG
The ppmkCur parameter is invalid.

Remarks

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

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in urlmon.h.

See Also

IPersistMoniker::Load, IPersistMoniker::Save, IPersistMoniker::SaveCompleted