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