Indicates if the specified unit is a child of this undo unit or one of its children, that is if the specified unit is part of the hierarchy in this parent unit.
HRESULT FindUnit(
IOleUndoUnit* pUU |
//Pointer to the undo unit to be found |
); |
Parameters
Return Values
Remarks
This is typically called by the undo manager in its implementation of its DiscardFrom method in the rare event that the unit being discarded is not a top-level unit. The parent unit should look in its own list first, then delegate to each child that is also a parent unit, as determined by doing a QueryInterface for IOleParentUndoUnit.
See Also