30 references to IFontDisp
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (4)
3740
PInvoke.OleCreateFontIndirect(in fontdesc, in IID.GetRef<
IFontDisp
>(), out void* lplpvObj).ThrowOnFailure();
3741
return ComHelpers.GetObjectForIUnknown((
IFontDisp
*)lplpvObj);
3761
IFontDisp
.Interface oleFont = (
IFontDisp
.Interface)font;
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
114
else if (guid.Equals(IID.GetRef<
IFontDisp
>()) || guid.Equals(IID.GetRef<IFont>()))
System.Windows.Forms.Primitives (23)
Windows.Win32.IFontDisp.g.cs (23)
26
:IVTable<
IFontDisp
,
IFontDisp
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IFontDisp
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IFontDisp
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IFontDisp
*,uint>)lpVtbl[1])((
IFontDisp
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IFontDisp
*,uint>)lpVtbl[2])((
IFontDisp
*)Unsafe.AsPointer(ref this));
66
((delegate *unmanaged [Stdcall]<
IFontDisp
*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IFontDisp
*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure();
71
((delegate *unmanaged [Stdcall]<
IFontDisp
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IFontDisp
*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure();
92
((delegate *unmanaged [Stdcall]<
IFontDisp
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IFontDisp
*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure();
109
((delegate *unmanaged [Stdcall]<
IFontDisp
*,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])((
IFontDisp
*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure();
133
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
135
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,uint> AddRef_2;
137
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,uint> Release_3;
139
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;
141
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
143
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;
145
internal delegate *unmanaged [Stdcall]<
IFontDisp
*,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.Windows.Forms.Tests (2)
System\Windows\Forms\AxHostTests.cs (2)
1467
result = SubAxHost.GetFontFromIFont((
IFontDisp
.Interface)disp);
1496
result = SubAxHost.GetFontFromIFont((
IFontDisp
.Interface)disp);