55 references to IViewObject2
System.Windows.Forms (8)
System\Windows\Forms\ActiveX\Control_ActiveXControlInterfaces.cs (8)
21IViewObject2.Interface, 570HRESULT IViewObject2.Interface.Draw( 594HRESULT IViewObject2.Interface.GetColorSet( 604HRESULT IViewObject2.Interface.Freeze(DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze) 608HRESULT IViewObject2.Interface.Unfreeze(uint dwFreeze) 612HRESULT IViewObject2.Interface.SetAdvise(DVASPECT aspects, uint advf, IAdviseSink* pAdvSink) 616HRESULT IViewObject2.Interface.GetAdvise(uint* pAspects, uint* pAdvf, IAdviseSink** ppAdvSink) 620HRESULT IViewObject2.Interface.GetExtent(DVASPECT dwDrawAspect, int lindex, DVTARGETDEVICE* ptd, SIZE* lpsizel)
System.Windows.Forms.Primitives (47)
Windows.Win32.IViewObject2.g.cs (39)
26 :IVTable<IViewObject2,IViewObject2.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IViewObject2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IViewObject2*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IViewObject2*,uint>)lpVtbl[1])((IViewObject2*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IViewObject2*,uint>)lpVtbl[2])((IViewObject2*)Unsafe.AsPointer(ref this)); 66 private static winmdroot.Foundation.HRESULT Draw(IViewObject2* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, winmdroot.Graphics.Gdi.HDC hdcTargetDev, winmdroot.Graphics.Gdi.HDC hdcDraw, [Optional] winmdroot.Foundation.RECTL* lprcBounds, [Optional] winmdroot.Foundation.RECTL* lprcWBounds, nint pfnContinue, nuint dwContinue) 85 ((delegate *unmanaged [Stdcall]<IViewObject2*,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])((IViewObject2*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, ptd, hdcTargetDev, hdcDraw, lprcBounds, lprcWBounds, pfnContinue, dwContinue).ThrowOnFailure(); 100 private static winmdroot.Foundation.HRESULT GetColorSet(IViewObject2* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, [Optional] winmdroot.System.Com.DVTARGETDEVICE* ptd, winmdroot.Graphics.Gdi.HDC hicTargetDev, winmdroot.Graphics.Gdi.LOGPALETTE** ppColorSet) 119 ((delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.LOGPALETTE** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IViewObject2*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, ptd, hicTargetDev, ppColorSet).ThrowOnFailure(); 134 private static winmdroot.Foundation.HRESULT Freeze(IViewObject2* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze) 153 ((delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,void* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IViewObject2*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, pvAspect, pdwFreeze).ThrowOnFailure(); 159 private static winmdroot.Foundation.HRESULT Unfreeze(IViewObject2* pThis, uint dwFreeze) 178 ((delegate *unmanaged [Stdcall]<IViewObject2*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IViewObject2*)Unsafe.AsPointer(ref this), dwFreeze).ThrowOnFailure(); 184 private static winmdroot.Foundation.HRESULT SetAdvise(IViewObject2* pThis, winmdroot.System.Com.DVASPECT aspects, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink) 203 ((delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,uint ,winmdroot.System.Com.IAdviseSink* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IViewObject2*)Unsafe.AsPointer(ref this), aspects, advf, pAdvSink).ThrowOnFailure(); 209 private static winmdroot.Foundation.HRESULT GetAdvise(IViewObject2* pThis, [Optional] uint* pAspects, [Optional] uint* pAdvf, winmdroot.System.Com.IAdviseSink** ppAdvSink) 228 ((delegate *unmanaged [Stdcall]<IViewObject2*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IViewObject2*)Unsafe.AsPointer(ref this), pAspects, pAdvf, ppAdvSink).ThrowOnFailure(); 243 private static winmdroot.Foundation.HRESULT GetExtent(IViewObject2* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, winmdroot.System.Com.DVTARGETDEVICE* ptd, winmdroot.Foundation.SIZE* lpsizel) 276 ((delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Foundation.SIZE* ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IViewObject2*)Unsafe.AsPointer(ref this), dwDrawAspect, lindex, ptd, lpsizel).ThrowOnFailure(); 300 internal delegate *unmanaged [Stdcall]<IViewObject2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 302 internal delegate *unmanaged [Stdcall]<IViewObject2*,uint> AddRef_2; 304 internal delegate *unmanaged [Stdcall]<IViewObject2*,uint> Release_3; 306 internal delegate *unmanaged [Stdcall]<IViewObject2*,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; 308 internal delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,void* ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Graphics.Gdi.HDC ,winmdroot.Graphics.Gdi.LOGPALETTE** ,winmdroot.Foundation.HRESULT> GetColorSet_5; 310 internal delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,void* ,uint* ,winmdroot.Foundation.HRESULT> Freeze_6; 312 internal delegate *unmanaged [Stdcall]<IViewObject2*,uint ,winmdroot.Foundation.HRESULT> Unfreeze_7; 314 internal delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,uint ,winmdroot.System.Com.IAdviseSink* ,winmdroot.Foundation.HRESULT> SetAdvise_8; 316 internal delegate *unmanaged [Stdcall]<IViewObject2*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT> GetAdvise_9; 318 internal delegate *unmanaged [Stdcall]<IViewObject2*,winmdroot.System.Com.DVASPECT ,int ,winmdroot.System.Com.DVTARGETDEVICE* ,winmdroot.Foundation.SIZE* ,winmdroot.Foundation.HRESULT> GetExtent_10;
Windows.Win32.System_Ole_IViewObject2_Extensions.g.cs (8)
23 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject2.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.IViewObject2.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, winmdroot.System.Com.DVTARGETDEVICE* ptd, winmdroot.Graphics.Gdi.HDC hdcTargetDev, winmdroot.Graphics.Gdi.HDC hdcDraw, winmdroot.Foundation.RECTL? lprcBounds, winmdroot.Foundation.RECTL? lprcWBounds, nint pfnContinue, nuint dwContinue) 32 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject2.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.IViewObject2.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, winmdroot.System.Com.DVTARGETDEVICE* ptd, winmdroot.Graphics.Gdi.HDC hicTargetDev, out winmdroot.Graphics.Gdi.LOGPALETTE* ppColorSet) 42 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject2.Interface.Freeze(winmdroot.System.Com.DVASPECT, int, void*, uint*)"/> 43 internal static unsafe winmdroot.Foundation.HRESULT Freeze(this winmdroot.System.Ole.IViewObject2.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, out uint pdwFreeze) 52 /// <inheritdoc cref="winmdroot.System.Ole.IViewObject2.Interface.GetExtent(winmdroot.System.Com.DVASPECT, int, winmdroot.System.Com.DVTARGETDEVICE*, winmdroot.Foundation.SIZE*)"/> 53 internal static unsafe winmdroot.Foundation.HRESULT GetExtent(this winmdroot.System.Ole.IViewObject2.Interface @this, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, winmdroot.System.Com.DVTARGETDEVICE* ptd, out winmdroot.Foundation.SIZE lpsizel)