EM_SETAUTOCORRECTPROC message

Defines the current autocorrect callback procedure.

#define EM_SETAUTOCORRECTPROC       (WM_USER + 234)

Parameters

wParam

The AutoCorrectProc callback function.

lParam

Not used; must be zero

Return value

If the operation succeeds, the return value is zero. If the operation fails, the return value is a nonzero value.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Richedit.h

See also

AutoCorrectProc

EM_CALLAUTOCORRECTPROC

EM_GETAUTOCORRECTPROC