Contents Previous Page Next Page
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 via IPersistMoniker::Load, IPersistMoniker::Save, or IPersistMoniker::SaveCompleted.

See Also

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