IOleParentUndoUnit::Add method
Adds a simple undo unit to the collection.
Syntax
HRESULT Add(
[in] IOleUndoUnit *pUU
);
Parameters
- pUU [in]
-
An IOleUndoUnit pointer to the undo unit to be added.
Return value
This method returns S_OK if the specified unit was successfully added or the parent unit was blocked.
Remarks
The parent undo unit or undo manager must accept any undo unit given to it, unless it is blocked. If it is blocked, it should do nothing but return S_OK.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IOleParentUndoUnit is defined as A1FAF330-EF97-11CE-9BC9-00AA00608E01 |
See also
Show: