FINDTEXTEX

Contains information about text to search for in a rich edit control. This structure is used with the EM_FINDTEXTEX message.

typedef struct _findtextex {
CHARRANGE chrg; // range to search
LPSTR lpstrText; // null-terminated string to find
CHARRANGE chrgText; // range in which text is found
} FINDTEXTEX;