Property ContainsInputFocus of interface IUIX_Obj returns Value of VARIANT_BOOL ...
HRESULT get_ContainsInputFocus([out, retval] VARIANT_BOOL* pRes);
See also IUIX_Obj.