Property EditState of interface IUIX_Edit returns Value of LONG ...
HRESULT get_EditState([out, retval] LONG* pState);
See also IUIX_Edit.