70 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)
20
IViewObject
.Interface,
513
/// <inheritdoc cref="
IViewObject
.Draw(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, HDC, RECTL*, RECTL*, nint, nuint)"/>
514
HRESULT
IViewObject
.Interface.Draw(
543
/// <inheritdoc cref="
IViewObject
.GetColorSet(DVASPECT, int, void*, DVTARGETDEVICE*, HDC, LOGPALETTE**)"/>
544
HRESULT
IViewObject
.Interface.GetColorSet(
554
/// <inheritdoc cref="
IViewObject
.Freeze(DVASPECT, int, void*, uint*)"/>
555
HRESULT
IViewObject
.Interface.Freeze(DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze) =>
558
/// <inheritdoc cref="
IViewObject
.Unfreeze(uint)"/>
559
HRESULT
IViewObject
.Interface.Unfreeze(uint dwFreeze) => HRESULT.E_NOTIMPL;
561
/// <inheritdoc cref="
IViewObject
.SetAdvise(DVASPECT, uint, IAdviseSink*)"/>
562
HRESULT
IViewObject
.Interface.SetAdvise(DVASPECT aspects, uint advf, IAdviseSink* pAdvSink) =>
565
/// <inheritdoc cref="
IViewObject
.GetAdvise(uint*, uint*, IAdviseSink**)"/>
566
HRESULT
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 (42)
Windows.Win32.IViewObject.g.cs (35)
26
:IVTable<
IViewObject
,
IViewObject
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IViewObject
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IViewObject
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IViewObject
*,uint>)lpVtbl[1])((
IViewObject
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IViewObject
*,uint>)lpVtbl[2])((
IViewObject
*)Unsafe.AsPointer(ref this));
66
private static winmdroot.Foundation.HRESULT Draw(
IViewObject
* 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)
108
((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();
123
private static winmdroot.Foundation.HRESULT GetColorSet(
IViewObject
* 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)
157
((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();
172
private static winmdroot.Foundation.HRESULT Freeze(
IViewObject
* pThis, winmdroot.System.Com.DVASPECT dwDrawAspect, int lindex, void* pvAspect, uint* pdwFreeze)
204
((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();
210
private static winmdroot.Foundation.HRESULT Unfreeze(
IViewObject
* pThis, uint dwFreeze)
238
((delegate *unmanaged [Stdcall]<
IViewObject
*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IViewObject
*)Unsafe.AsPointer(ref this), dwFreeze).ThrowOnFailure();
244
private static winmdroot.Foundation.HRESULT SetAdvise(
IViewObject
* pThis, winmdroot.System.Com.DVASPECT aspects, uint advf, winmdroot.System.Com.IAdviseSink* pAdvSink)
279
((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();
285
private static winmdroot.Foundation.HRESULT GetAdvise(
IViewObject
* pThis, [Optional] uint* pAspects, [Optional] uint* pAdvf, winmdroot.System.Com.IAdviseSink** ppAdvSink)
312
((delegate *unmanaged [Stdcall]<
IViewObject
*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IViewObject
*)Unsafe.AsPointer(ref this), pAspects, pAdvf, ppAdvSink).ThrowOnFailure();
336
internal delegate *unmanaged [Stdcall]<
IViewObject
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
338
internal delegate *unmanaged [Stdcall]<
IViewObject
*,uint> AddRef_2;
340
internal delegate *unmanaged [Stdcall]<
IViewObject
*,uint> Release_3;
342
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;
344
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;
346
internal delegate *unmanaged [Stdcall]<
IViewObject
*,winmdroot.System.Com.DVASPECT ,int ,void* ,uint* ,winmdroot.Foundation.HRESULT> Freeze_6;
348
internal delegate *unmanaged [Stdcall]<
IViewObject
*,uint ,winmdroot.Foundation.HRESULT> Unfreeze_7;
350
internal delegate *unmanaged [Stdcall]<
IViewObject
*,winmdroot.System.Com.DVASPECT ,uint ,winmdroot.System.Com.IAdviseSink* ,winmdroot.Foundation.HRESULT> SetAdvise_8;
352
internal delegate *unmanaged [Stdcall]<
IViewObject
*,uint* ,uint* ,winmdroot.System.Com.IAdviseSink** ,winmdroot.Foundation.HRESULT> GetAdvise_9;
Windows.Win32.IViewObject2.g.cs (1)
349
:winmdroot.System.Ole.
IViewObject
.Interface {
Windows.Win32.System_Ole_IViewObject_Extensions.g.cs (6)
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, 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.
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, winmdroot.System.Com.DVTARGETDEVICE* ptd, 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)