IE_EMPTYUNDOBUFFER

Empties the undo buffer.

Parameters

wParam

Not used; must be 0.

lParam

Not used; must be 0.

Return Value

Returns one of the following:

Constant

Description

IER_OK

Success.

IER_PARAMERR

wParam or lParam is invalid.

IER_SECURITY

The control has security protection disallowing the operation.

 

Comments

If there is nothing in the undo buffer, this message returns IER_OK but does nothing else. As long as the buffer remains empty after sending IE_EMPTYUNDOBUFFER, the messages IE_CANUNDO and WM_UNDO return FALSE.

See Also

IE_CANUNDO