33 references to IPictureDisp
System.Private.Windows.Core (23)
_generated\155\Windows.Win32.IPictureDisp.g.cs (23)
27
:winmdroot.IVTable<
IPictureDisp
,
IPictureDisp
.Vtbl>,IComIID {
44
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IPictureDisp
*)Unsafe.AsPointer(ref this), riid, ppvObject);
49
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint>)lpVtbl[1])((
IPictureDisp
*)Unsafe.AsPointer(ref this));
54
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint>)lpVtbl[2])((
IPictureDisp
*)Unsafe.AsPointer(ref this));
70
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IPictureDisp
*)Unsafe.AsPointer(ref this), pctinfo);
75
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IPictureDisp
*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo);
97
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IPictureDisp
*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId);
138
return ((delegate *unmanaged [Stdcall]<
IPictureDisp
*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IPictureDisp
*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
164
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
166
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint> AddRef_2;
168
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint> Release_3;
170
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;
172
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
174
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;
176
internal delegate *unmanaged [Stdcall]<
IPictureDisp
*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT> Invoke_7;
System.Private.Windows.GdiPlus (6)
Windows\Win32\Graphics\GdiPlus\GpImageExtensions.cs (6)
44
public static
IPictureDisp
.Interface CreateIPictureDispRCW(this IPointer<GpImage> image)
47
using ComScope<
IPictureDisp
> picture = image.CreateIPictureDisp();
48
return (
IPictureDisp
.Interface)ComHelpers.GetObjectForIUnknown(picture);
51
public static ComScope<
IPictureDisp
> CreateIPictureDisp(this IPointer<GpImage> image)
54
ComScope<
IPictureDisp
> picture = new(null);
55
PInvokeCore.OleCreatePictureIndirect(&desc, IID.Get<
IPictureDisp
>(), fOwn: true, picture).ThrowOnFailure();
System.Windows.Forms (3)
System\Windows\Forms\ActiveX\AxHost.cs (2)
3554
using var iPicture = ComHelpers.TryGetComScope<
IPictureDisp
>(picture, out HRESULT hr);
3578
using var pictureDisp = ComHelpers.TryGetComScope<
IPictureDisp
>(picture, out HRESULT hr);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
118
else if (guid.Equals(IID.GetRef<
IPictureDisp
>()) || guid.Equals(IID.GetRef<IPicture>()))
System.Windows.Forms.Primitives (1)
System\Drawing\ImageExtensions.cs (1)
59
public static Image? ToImage(
IPictureDisp
* picture)