EM_CALLAUTOCORRECTPROC message

Calls the autocorrect callback function that is stored by the EM_SETAUTOCORRECTPROC message, provided that the text preceding the insertion point is a candidate for autocorrection.

#define EM_CALLAUTOCORRECTPROC       (WM_USER + 255)

Parameters

wParam

A character of type WCHAR. If this character is a tab (U+0009), and the character preceding the insertion point isn t a tab, then the character preceding the insertion point is treated as part of the autocorrect candidate string instead of as a string delimiter; otherwise, wParam has no effect.

lParam

Not used; must be zero.

Return value

The return value is zero if the message succeeds, or nonzero if an error occurs.

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_GETAUTOCORRECTPROC

EM_SETAUTOCORRECTPROC