Creates an enumerator object that the caller can use to iterate through a series of top-level undo units from the undo stack.
HRESULT EnumUndoable(
IEnumOleUndoUnits** ppEnum |
//Indirect pointer to new enumerator object |
); |
Parameters
Return Values
Remarks
A new enumerator object is created each time this method is called. If the series of enumerated items changes over time, the results of enumeration operations can vary from one call to the next.
This method calls AddRef on the new enumerator object to increment its reference count. The caller is responsible for calling Release on the enumerator object when it is no longer needed.
See Also