コード例 #1
0
ファイル: IMarkupPointer.cs プロジェクト: tinmanjk/NetOffice
        public virtual Int32 GetContainer(out NetOffice.MSHTMLApi.IMarkupContainer ppContainer)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
            ppContainer = null;
            object[] paramsArray = Invoker.ValidateParamsArray(ppContainer);
            object   returnItem  = Invoker.MethodReturn(this, "GetContainer", paramsArray, modifiers);

            ppContainer = (NetOffice.MSHTMLApi.IMarkupContainer)paramsArray[0];
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
コード例 #2
0
ファイル: IMarkupServices.cs プロジェクト: tinmanjk/NetOffice
		public virtual Int32 ParseGlobal(_userHGLOBAL hglobalHTML, Int32 dwFlags, out NetOffice.MSHTMLApi.IMarkupContainer ppContainerResult, NetOffice.MSHTMLApi.IMarkupPointer pPointerStart, NetOffice.MSHTMLApi.IMarkupPointer pPointerFinish)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false,false,true,false,false);
			ppContainerResult = null;
			object[] paramsArray = Invoker.ValidateParamsArray(hglobalHTML, dwFlags, ppContainerResult, pPointerStart, pPointerFinish);
			object returnItem = Invoker.MethodReturn(this, "ParseGlobal", paramsArray, modifiers);
            if (paramsArray[2] is MarshalByRefObject)
                ppContainerResult = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IMarkupContainer>(this, paramsArray[2], typeof(NetOffice.MSHTMLApi.IMarkupContainer));
            else
                ppContainerResult = null;
            return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
コード例 #3
0
ファイル: IMarkupServices.cs プロジェクト: tinmanjk/NetOffice
		public virtual Int32 CreateMarkupContainer(out NetOffice.MSHTMLApi.IMarkupContainer ppMarkupContainer)
		{
			ParameterModifier[] modifiers = Invoker.CreateParamModifiers(true);
			ppMarkupContainer = null;
			object[] paramsArray = Invoker.ValidateParamsArray(ppMarkupContainer);
			object returnItem = Invoker.MethodReturn(this, "CreateMarkupContainer", paramsArray, modifiers);
            if (paramsArray[0] is MarshalByRefObject)
                ppMarkupContainer = Factory.CreateKnownObjectFromComProxy<NetOffice.MSHTMLApi.IMarkupContainer>(this, paramsArray[0], typeof(NetOffice.MSHTMLApi.IMarkupContainer));
            else
                ppMarkupContainer = null;
            return NetRuntimeSystem.Convert.ToInt32(returnItem);
		}
コード例 #4
0
        public virtual Int32 GetSelectionServices(NetOffice.MSHTMLApi.IMarkupContainer pIContainer, out NetOffice.MSHTMLApi.ISelectionServices ppSelSvc)
        {
            ParameterModifier[] modifiers = Invoker.CreateParamModifiers(false, true);
            ppSelSvc = null;
            object[] paramsArray = Invoker.ValidateParamsArray(pIContainer, ppSelSvc);
            object   returnItem  = Invoker.MethodReturn(this, "GetSelectionServices", paramsArray, modifiers);

            if (paramsArray[1] is MarshalByRefObject)
            {
                ppSelSvc = Factory.CreateKnownObjectFromComProxy <NetOffice.MSHTMLApi.ISelectionServices>(this, paramsArray[1], typeof(NetOffice.MSHTMLApi.ISelectionServices));
            }
            else
            {
                ppSelSvc = null;
            }
            return(NetRuntimeSystem.Convert.ToInt32(returnItem));
        }
コード例 #5
0
ファイル: IMarkupPointer2.cs プロジェクト: tinmanjk/NetOffice
 public virtual Int32 MoveToMarkupPosition(NetOffice.MSHTMLApi.IMarkupContainer pContainer, Int32 lMP)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToMarkupPosition", pContainer, lMP));
 }
コード例 #6
0
ファイル: IMarkupPointer.cs プロジェクト: tinmanjk/NetOffice
 public virtual Int32 MoveToContainer(NetOffice.MSHTMLApi.IMarkupContainer pContainer, Int32 fAtStart)
 {
     return(InvokerService.InvokeInternal.ExecuteInt32MethodGet(this, "MoveToContainer", pContainer, fAtStart));
 }