Sets the maximum number of actions that can stored in the undo queue of a rich edit control.
Specifies the maximum number of actions that can be stored in the undo queue.
This parameter is not used; it must be zero.
The return value is the new maximum number of undo actions for the rich edit control. This value may be less than wParam if memory is limited.
By default, the maximum number of actions in the undo queue is 100. If you increase this number, there must be enough available memory to accommodate the new number. For better performance, set the limit to the smallest possible value.
Setting the limit to zero disables the Undo feature.
Minimum supported client
|Windows 2000 Professional [desktop apps only]|
Minimum supported server
|Windows 2000 Server [desktop apps only]|
Build date: 11/16/2013