104 references to IDispatchEx
System.Private.Windows.Core (63)
Windows.Win32.IDispatchEx.g.cs (55)
25
:IVTable<
IDispatchEx
,
IDispatchEx
.Vtbl>,IComIID {
41
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IDispatchEx
*)Unsafe.AsPointer(ref this), riid, ppvObject);
46
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint>)lpVtbl[1])((
IDispatchEx
*)Unsafe.AsPointer(ref this));
51
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint>)lpVtbl[2])((
IDispatchEx
*)Unsafe.AsPointer(ref this));
66
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IDispatchEx
*)Unsafe.AsPointer(ref this), pctinfo);
71
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IDispatchEx
*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo);
93
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IDispatchEx
*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId);
111
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,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])((
IDispatchEx
*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr);
127
private static winmdroot.Foundation.HRESULT GetDispID(
IDispatchEx
* pThis, winmdroot.Foundation.BSTR bstrName, uint grfdex, int* pid)
146
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.Foundation.BSTR ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((
IDispatchEx
*)Unsafe.AsPointer(ref this), bstrName, grfdex, pid);
162
private static winmdroot.Foundation.HRESULT InvokeEx(
IDispatchEx
* pThis, int id, uint lcid, ushort wFlags, winmdroot.System.Com.DISPPARAMS* pdp, [Optional] winmdroot.System.Variant.VARIANT* pvarRes, [Optional] winmdroot.System.Com.EXCEPINFO* pei, [Optional] winmdroot.System.Com.IServiceProvider* pspCaller)
181
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,uint ,ushort ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,winmdroot.System.Com.IServiceProvider* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((
IDispatchEx
*)Unsafe.AsPointer(ref this), id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
187
private static winmdroot.Foundation.HRESULT DeleteMemberByName(
IDispatchEx
* pThis, winmdroot.Foundation.BSTR bstrName, uint grfdex)
206
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.Foundation.BSTR ,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((
IDispatchEx
*)Unsafe.AsPointer(ref this), bstrName, grfdex);
212
private static winmdroot.Foundation.HRESULT DeleteMemberByDispID(
IDispatchEx
* pThis, int id)
231
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((
IDispatchEx
*)Unsafe.AsPointer(ref this), id);
247
private static winmdroot.Foundation.HRESULT GetMemberProperties(
IDispatchEx
* pThis, int id, uint grfdexFetch, winmdroot.System.Ole.FDEX_PROP_FLAGS* pgrfdex)
266
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,uint ,winmdroot.System.Ole.FDEX_PROP_FLAGS* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((
IDispatchEx
*)Unsafe.AsPointer(ref this), id, grfdexFetch, pgrfdex);
272
private static winmdroot.Foundation.HRESULT GetMemberName(
IDispatchEx
* pThis, int id, winmdroot.Foundation.BSTR* pbstrName)
291
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((
IDispatchEx
*)Unsafe.AsPointer(ref this), id, pbstrName);
307
private static winmdroot.Foundation.HRESULT GetNextDispID(
IDispatchEx
* pThis, uint grfdex, int id, int* pid)
326
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint ,int ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((
IDispatchEx
*)Unsafe.AsPointer(ref this), grfdex, id, pid);
332
private static winmdroot.Foundation.HRESULT GetNameSpaceParent(
IDispatchEx
* pThis, winmdroot.System.Com.IUnknown** ppunk)
351
return ((delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.System.Com.IUnknown** ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((
IDispatchEx
*)Unsafe.AsPointer(ref this), ppunk);
375
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
377
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint> AddRef_2;
379
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint> Release_3;
381
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4;
383
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5;
385
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6;
387
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,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;
389
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.Foundation.BSTR ,uint ,int* ,winmdroot.Foundation.HRESULT> GetDispID_8;
391
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,uint ,ushort ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,winmdroot.System.Com.IServiceProvider* ,winmdroot.Foundation.HRESULT> InvokeEx_9;
393
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.Foundation.BSTR ,uint ,winmdroot.Foundation.HRESULT> DeleteMemberByName_10;
395
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,winmdroot.Foundation.HRESULT> DeleteMemberByDispID_11;
397
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,uint ,winmdroot.System.Ole.FDEX_PROP_FLAGS* ,winmdroot.Foundation.HRESULT> GetMemberProperties_12;
399
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,int ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> GetMemberName_13;
401
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,uint ,int ,int* ,winmdroot.Foundation.HRESULT> GetNextDispID_14;
403
internal delegate *unmanaged [Stdcall]<
IDispatchEx
*,winmdroot.System.Com.IUnknown** ,winmdroot.Foundation.HRESULT> GetNameSpaceParent_15;
Windows.Win32.System_Ole_IDispatchEx_Extensions.g.cs (8)
23
/// <inheritdoc cref="winmdroot.System.Ole.
IDispatchEx
.Interface.GetDispID(winmdroot.Foundation.BSTR, uint, int*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT GetDispID(this winmdroot.System.Ole.
IDispatchEx
.Interface @this, winmdroot.Foundation.BSTR bstrName, uint grfdex, out int pid)
33
/// <inheritdoc cref="winmdroot.System.Ole.
IDispatchEx
.Interface.InvokeEx(int, uint, ushort, winmdroot.System.Com.DISPPARAMS*, winmdroot.System.Variant.VARIANT*, winmdroot.System.Com.EXCEPINFO*, winmdroot.System.Com.IServiceProvider*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT InvokeEx(this winmdroot.System.Ole.
IDispatchEx
.Interface @this, int id, uint lcid, ushort wFlags, in winmdroot.System.Com.DISPPARAMS pdp, winmdroot.System.Variant.VARIANT* pvarRes, winmdroot.System.Com.EXCEPINFO* pei, winmdroot.System.Com.IServiceProvider* pspCaller)
43
/// <inheritdoc cref="winmdroot.System.Ole.
IDispatchEx
.Interface.GetMemberProperties(int, uint, winmdroot.System.Ole.FDEX_PROP_FLAGS*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT GetMemberProperties(this winmdroot.System.Ole.
IDispatchEx
.Interface @this, int id, uint grfdexFetch, out winmdroot.System.Ole.FDEX_PROP_FLAGS pgrfdex)
53
/// <inheritdoc cref="winmdroot.System.Ole.
IDispatchEx
.Interface.GetNextDispID(uint, int, int*)"/>
54
internal static unsafe winmdroot.Foundation.HRESULT GetNextDispID(this winmdroot.System.Ole.
IDispatchEx
.Interface @this, uint grfdex, int id, out int pid)
System.Windows.Forms (23)
System\Windows\Forms\Accessibility\AccessibleObject.cs (18)
53
IDispatchEx
.Interface,
56
IDispatchEx
,
3329
HRESULT
IDispatchEx
.Interface.GetDispID(BSTR bstrName, uint grfdex, int* pid)
3330
=> ((
IDispatchEx
.Interface)_dispatchAdapter).GetDispID(bstrName, grfdex, pid);
3332
HRESULT
IDispatchEx
.Interface.InvokeEx(
3340
=> ((
IDispatchEx
.Interface)_dispatchAdapter).InvokeEx(id, lcid, wFlags, pdp, pvarRes, pei, pspCaller);
3342
HRESULT
IDispatchEx
.Interface.DeleteMemberByName(BSTR bstrName, uint grfdex)
3343
=> ((
IDispatchEx
.Interface)_dispatchAdapter).DeleteMemberByName(bstrName, grfdex);
3345
HRESULT
IDispatchEx
.Interface.DeleteMemberByDispID(int id)
3346
=> ((
IDispatchEx
.Interface)_dispatchAdapter).DeleteMemberByDispID(id);
3348
HRESULT
IDispatchEx
.Interface.GetMemberProperties(int id, uint grfdexFetch, FDEX_PROP_FLAGS* pgrfdex)
3349
=> ((
IDispatchEx
.Interface)_dispatchAdapter).GetMemberProperties(id, grfdexFetch, pgrfdex);
3351
HRESULT
IDispatchEx
.Interface.GetMemberName(int id, BSTR* pbstrName)
3352
=> ((
IDispatchEx
.Interface)_dispatchAdapter).GetMemberName(id, pbstrName);
3354
HRESULT
IDispatchEx
.Interface.GetNextDispID(uint grfdex, int id, int* pid)
3355
=> ((
IDispatchEx
.Interface)_dispatchAdapter).GetNextDispID(grfdex, id, pid);
3357
HRESULT
IDispatchEx
.Interface.GetNameSpaceParent(IUnknown** ppunk)
3358
=> ((
IDispatchEx
.Interface)_dispatchAdapter).GetNameSpaceParent(ppunk);
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
20
IManagedWrapper<IOleContainer, IOleInPlaceFrame, IOleInPlaceUIWindow, IOleWindow, IDispatch,
IDispatchEx
>
System\Windows\Forms\ActiveX\AxHost.AxContainer.ExtenderProxy.cs (2)
15
/// Provides an <see cref="IDispatch"/> and <see cref="
IDispatchEx
"/> view of <see cref="Control"/>
24
IManagedWrapper<IDispatch,
IDispatchEx
, IExtender, IVBGetControl, IGetVBAObject, IGetOleObject>
System\Windows\Forms\ActiveX\AxHost.OleInterfaces.cs (1)
29
IManagedWrapper<IDispatch,
IDispatchEx
, IOleControlSite, IOleClientSite, IOleWindow, IOleInPlaceSite, ISimpleFrameSite, IVBGetControl, IGetVBAObject, IPropertyNotifySink>
System\Windows\Forms\Controls\WebBrowser\HtmlToClrEventProxy.cs (1)
17
internal class HtmlToClrEventProxy : UnknownDispatch, IManagedWrapper<IDispatch,
IDispatchEx
>
System.Windows.Forms.Primitives (15)
Windows\Win32\System\Com\StandardDispatch.cs (9)
19
internal abstract unsafe class StandardDispatch<T> : IDispatch.Interface,
IDispatchEx
.Interface, IDisposable
134
HRESULT
IDispatchEx
.Interface.GetDispID(BSTR bstrName, uint grfdex, int* pid)
139
HRESULT
IDispatchEx
.Interface.GetMemberName(int id, BSTR* pbstrName)
144
HRESULT
IDispatchEx
.Interface.GetNextDispID(uint grfdex, int id, int* pid)
158
HRESULT
IDispatchEx
.Interface.InvokeEx(
201
HRESULT
IDispatchEx
.Interface.GetMemberProperties(int id, uint grfdexFetch, FDEX_PROP_FLAGS* pgrfdex)
237
HRESULT
IDispatchEx
.Interface.DeleteMemberByName(BSTR bstrName, uint grfdex) => HRESULT.E_NOTIMPL;
238
HRESULT
IDispatchEx
.Interface.DeleteMemberByDispID(int id) => HRESULT.E_NOTIMPL;
240
HRESULT
IDispatchEx
.Interface.GetNameSpaceParent(IUnknown** ppunk)
Windows\Win32\System\Ole\ClassPropertyDispatchAdapter.cs (6)
12
/// Provides an <see cref="
IDispatchEx
"/> friendly view of a given class' public properties.
96
/// Matches up to <see cref="
IDispatchEx
.GetDispID(BSTR, uint, int*)"/>
110
/// Matches up to <see cref="
IDispatchEx
.GetMemberName(int, BSTR*)"/>
138
/// <see cref="
IDispatchEx
.InvokeEx(int, uint, ushort, DISPPARAMS*, VARIANT*, EXCEPINFO*, Com.IServiceProvider*)"/>
252
/// Matches up to <see cref="
IDispatchEx
.GetNextDispID(uint, int, int*)"/>
286
/// Matches up to <see cref="
IDispatchEx
.GetMemberProperties(int, uint, FDEX_PROP_FLAGS*)"/>
System.Windows.Forms.Primitives.Tests (1)
Windows\Win32\UI\Accessibility\AccessibleDispatchTests.cs (1)
25
private unsafe class AccessibleTestObject : AccessibleDispatch, IAccessible.Interface, IManagedWrapper<IAccessible, IDispatch,
IDispatchEx
>
System.Windows.Forms.Tests (2)
System\Windows\Forms\HtmlToClrEventProxyTest.cs (2)
18
using var dispatchEx = ComHelpers.GetComScope<
IDispatchEx
>(proxy);
45
using var dispatchEx = ComHelpers.GetComScope<
IDispatchEx
>(proxy);