10 references to Lifetime
System.Private.Windows.Core (10)
Windows\Win32\System\Com\IUnknown.CCW.cs (4)
41(IUnknown*)Lifetime<Vtbl, Interface>.Allocate(@object, s_vtable); 61Lifetime<Vtbl, Interface>.AddRef(@this); 66private static unsafe uint AddRef(IUnknown* @this) => Lifetime<Vtbl, Interface>.AddRef(@this); 69private static unsafe uint Release(IUnknown* @this) => Lifetime<Vtbl, Interface>.Release(@this);
Windows\Win32\System\Com\Lifetime.cs (6)
22Interlocked.Increment(ref ((Lifetime<TVTable, TObject>*)@this)->_refCount); 26var lifetime = (Lifetime<TVTable, TObject>*)@this; 52public static unsafe Lifetime<TVTable, TObject>* Allocate(TObject @object, TVTable* vtable) 54var wrapper = (Lifetime<TVTable, TObject>*)Marshal.AllocCoTaskMem(sizeof(Lifetime<TVTable, TObject>)); 74var lifetime = (Lifetime<TVTable, TObject>*)@this;