IOleInPlaceObject::ReactivateAndUndo method
Reactivates a previously deactivated object, undoing the last state of the object.
Syntax
HRESULT ReactivateAndUndo();
Parameters
This method has no parameters.
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
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleInPlaceObject is defined as 00000113-0000-0000-C000-000000000046 |
See also