7 instantiations of ComInterfaceEntry
PresentationFramework (6)
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (4)
109entries.Add(new ComInterfaceEntry 120entries.Add(new ComInterfaceEntry 130entries.Add(new ComInterfaceEntry 137entries.Add(new ComInterfaceEntry
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (2)
77entries.Add(new ComInterfaceEntry 84entries.Add(new ComInterfaceEntry
System.Private.Windows.Core (1)
Windows\Win32\System\Com\ComInterfaceTable.cs (1)
257=> new()
42 references to ComInterfaceEntry
PresentationFramework (10)
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.cs (4)
9using ComInterfaceEntry = System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry; 100public static List<ComInterfaceEntry> GetInterfaceTableEntries(object obj) 102var entries = new List<ComInterfaceEntry>(); 145public static (InspectableInfo inspectableInfo, List<ComInterfaceEntry> interfaceTableEntries) PregenerateNativeTypeInformation(object obj)
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (6)
71protected override unsafe ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count) 91ComInterfaceEntry* nativeEntries = (ComInterfaceEntry*)Marshal.AllocCoTaskMem(sizeof(ComInterfaceEntry) * count); 142private readonly ComInterfaceEntry* _data; 144public VtableEntriesCleanupScout(ComInterfaceEntry* data)
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (4)
203public ComInterfaceEntry* UserDefined; 831ComInterfaceEntry* userDefined = ComputeVtables(instance, flags, out int userDefinedCount); 1473/// <returns><see cref="ComInterfaceEntry" /> pointer containing memory for all COM interface entries.</returns> 1481protected abstract unsafe ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count);
System.Private.Windows.Core (23)
Windows\Win32\System\Com\ComInterfaceTable.cs (22)
10public ComInterfaceEntry* Entries { get; init; } 19Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface>(1); 24Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 36Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(2); 42Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 55Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(3); 62Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 76Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(4); 84Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 99Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(5); 108Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 124Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(6); 134Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 154Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(10); 168Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 207Span<ComInterfaceEntry> entries = AllocateEntries<TComInterface1>(27); 238Entries = (ComInterfaceEntry*)Unsafe.AsPointer(ref entries[0]), 244private static Span<ComInterfaceEntry> AllocateEntries<T>(int count) 246Span<ComInterfaceEntry> entries = new( 247(ComInterfaceEntry*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(T), sizeof(ComInterfaceEntry) * (count + 1)), 256private static ComInterfaceEntry GetEntry<TComInterface>() where TComInterface : unmanaged, IComIID, IVTable
Windows\Win32\System\Com\WinFormsComWrappers.cs (1)
24protected override unsafe ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count)
System.Runtime.InteropServices (4)
System\Runtime\InteropServices\Marshalling\ComExposedClassAttribute.cs (1)
16public unsafe ComWrappers.ComInterfaceEntry* GetComInterfaceEntries(out int count) => T.GetComInterfaceEntries(out count);
System\Runtime\InteropServices\Marshalling\IComExposedClass.cs (1)
17public static abstract ComWrappers.ComInterfaceEntry* GetComInterfaceEntries(out int count);
System\Runtime\InteropServices\Marshalling\IComExposedDetails.cs (1)
19ComWrappers.ComInterfaceEntry* GetComInterfaceEntries(out int count);
System\Runtime\InteropServices\Marshalling\StrategyBasedComWrappers.cs (1)
82protected sealed override unsafe ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count)
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (1)
331protected override unsafe ComInterfaceEntry* ComputeVtables(object obj, CreateComInterfaceFlags flags, out int count)