|
20 | 20 | </Attribute>
|
21 | 21 | </Attributes>
|
22 | 22 | <Docs>
|
23 |
| - <summary>To be added.</summary> |
| 23 | + <summary>Class for managing wrappers of COM IUnknown types.</summary> |
24 | 24 | <remarks>To be added.</remarks>
|
25 | 25 | </Docs>
|
26 | 26 | <Members>
|
|
61 | 61 | <Parameter Name="count" Type="System.Int32" RefType="out" />
|
62 | 62 | </Parameters>
|
63 | 63 | <Docs>
|
64 |
| - <param name="obj">To be added.</param> |
65 |
| - <param name="flags">To be added.</param> |
66 |
| - <param name="count">To be added.</param> |
67 |
| - <summary>To be added.</summary> |
68 |
| - <returns>To be added.</returns> |
69 |
| - <remarks>To be added.</remarks> |
| 64 | + <param name="obj">Target of the returned Vtables.</param> |
| 65 | + <param name="flags">Flags used to compute Vtables.</param> |
| 66 | + <param name="count">The number of elements contained in the returned memory.</param> |
| 67 | + <summary>Computes the desired Vtable for <paramref name="obj" />, respecting the values of <paramref name="flags" />.</summary> |
| 68 | + <returns> |
| 69 | + <see cref="T:System.Runtime.InteropServices.ComWrappers.ComInterfaceEntry" /> pointer containing memory for all COM interface entries.</returns> |
| 70 | + <remarks> |
| 71 | + <format type="text/markdown"><![CDATA[ |
| 72 | +
|
| 73 | +## Remarks |
| 74 | +
|
| 75 | +All memory returned from this function must either be unmanaged memory or pinned managed memory, or have been allocated with the <xref:System.Runtime.CompilerServices.RuntimeHelpers.AllocateTypeAssociatedMemory(System.Type,System.Int32)> API. |
| 76 | + |
| 77 | +If the interface entries cannot be created and a negative `count` or `null` and a non-zero `count` are returned, the call to <xref:System.Runtime.InteropServices.ComWrappers.GetOrCreateComInterfaceForObject(System.Object,System.Runtime.InteropServices.CreateComInterfaceFlags)> will throw a <xref:System.ArgumentException>. |
| 78 | +
|
| 79 | + ]]></format> |
| 80 | + </remarks> |
70 | 81 | </Docs>
|
71 | 82 | </Member>
|
72 | 83 | <Member MemberName="CreateObject">
|
|
89 | 100 | <Parameter Name="flags" Type="System.Runtime.InteropServices.CreateObjectFlags" />
|
90 | 101 | </Parameters>
|
91 | 102 | <Docs>
|
92 |
| - <param name="externalComObject">To be added.</param> |
93 |
| - <param name="flags">To be added.</param> |
94 |
| - <summary>To be added.</summary> |
95 |
| - <returns>To be added.</returns> |
96 |
| - <remarks>To be added.</remarks> |
| 103 | + <param name="externalComObject">Object to import for usage into the .NET runtime.</param> |
| 104 | + <param name="flags">Flags used to describe the external object.</param> |
| 105 | + <summary>Creates a managed object for the object that <paramref name="externalComObject" /> points to, respecting the values of <paramref name="flags" />.</summary> |
| 106 | + <returns>A managed object associated with the supplied external COM object.</returns> |
| 107 | + <remarks> |
| 108 | + <format type="text/markdown"><![CDATA[ |
| 109 | +
|
| 110 | +## Remarks |
| 111 | +
|
| 112 | +If the object cannot be created and `null` is returned, the call to <xref:System.Runtime.InteropServices.ComWrappers.GetOrCreateObjectForComInstance(System.IntPtr,System.Runtime.InteropServices.CreateObjectFlags)> will throw a <xref:System.ArgumentNullException>. |
| 113 | +
|
| 114 | + ]]></format> |
| 115 | + </remarks> |
97 | 116 | </Docs>
|
98 | 117 | </Member>
|
99 | 118 | <Member MemberName="GetIUnknownImpl">
|
|
117 | 136 | <Parameter Name="fpRelease" Type="System.IntPtr" RefType="out" />
|
118 | 137 | </Parameters>
|
119 | 138 | <Docs>
|
120 |
| - <param name="fpQueryInterface">To be added.</param> |
121 |
| - <param name="fpAddRef">To be added.</param> |
122 |
| - <param name="fpRelease">To be added.</param> |
123 |
| - <summary>To be added.</summary> |
| 139 | + <param name="fpQueryInterface">Function pointer to QueryInterface.</param> |
| 140 | + <param name="fpAddRef">Function pointer to AddRef.</param> |
| 141 | + <param name="fpRelease">Function pointer to Release.</param> |
| 142 | + <summary>Gets the runtime-provided IUnknown implementation.</summary> |
124 | 143 | <remarks>To be added.</remarks>
|
125 | 144 | </Docs>
|
126 | 145 | </Member>
|
|
144 | 163 | <Parameter Name="flags" Type="System.Runtime.InteropServices.CreateComInterfaceFlags" />
|
145 | 164 | </Parameters>
|
146 | 165 | <Docs>
|
147 |
| - <param name="instance">To be added.</param> |
148 |
| - <param name="flags">To be added.</param> |
149 |
| - <summary>To be added.</summary> |
150 |
| - <returns>To be added.</returns> |
| 166 | + <param name="instance">The managed object to expose outside the .NET runtime.</param> |
| 167 | + <param name="flags">Flags used to configure the generated interface.</param> |
| 168 | + <summary>Creates a COM representation of the supplied object that can be passed to a non-managed environment.</summary> |
| 169 | + <returns>The generated COM interface that can be passed outside the .NET runtime.</returns> |
151 | 170 | <remarks>To be added.</remarks>
|
152 | 171 | </Docs>
|
153 | 172 | </Member>
|
|
171 | 190 | <Parameter Name="flags" Type="System.Runtime.InteropServices.CreateObjectFlags" />
|
172 | 191 | </Parameters>
|
173 | 192 | <Docs>
|
174 |
| - <param name="externalComObject">To be added.</param> |
175 |
| - <param name="flags">To be added.</param> |
176 |
| - <summary>To be added.</summary> |
177 |
| - <returns>To be added.</returns> |
| 193 | + <param name="externalComObject">Object to import for usage into the .NET runtime.</param> |
| 194 | + <param name="flags">Flags used to describe the external object.</param> |
| 195 | + <summary>Gets the currently registered managed object or creates a new managed object and registers it.</summary> |
| 196 | + <returns>A managed object associated with the supplied external COM object.</returns> |
178 | 197 | <remarks>To be added.</remarks>
|
179 | 198 | </Docs>
|
180 | 199 | </Member>
|
|
199 | 218 | <Parameter Name="wrapper" Type="System.Object" />
|
200 | 219 | </Parameters>
|
201 | 220 | <Docs>
|
202 |
| - <param name="externalComObject">To be added.</param> |
203 |
| - <param name="flags">To be added.</param> |
204 |
| - <param name="wrapper">To be added.</param> |
205 |
| - <summary>To be added.</summary> |
206 |
| - <returns>To be added.</returns> |
| 221 | + <param name="externalComObject">Object to import for usage into the .NET runtime.</param> |
| 222 | + <param name="flags">Flags used to describe the external object.</param> |
| 223 | + <param name="wrapper">The object to use as the wrapper for the external object.</param> |
| 224 | + <summary>Gets the currently registered managed object or uses the supplied managed object and registers it.</summary> |
| 225 | + <returns>A managed object associated with the supplied external COM object.</returns> |
207 | 226 | <remarks>To be added.</remarks>
|
| 227 | + <exception cref="T:System.NotSupportedException">The wrapper instance is already associated with an external object.</exception> |
208 | 228 | </Docs>
|
209 | 229 | </Member>
|
210 | 230 | <Member MemberName="RegisterForMarshalling">
|
|
274 | 294 | <Parameter Name="objects" Type="System.Collections.IEnumerable" />
|
275 | 295 | </Parameters>
|
276 | 296 | <Docs>
|
277 |
| - <param name="objects">To be added.</param> |
278 |
| - <summary>To be added.</summary> |
| 297 | + <param name="objects">Collection of objects to release.</param> |
| 298 | + <summary>Releases a collection of objects outside of the normal object or COM interface lifetime.</summary> |
279 | 299 | <remarks>To be added.</remarks>
|
280 | 300 | </Docs>
|
281 | 301 | </Member>
|
|
0 commit comments