41 references to IClassFactory2
System.Windows.Forms (4)
System\Windows\Forms\ActiveX\AxHost.cs (4)
2220using ComScope<IClassFactory2> factory = new(null); 2226IID.Get<IClassFactory2>(), 2275using ComScope<IClassFactory2> factory = new(null); 2281IID.Get<IClassFactory2>(),
System.Windows.Forms.Primitives (37)
Windows.Win32.IClassFactory2.g.cs (31)
26 :IVTable<IClassFactory2,IClassFactory2.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IClassFactory2*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,uint>)lpVtbl[1])((IClassFactory2*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,uint>)lpVtbl[2])((IClassFactory2*)Unsafe.AsPointer(ref this)); 71 private static winmdroot.Foundation.HRESULT CreateInstance(IClassFactory2* pThis, [Optional] winmdroot.System.Com.IUnknown* pUnkOuter, global::System.Guid* riid, void** ppvObject) 90 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Com.IUnknown* ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IClassFactory2*)Unsafe.AsPointer(ref this), pUnkOuter, riid, ppvObject); 96 private static winmdroot.Foundation.HRESULT LockServer(IClassFactory2* pThis, winmdroot.Foundation.BOOL fLock) 115 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IClassFactory2*)Unsafe.AsPointer(ref this), fLock); 131 private static winmdroot.Foundation.HRESULT GetLicInfo(IClassFactory2* pThis, winmdroot.System.Ole.LICINFO* pLicInfo) 160 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Ole.LICINFO* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IClassFactory2*)Unsafe.AsPointer(ref this), pLicInfo); 166 private static winmdroot.Foundation.HRESULT RequestLicKey(IClassFactory2* pThis, uint dwReserved, winmdroot.Foundation.BSTR* pBstrKey) 196 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,uint ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IClassFactory2*)Unsafe.AsPointer(ref this), dwReserved, pBstrKey); 215 private static winmdroot.Foundation.HRESULT CreateInstanceLic(IClassFactory2* pThis, [Optional] winmdroot.System.Com.IUnknown* pUnkOuter, [Optional] winmdroot.System.Com.IUnknown* pUnkReserved, global::System.Guid* riid, winmdroot.Foundation.BSTR bstrKey, void** ppvObj) 248 return ((delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Com.IUnknown* ,winmdroot.System.Com.IUnknown* ,global::System.Guid* ,winmdroot.Foundation.BSTR ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IClassFactory2*)Unsafe.AsPointer(ref this), pUnkOuter, pUnkReserved, riid, bstrKey, ppvObj); 272 internal delegate *unmanaged [Stdcall]<IClassFactory2*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 274 internal delegate *unmanaged [Stdcall]<IClassFactory2*,uint> AddRef_2; 276 internal delegate *unmanaged [Stdcall]<IClassFactory2*,uint> Release_3; 278 internal delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Com.IUnknown* ,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> CreateInstance_4; 280 internal delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.Foundation.BOOL ,winmdroot.Foundation.HRESULT> LockServer_5; 282 internal delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Ole.LICINFO* ,winmdroot.Foundation.HRESULT> GetLicInfo_6; 284 internal delegate *unmanaged [Stdcall]<IClassFactory2*,uint ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> RequestLicKey_7; 286 internal delegate *unmanaged [Stdcall]<IClassFactory2*,winmdroot.System.Com.IUnknown* ,winmdroot.System.Com.IUnknown* ,global::System.Guid* ,winmdroot.Foundation.BSTR ,void** ,winmdroot.Foundation.HRESULT> CreateInstanceLic_8;
Windows.Win32.System_Ole_IClassFactory2_Extensions.g.cs (6)
23 /// <inheritdoc cref="winmdroot.System.Ole.IClassFactory2.Interface.CreateInstance(winmdroot.System.Com.IUnknown*, global::System.Guid*, void**)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT CreateInstance(this winmdroot.System.Ole.IClassFactory2.Interface @this, winmdroot.System.Com.IUnknown* pUnkOuter, in global::System.Guid riid, out void* ppvObject) 36 /// <inheritdoc cref="winmdroot.System.Ole.IClassFactory2.Interface.GetLicInfo(winmdroot.System.Ole.LICINFO*)"/> 37 internal static unsafe winmdroot.Foundation.HRESULT GetLicInfo(this winmdroot.System.Ole.IClassFactory2.Interface @this, ref winmdroot.System.Ole.LICINFO pLicInfo) 46 /// <inheritdoc cref="winmdroot.System.Ole.IClassFactory2.Interface.CreateInstanceLic(winmdroot.System.Com.IUnknown*, winmdroot.System.Com.IUnknown*, global::System.Guid*, winmdroot.Foundation.BSTR, void**)"/> 47 internal static unsafe winmdroot.Foundation.HRESULT CreateInstanceLic(this winmdroot.System.Ole.IClassFactory2.Interface @this, winmdroot.System.Com.IUnknown* pUnkOuter, in global::System.Guid riid, winmdroot.Foundation.BSTR bstrKey, out void* ppvObj)