public virtual Int32 RegisterForDirtyRange(NetOffice.MSHTMLApi.IHTMLChangeSink pChangeSink, out Int32 pdwCookie)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            pdwCookie = 0;
            object[] paramsArray = Invoker.ValidateParamsArray(pChangeSink, pdwCookie);
            object   returnItem  = Invoker.MethodReturn(this, "RegisterForDirtyRange", paramsArray, modifiers);

            pdwCookie = (Int32)paramsArray[1];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
        public virtual Int32 CreateChangeLog(NetOffice.MSHTMLApi.IHTMLChangeSink pChangeSink, out NetOffice.MSHTMLApi.IHTMLChangeLog ppChangeLog, Int32 fForward, Int32 fBackward)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true, false, false);
            ppChangeLog = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pChangeSink, ppChangeLog, fForward, fBackward);
            object   returnItem  = Invoker.MethodReturn(this, "CreateChangeLog", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                ppChangeLog = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.IHTMLChangeLog>(this, paramsArray[1], typeof(NetOffice.MSHTMLApi.IHTMLChangeLog));
            }
            else
            {
                ppChangeLog = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }