4 types derived from ComWrappers
PresentationFramework (1)
System.Private.Windows.Core (1)
System.Runtime.InteropServices (1)
System.Windows.Forms.Tests (1)
50 references to ComWrappers
PresentationFramework (3)
System.ComponentModel.TypeConverter (1)
System.Private.CoreLib (21)
src\System\Runtime\InteropServices\ComWrappers.cs (19)
29/// Given a managed object, determine if it is a <see cref="ComWrappers" />-created
58/// Given a COM object, determine if it is a <see cref="ComWrappers" />-created
109private static ComWrappers? s_globalInstanceForTrackerSupport;
114private static ComWrappers? s_globalInstanceForMarshalling;
127/// this <see cref="ComWrappers" /> instance, the previously created COM interface will be returned.
142/// <param name="impl">The <see cref="ComWrappers" /> implementation to use when creating the COM representation.</param>
150private static bool TryGetOrCreateComInterfaceForObjectInternal(ComWrappers impl, object instance, CreateComInterfaceFlags flags, out IntPtr retValue)
162internal static unsafe void* CallComputeVtables(ComWrappersScenario scenario, ComWrappers? comWrappersImpl, object obj, CreateComInterfaceFlags flags, out int count)
164ComWrappers? impl = null;
195/// using this <see cref="ComWrappers" /> instance, the previously created object will be returned.
208internal static object? CallCreateObject(ComWrappersScenario scenario, ComWrappers? comWrappersImpl, IntPtr externalComObject, CreateObjectFlags flags)
210ComWrappers? impl = null;
275/// <param name="impl">The <see cref="ComWrappers" /> implementation to use when creating the managed object.</param>
286ComWrappers impl,
309internal static void CallReleaseObjects(ComWrappers? comWrappersImpl, IEnumerable objects)
313/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for reference tracker support.
323public static void RegisterForTrackerSupport(ComWrappers instance)
341/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for marshalling in the runtime.
354public static void RegisterForMarshalling(ComWrappers instance)
System.Private.Windows.Core (9)
System.Runtime.InteropServices (14)
System.Windows.Forms (1)
System.Windows.Forms.Tests (1)