The EM_GETEVENTMASK message retrieves the event mask for a rich edit control. The event mask specifies which notification messages the control sends to its parent window.
EM_GETEVENTMASK wParam = 0; // not used; must be zero lParam = 0; // not used; must be zero
Returns the event mask for the rich edit control.