IOleInPlaceObject::ReactivateAndUndo
Reactivates a
previously deactivated object, undoing the last state of the object.
HRESULT
ReactivateAndUndo();
Return Values
This method
supports the standard return values E_INVALIDARG, E_OUTOFMEMORY, and
E_UNEXPECTED, as well as the following:
S_OK
The object
was successfully reactivated.
E_NOTUNDOABLE
Called when
the Undo state is not available.
Remarks
If the user
chooses the Undo command before the Undo state of the object is lost, the
object s immediate container calls IOleInPlaceObject::ReactivateAndUndo
to activate the user interface, carry out the Undo operation, and return the
object to the active state.