This topic has not yet been rated - Rate this topic

IOleInPlaceObject::ReactivateAndUndo method

Applies to: desktop apps only

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 codeDescription
E_NOTUNDOABLE

The undo state is not available.

E_OUTOFMEMORY

There is insufficient memory available for the operation.

E_UNEXPECTED

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

Minimum supported server

Windows 2000 Server

Header

OleIdl.h

IDL

OleIdl.Idl

IID

IID_IOleInPlaceObject is defined as 00000113-0000-0000-C000-000000000046

See also

IOleInPlaceObject

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ