Property MaxLength of interface IUIX_Edit returns/sets Value of LONG ...
HRESULT get_MaxLength([out, retval] LONG* pRet); HRESULT put_MaxLength([in] LONG pRet);
See also IUIX_Edit.