4 types derived from ComWrappers
PresentationFramework (1)
System.Private.Windows.Core (1)
System.Runtime.InteropServices (1)
System.Windows.Forms.Tests (1)
65 references to ComWrappers
PresentationFramework (3)
System.ComponentModel.TypeConverter (1)
System.Private.CoreLib (34)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (21)
69/// Associates a managed object with the <see cref="ManagedObjectWrapperHolder"/> that was created for it by this <see cref="ComWrappers" /> instance.
74internal static bool TryGetComInstanceForIID(object obj, Guid iid, out IntPtr unknown, out ComWrappers? comWrappers)
493public IntPtr ComIp => _wrapper->As(in ComWrappers.IID_IUnknown);
543private ComWrappers _comWrappers;
562ComWrappers comWrappers,
586protected NativeObjectWrapper(IntPtr externalComObject, IntPtr inner, ComWrappers comWrappers, object comProxy, CreateObjectFlags flags)
614internal ComWrappers ComWrappers => _comWrappers;
675ComWrappers comWrappers,
742private static ComWrappers? s_globalInstanceForTrackerSupport;
744internal static ComWrappers? GlobalInstanceForTrackerSupport => s_globalInstanceForTrackerSupport;
749private static ComWrappers? s_globalInstanceForMarshalling;
751internal static object? GetOrCreateObjectFromWrapper(ComWrappers wrapper, IntPtr externalComObject)
779/// this <see cref="ComWrappers" /> instance, the previously created COM interface will be returned.
909/// using this <see cref="ComWrappers" /> instance, the previously created object will be returned.
930/// using this <see cref="ComWrappers" /> instance, the previously created object will be returned.
1398/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for reference tracker support.
1408public static void RegisterForTrackerSupport(ComWrappers instance)
1419/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for marshalling in the runtime.
1432public static void RegisterForMarshalling(ComWrappers instance)
1566if (context is not ComWrappers comWrappers)
1603out ComWrappers? wrapper))
System.Private.Windows.Core (10)
System.Runtime.InteropServices (15)
System.Windows.Forms (1)
System.Windows.Forms.Tests (1)