diff --git a/xml/System.Runtime.InteropServices/Marshal.xml b/xml/System.Runtime.InteropServices/Marshal.xml index d2287252e17..5644ef5c52f 100644 --- a/xml/System.Runtime.InteropServices/Marshal.xml +++ b/xml/System.Runtime.InteropServices/Marshal.xml @@ -2660,7 +2660,7 @@ The method overload allows query interface customization by default. To specify whether to apply query interface customization, use the method overload. - For additional information, see the [COM Callable Wrapper](~/docs/framework/interop/com-callable-wrapper.md), [Runtime Callable Wrapper](~/docs/framework/interop/runtime-callable-wrapper.md), and [Introducing the Class Interface](https://msdn.microsoft.com/library/733c0dd2-12e5-46e6-8de1-39d5b25df024) topics. + For additional information, see the [COM Callable Wrapper](~/docs/framework/interop/com-callable-wrapper.md) and [Runtime Callable Wrapper](~/docs/framework/interop/runtime-callable-wrapper.md) articles. ]]> @@ -2829,7 +2829,7 @@ The method overload allows query interface customization by default. To specify whether to apply query interface customization, use the method overload. - For additional information, see the [COM Callable Wrapper](~/docs/framework/interop/com-callable-wrapper.md), [Runtime Callable Wrapper](~/docs/framework/interop/runtime-callable-wrapper.md), and [Introducing the Class Interface](https://msdn.microsoft.com/library/733c0dd2-12e5-46e6-8de1-39d5b25df024) topics. + For additional information, see the [COM Callable Wrapper](~/docs/framework/interop/com-callable-wrapper.md) and [Runtime Callable Wrapper](~/docs/framework/interop/runtime-callable-wrapper.md) articles. ]]> @@ -3021,7 +3021,7 @@ ## Remarks The zero-based slot number returned by this method accounts for three [IUnknown](https://go.microsoft.com/fwlink/?LinkId=148003) and possibly four [IDispatch](https://msdn.microsoft.com/library/ebbff4bc-36b2-4861-9efa-ffa45e013eb5) methods, making the value of the first available slot either 3 or 7. provides the opposite functionality of . - You can use this method to retrieve slot numbers for members of interfaces that are not visible from COM and for members of private interfaces. The slot numbers returned correspond to the v-table numbers that would be reserved if the type was exposed to COM. COM-invisible members actually occupy a slot in an exposed v-table, even though the COM client cannot use the slot. You cannot use on a class interface by passing from a class. For additional information, see [Introducing the Class Interface](https://msdn.microsoft.com/library/733c0dd2-12e5-46e6-8de1-39d5b25df024). + You can use this method to retrieve slot numbers for members of interfaces that are not visible from COM and for members of private interfaces. The slot numbers returned correspond to the v-table numbers that would be reserved if the type was exposed to COM. COM-invisible members actually occupy a slot in an exposed v-table, even though the COM client cannot use the slot. You cannot use on a class interface by passing from a class. For additional information, see [Introducing the class interface](~/docs/framework/interop/com-callable-wrapper.md#introducing-the-class-interface). ]]> @@ -3234,7 +3234,7 @@ and in conjunction with to pass slots within a specified range. For additional information, see [Introducing the Class Interface](https://msdn.microsoft.com/library/733c0dd2-12e5-46e6-8de1-39d5b25df024). + This method returns the zero-based, v-table number for an interface or a class. When used on a class, the slot number returned refers to the class interface for the class. If the class interface is auto-dispatch, this method always returns -1 to indicate that the dispatch-only interface does not expose a v-table to managed clients. You can use and in conjunction with to pass slots within a specified range. For additional information, see [Introducing the class interface](~/docs/framework/interop/com-callable-wrapper.md#introducing-the-class-interface). ]]> @@ -4828,7 +4828,7 @@ There is a difference in the behavior of the `GetLastWin32Error` method on .NET and in conjunction with to pass slots within a specified range. For additional information, see [Introducing the Class Interface](https://msdn.microsoft.com/library/733c0dd2-12e5-46e6-8de1-39d5b25df024). + This method returns the zero-based v-table number for an interface or a class. When used on a class, the slot number that is returned refers to the class interface for the class. If the class interface is auto-dispatch, this method always returns -1 to indicate that the dispatch-only interface does not expose a v-table to managed clients. You can use and in conjunction with to pass slots within a specified range. For additional information, see [Introducing the class interface](~/docs/framework/interop/com-callable-wrapper.md#introducing-the-class-interface). ]]>