Plug-in Reference — Messages — EE_GET_MODIFIED

# EE_GET_MODIFIED

Retrieves the modified state of the text. You can send this message explicitly or use the Editor_GetModified inline function or Editor_DocGetModified inline function..

    EE_GET_MODIFIED
    wParam = (WPARAM) MAKEWPARAM(0, iDoc+1);
    lParam = hDoc;

## Parameters

iDoc

Specifies the index of the target document. A one-based index should be specified at the higher word of wParam. If 0 is specified at the higher word of wParam, the currently active document will be targeted.

hDoc

Optionally, specifies the handle to the target document. iDoc must be zero if you specify this parameter.

## Return Values

If the text is modified, the return value is TRUE. If the text is not modified, the return value is FALSE.