4 types derived from ComWrappers
PresentationFramework (1)
System.Private.Windows.Core (1)
System.Runtime.InteropServices (1)
System.Windows.Forms.Tests (1)
66 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)
500public IntPtr ComIp => _wrapper->As(in ComWrappers.IID_IUnknown);
552private ComWrappers _comWrappers;
571ComWrappers comWrappers,
595protected NativeObjectWrapper(IntPtr externalComObject, IntPtr inner, ComWrappers comWrappers, object comProxy, CreateObjectFlags flags)
623internal ComWrappers ComWrappers => _comWrappers;
684ComWrappers comWrappers,
751private static ComWrappers? s_globalInstanceForTrackerSupport;
753internal static ComWrappers? GlobalInstanceForTrackerSupport => s_globalInstanceForTrackerSupport;
758private static ComWrappers? s_globalInstanceForMarshalling;
760internal static object? GetOrCreateObjectFromWrapper(ComWrappers wrapper, IntPtr externalComObject)
788/// this <see cref="ComWrappers" /> instance, the previously created COM interface will be returned.
919/// using this <see cref="ComWrappers" /> instance, the previously created object will be returned.
940/// using this <see cref="ComWrappers" /> instance, the previously created object will be returned.
1458/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for reference tracker support.
1468public static void RegisterForTrackerSupport(ComWrappers instance)
1479/// Register a <see cref="ComWrappers" /> instance to be used as the global instance for marshalling in the runtime.
1492public static void RegisterForMarshalling(ComWrappers instance)
1627if (context is not ComWrappers comWrappers)
1664out ComWrappers? wrapper))
System.Private.Windows.Core (11)
System.Runtime.InteropServices (15)
System.Windows.Forms (1)
System.Windows.Forms.Tests (1)