IOleInPlaceSite::DeactivateAndUndo
Causes the
container to end the in-place session, deactivate the object, and revert to its
own saved undo state.
HRESULT
IOleInPlaceSite::DeactivateAndUndo();
Return Values
This method
supports the standard return value E_UNEXPECTED, as well as the following:
S_OK
The method
completed successfully.
Remarks
Notes to Callers
Called by the
active object when the user invokes undo just after activating the object.
Notes to Implementers
Upon
completion of this call, the container should call IOleInPlaceObject::UIDeactivate
to remove the user interface for the object, activate itself, and undo.