Returns the description for the top-level undo unit that is on top of the undo stack.
HRESULT GetLastUndoDescription(
BSTR* pBstr |
//Pointer to string |
); |
Parameters
Return Values
Remarks
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.
See Also
IOleUndoManager::GetLastRedoDescription