Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reactivates a previously deactivated object, undoing the last state of the object.
Syntax
HRESULT ReactivateAndUndo();
Return value
This method returns S_OK on success. Other possible return values include the following.
| Return code | Description | 
|---|---|
| 
 | The undo state is not available. | 
| 
 | There is insufficient memory available for the operation. | 
| 
 | An unexpected error has occurred. | 
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.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] | 
| Minimum supported server | Windows 2000 Server [desktop apps only] | 
| Target Platform | Windows | 
| Header | oleidl.h |