[This is preliminary documentation and subject to change.]
The UNDONAMEID enumeration type contains values that indicate types of rich edit control actions that can be undone or redone. The EM_GETREDONAME and EM_GETUNDONAME messages use this enumeration type to return a value.
typedef enum _undonameid {
    UID_UNKNOWN    = 0,
    UID_TYPING     = 1,
    UID_DELETE     = 2,
    UID_DRAGDROP   = 3,
    UID_CUT        = 4,
    UID_PASTE      = 5
} UNDONAMEID;
 | Enumerator Value | Meaning | 
|---|---|
| UID_UNKNOWN | The type of undo action is unknown. | 
| UID_TYPING | Typing operation. | 
| UID_DELETE | Delete operation. | 
| UID_DRAGDROP | Drag-drop operation. | 
| UID_CUT | Cut operation. | 
| UID_PASTE | Paste operation. | 
  Windows NT: Requires version 4.0 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in richedit.h.
Rich Edit Controls Overview, Rich Edit Enumeration Types, EM_GETREDONAME, EM_GETUNDONAME