Returns the description for the top-level undo unit that is on top of the undo stack.
HRESULT GetLastUndoDescription(
BSTR* pBstr //Pointer to string
);
This method provides a convenient shortcut for the host application to add a description to its Edit Undo menu item. The *pbstr parameter is a string allocated with the standard string allocator. The caller is responsible for freeing this string.
Windows NT: Use version 4.0 or later. New for OC96.
Windows: Use Windows 95 or later. New for OC96.
Windows CE: Unsupported.
Header: Declared in ocidl.h.
IOleUndoManager::GetLastRedoDescription