IPersistMoniker::GetCurMoniker

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

HRESULT GetCurMoniker(

IMoniker **ppmkCur

//Indirect pointer to moniker for the object’s current persistent state.

);

Parameter

ppmkCur
[out] Indirect pointer to the moniker that references 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.

See Also

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