17 references to Vtbl
System.Private.Windows.Core (17)
Windows.Win32.ComHelpers.g.cs (2)
37
internal static void PopulateIUnknown<TComInterface>(System.Com.IUnknown.
Vtbl
* vtable)
50
static partial void PopulateIUnknownImpl<TComInterface>(System.Com.IUnknown.
Vtbl
* vtable)
Windows.Win32.IVTable.g.cs (4)
26
static abstract System.Com.IUnknown.
Vtbl
* VTable {
36
static System.Com.IUnknown.
Vtbl
* IVTable.VTable {
38
= (System.Com.IUnknown.
Vtbl
*)CreateVTable();
45
ComHelpers.PopulateIUnknown<TComInterface>((System.Com.IUnknown.
Vtbl
*)vtbl);
Windows\Win32\System\Com\ComHelpers.cs (1)
316
static partial void PopulateIUnknownImpl<TComInterface>(IUnknown.
Vtbl
* vtable)
Windows\Win32\System\Com\IUnknown.CCW.cs (9)
25
private static readonly
Vtbl
* s_vtable = AllocateVTable();
27
private static unsafe
Vtbl
* AllocateVTable()
30
Vtbl
* vtable = (
Vtbl
*)RuntimeHelpers.AllocateTypeAssociatedMemory(typeof(CCW), sizeof(
Vtbl
));
44
(IUnknown*)Lifetime<
Vtbl
, Interface>.Allocate(@object, s_vtable);
64
Lifetime<
Vtbl
, Interface>.AddRef(@this);
69
private static unsafe uint AddRef(IUnknown* @this) => Lifetime<
Vtbl
, Interface>.AddRef(@this);
72
private static unsafe uint Release(IUnknown* @this) => Lifetime<
Vtbl
, Interface>.Release(@this);
Windows\Win32\System\Com\WinFormsComWrappers.cs (1)
17
internal static void PopulateIUnknownVTable(IUnknown.
Vtbl
* unknown)