9 references to GetOrCreateComInterfaceForObject
PresentationFramework (1)
MS\Internal\WindowsRuntime\Generated\WinRT\ComWrappersSupport.net5.cs (1)
35
IntPtr ccw = ComWrappers.
GetOrCreateComInterfaceForObject
(obj, CreateComInterfaceFlags.TrackerSupport);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComWrappers.cs (2)
10
/// Enumeration of flags for <see cref="ComWrappers.
GetOrCreateComInterfaceForObject
(object, CreateComInterfaceFlags)"/>.
114
/// the call to <see cref="
GetOrCreateComInterfaceForObject
(object, CreateComInterfaceFlags)"/> will throw a <see cref="ArgumentException"/>.
System.Private.Windows.Core (1)
Windows\Win32\System\Com\ComHelpers.cs (1)
92
ccw = (IUnknown*)WinFormsComWrappers.Instance.
GetOrCreateComInterfaceForObject
(@object, CreateComInterfaceFlags.None);
System.Runtime.InteropServices (5)
System\Runtime\InteropServices\Marshalling\ComInterfaceMarshaller.cs (1)
39
unknown = StrategyBasedComWrappers.DefaultMarshallingInstance.
GetOrCreateComInterfaceForObject
(managed, CreateComInterfaceFlags.None);
System\Runtime\InteropServices\Marshalling\ComVariantMarshaller.cs (3)
100
variant = ComVariant.CreateRaw(VarEnum.VT_UNKNOWN, StrategyBasedComWrappers.DefaultMarshallingInstance.
GetOrCreateComInterfaceForObject
(wrapped, CreateComInterfaceFlags.None));
105
variant = ComVariant.CreateRaw(VarEnum.VT_UNKNOWN, StrategyBasedComWrappers.DefaultMarshallingInstance.
GetOrCreateComInterfaceForObject
(managed, CreateComInterfaceFlags.None));
327
*(IntPtr*)_unmanaged.GetRawDataRef<nint>() = StrategyBasedComWrappers.DefaultMarshallingInstance.
GetOrCreateComInterfaceForObject
(unkObj, CreateComInterfaceFlags.None);
System\Runtime\InteropServices\Marshalling\UniqueComInterfaceMarshaller.cs (1)
38
unknown = StrategyBasedComWrappers.DefaultMarshallingInstance.
GetOrCreateComInterfaceForObject
(managed, CreateComInterfaceFlags.None);