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 Vista [desktop apps only]|
Minimum supported server
|Windows Server 2003 [desktop apps only]|