74 references to IViewObject
System.Windows.Forms (28)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
406/// <inheritdoc cref="IViewObject.Interface.Draw(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, HDC, RECTL*, RECTL*, nint, nuint)"/> 544/// <inheritdoc cref="IViewObject.GetAdvise(uint*, uint*, IAdviseSink**)"/> 1599/// <inheritdoc cref="IViewObject.SetAdvise(DVASPECT, uint, IAdviseSink*)"/>
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (25)
20IViewObject.Interface, 513/// <inheritdoc cref="IViewObject.Draw(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, HDC, RECTL*, RECTL*, nint, nuint)"/> 514HRESULT IViewObject.Interface.Draw( 543/// <inheritdoc cref="IViewObject.GetColorSet(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, LOGPALETTE**)"/> 544HRESULT IViewObject.Interface.GetColorSet( 554/// <inheritdoc cref="IViewObject.Freeze(DVASPECT, int, void*, uint*)"/> 555HRESULT IViewObject.Interface.Freeze(DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze) => 558/// <inheritdoc cref="IViewObject.Unfreeze(uint)"/> 559HRESULT IViewObject.Interface.Unfreeze(uint dwFreeze) => HRESULT.E_NOTIMPL; 561/// <inheritdoc cref="IViewObject.SetAdvise(DVASPECT, uint, IAdviseSink*)"/> 562HRESULT IViewObject.Interface.SetAdvise(DVASPECT aspects, uint advf, IAdviseSink* pAdvSink) => 565/// <inheritdoc cref="IViewObject.GetAdvise(uint*, uint*, IAdviseSink**)"/> 566HRESULT IViewObject.Interface.GetAdvise(uint* pAspects, uint* pAdvf, IAdviseSink** ppAdvSink) => 569/// <inheritdoc cref="IViewObject.Draw(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, HDC, RECTL*, RECTL*, nint, nuint)"/> 581=> ((IViewObject.Interface)this).Draw( 593/// <inheritdoc cref="IViewObject.GetColorSet(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, LOGPALETTE**)"/> 601=> ((IViewObject.Interface)this).GetColorSet(dwDrawAspect, lindex, pvAspect, ptd, hdcTargetDev, ppColorSet); 603/// <inheritdoc cref="IViewObject.Freeze(DVASPECT, int, void*, uint*)"/> 605=> ((IViewObject.Interface)this).Freeze(dwDrawAspect, lindex, pvAspect, pdwFreeze); 607/// <inheritdoc cref="IViewObject.Unfreeze(uint)"/> 609=> ((IViewObject.Interface)this).Unfreeze(dwFreeze); 611/// <inheritdoc cref="IViewObject.SetAdvise(DVASPECT, uint, IAdviseSink*)"/> 613=> ((IViewObject.Interface)this).SetAdvise(aspects, advf, pAdvSink); 615/// <inheritdoc cref="IViewObject.GetAdvise(uint*, uint*, IAdviseSink**)"/> 617=> ((IViewObject.Interface)this).GetAdvise(pAspects, pAdvf, ppAdvSink);
System.Windows.Forms.Primitives (46)
_generated\277\Windows.Win32.IViewObject.g.cs (35)
27 :winmdroot.IVTable<IViewObject,IViewObject.Vtbl>,IComIID { 44 return ((delegate *unmanaged [Stdcall]<IViewObject*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IViewObject*)Unsafe.AsPointer(ref this), riid, ppvObject); 49 return ((delegate *unmanaged [Stdcall]<IViewObject*,uint>)lpVtbl[1])((IViewObject*)Unsafe.AsPointer(ref this)); 54 return ((delegate *unmanaged [Stdcall]<IViewObject*,uint>)lpVtbl[2])((IViewObject*)Unsafe.AsPointer(ref this)); 69 private static winmdroot.Foundation.HRESULT Draw(IViewObject* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, [Optional] winmdroot.Graphics.Gdi.HDC hdcTargetDev, winmdroot.Graphics.Gdi.HDC hdcDraw, [Optional] winmdroot.Foundation.RECTL* lprcBounds, [Optional] winmdroot.Foundation.RECTL* lprcWBounds, [Optional] nint pfnContinue, nuint dwContinue) 111 ((delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Foundation.RECTL* ,winmdroot.Foundation.RECTL* ,nint ,nuint ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IViewObject*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, ptd, hdcTargetDev, hdcDraw, lprcBounds, lprcWBounds, pfnContinue, dwContinue).ThrowOnFailure(); 127 private static winmdroot.Foundation.HRESULT GetColorSet(IViewObject* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, [Optional] winmdroot.Graphics.Gdi.HDC hicTargetDev, winmdroot.Graphics.Gdi.LOGPALETTE** ppColorSet) 161 ((delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.LOGPALETTE** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IViewObject*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, ptd, hicTargetDev, ppColorSet).ThrowOnFailure(); 177 private static winmdroot.Foundation.HRESULT Freeze(IViewObject* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze) 209 ((delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IViewObject*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, pdwFreeze).ThrowOnFailure(); 215 private static winmdroot.Foundation.HRESULT Unfreeze(IViewObject* pThis, uint dwFreeze) 243 ((delegate *unmanaged [Stdcall]<IViewObject*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IViewObject*)Unsafe.AsPointer(ref this), dwFreeze).ThrowOnFailure(); 249 private static winmdroot.Foundation.HRESULT SetAdvise(IViewObject* pThis, winmdroot.System.Com.DVASPECT aspects, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink) 284 ((delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,uint ,winmdroot.System.Com.IAdviseSink* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IViewObject*)Unsafe.AsPointer(ref this), aspects, advf, pAdvSink).ThrowOnFailure(); 309 private static winmdroot.Foundation.HRESULT GetAdvise(IViewObject* pThis, [Optional] uint* pAspects, [Optional] uint* pAdvf, winmdroot.System.Com.IAdviseSink** ppAdvSink) 336 ((delegate *unmanaged [Stdcall]<IViewObject*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IViewObject*)Unsafe.AsPointer(ref this), pAspects, pAdvf, ppAdvSink).ThrowOnFailure(); 362 internal delegate *unmanaged [Stdcall]<IViewObject*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 364 internal delegate *unmanaged [Stdcall]<IViewObject*,uint> AddRef_2; 366 internal delegate *unmanaged [Stdcall]<IViewObject*,uint> Release_3; 368 internal delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Foundation.RECTL* ,winmdroot.Foundation.RECTL* ,nint ,nuint ,winmdroot.Foundation.HRESULT> Draw_4; 370 internal delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.LOGPALETTE** ,winmdroot.Foundation.HRESULT> GetColorSet_5; 372 internal delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,int ,void* ,uint* ,winmdroot.Foundation.HRESULT> Freeze_6; 374 internal delegate *unmanaged [Stdcall]<IViewObject*,uint ,winmdroot.Foundation.HRESULT> Unfreeze_7; 376 internal delegate *unmanaged [Stdcall]<IViewObject*,winmdroot.System.Com.DVASPECT ,uint ,winmdroot.System.Com.IAdviseSink* ,winmdroot.Foundation.HRESULT> SetAdvise_8; 378 internal delegate *unmanaged [Stdcall]<IViewObject*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT> GetAdvise_9;
_generated\278\Windows.Win32.IViewObject2.g.cs (1)
376 :winmdroot.System.Ole.IViewObject.Interface {
_generated\522\Windows.Win32.System_Ole_IViewObject_Extensions.g.cs (10)
23 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject.Interface.Draw(winmdroot.System.Com.DVASPECT, int, void*, winmdroot.System.Com.DVTARGETDEVICE*, winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.HDC, winmdroot.Foundation.RECTL*, winmdroot.Foundation.RECTL*, nint, nuint)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT Draw(this winmdroot.System.Ole.IViewObject.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, [Optional] winmdroot.Graphics.Gdi.HDC hdcTargetDev, winmdroot.Graphics.Gdi.HDC hdcDraw, [Optional] winmdroot.Foundation.RECTL? lprcBounds, [Optional] winmdroot.Foundation.RECTL? lprcWBounds, [Optional] nint pfnContinue, nuint dwContinue) 32 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject.Interface.GetColorSet(winmdroot.System.Com.DVASPECT, int, void*, winmdroot.System.Com.DVTARGETDEVICE*, winmdroot.Graphics.Gdi.HDC, winmdroot.Graphics.Gdi.LOGPALETTE**)"/> 33 internal static unsafe winmdroot.Foundation.HRESULT GetColorSet(this winmdroot.System.Ole.IViewObject.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, [Optional] winmdroot.Graphics.Gdi.HDC hicTargetDev, out winmdroot.Graphics.Gdi.LOGPALETTE* ppColorSet) 42 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject.Interface.Freeze(winmdroot.System.Com.DVASPECT, int, void*, uint*)"/> 43 internal static unsafe winmdroot.Foundation.HRESULT Freeze(this winmdroot.System.Ole.IViewObject.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, out uint pdwFreeze) 52 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject.Interface.GetAdvise(uint*, uint*, winmdroot.System.Com.IAdviseSink**)"/> 53 internal static unsafe winmdroot.Foundation.HRESULT GetAdvise(this winmdroot.System.Ole.IViewObject.Interface @this, out uint pAspects, out uint pAdvf, winmdroot.System.Com.IAdviseSink** ppAdvSink) 65 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject.Interface.GetAdvise(uint*, uint*, winmdroot.System.Com.IAdviseSink**)"/> 66 internal static unsafe winmdroot.Foundation.HRESULT GetAdvise(this winmdroot.System.Ole.IViewObject.Interface @this, winmdroot.System.Com.IAdviseSink** ppAdvSink)