File tree Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Expand file tree Collapse file tree 4 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -85,12 +85,20 @@ internal unsafe struct DispatcherQueueProxyHandler1
85
85
return ( IDispatcherQueueHandler * ) @this ;
86
86
}
87
87
88
+ /// <summary>
89
+ /// Devirtualized API for <c>IUnknown.AddRef()</c>.
90
+ /// </summary>
91
+ /// <returns>The updated reference count for the current instance.</returns>
88
92
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
89
93
public uint AddRef ( )
90
94
{
91
95
return Interlocked . Increment ( ref referenceCount ) ;
92
96
}
93
97
98
+ /// <summary>
99
+ /// Devirtualized API for <c>IUnknown.Release()</c>.
100
+ /// </summary>
101
+ /// <returns>The updated reference count for the current instance.</returns>
94
102
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
95
103
public uint Release ( )
96
104
{
Original file line number Diff line number Diff line change @@ -92,12 +92,20 @@ internal unsafe struct DispatcherQueueProxyHandler2
92
92
return ( IDispatcherQueueHandler * ) @this ;
93
93
}
94
94
95
+ /// <summary>
96
+ /// Devirtualized API for <c>IUnknown.AddRef()</c>.
97
+ /// </summary>
98
+ /// <returns>The updated reference count for the current instance.</returns>
95
99
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
96
100
public uint AddRef ( )
97
101
{
98
102
return Interlocked . Increment ( ref referenceCount ) ;
99
103
}
100
104
105
+ /// <summary>
106
+ /// Devirtualized API for <c>IUnknown.Release()</c>.
107
+ /// </summary>
108
+ /// <returns>The updated reference count for the current instance.</returns>
101
109
[ MethodImpl ( MethodImplOptions . AggressiveInlining ) ]
102
110
public uint Release ( )
103
111
{
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ namespace CommunityToolkit.WinUI.Interop
14
14
/// </summary>
15
15
internal unsafe struct IDispatcherQueue
16
16
{
17
+ /// <summary>
18
+ /// The vtable pointer for the current instance.
19
+ /// </summary>
17
20
private readonly void * * lpVtbl ;
18
21
19
22
/// <summary>
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ namespace CommunityToolkit.WinUI.Interop
13
13
/// </summary>
14
14
internal unsafe struct IDispatcherQueueHandler
15
15
{
16
+ /// <summary>
17
+ /// The vtable pointer for the current instance.
18
+ /// </summary>
16
19
private readonly void * * lpVtbl ;
17
20
18
21
/// <summary>
You can’t perform that action at this time.
0 commit comments