16 references to GetComInterfaceForObject
mscorlib (8)
system\reflection\assembly.cs (1)
1206
ppv = Marshal.
GetComInterfaceForObject
(this, typeof(_Assembly));
system\runtime\interopservices\marshal.cs (1)
1758
return
GetComInterfaceForObject
(o, typeof(TInterface));
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1211
return Marshal.
GetComInterfaceForObject
(activationFactory, typeof(IActivationFactory));
system\runtime\interopservices\windowsruntime\winrtclassactivator.cs (1)
65
return Marshal.
GetComInterfaceForObject
(this, typeof(IWinRTClassActivator));
system\stubhelpers.cs (4)
706
newItemsIP = Marshal.
GetComInterfaceForObject
(newItems, typeof(IBindableVector));
708
oldItemsIP = Marshal.
GetComInterfaceForObject
(oldItems, typeof(IBindableVector));
1347
return Marshal.
GetComInterfaceForObject
(impl, typeof(IReference<T>));
1539
return Marshal.
GetComInterfaceForObject
(impl, typeof(IKeyValuePair<K, V>));
PresentationCore (5)
Core\CSharp\System\Windows\DataObject.cs (1)
845
medium.unionmember = Marshal.
GetComInterfaceForObject
(istream, typeof(IStream));
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (3)
267
pIEnumMetadata = Marshal.
GetComInterfaceForObject
(
784
blockWriter = Marshal.
GetComInterfaceForObject
(
838
blockWriter = Marshal.
GetComInterfaceForObject
(
Core\CSharp\System\Windows\Media\Imaging\BitmapSource.cs (1)
635
_wicSource = new BitmapSourceSafeMILHandle(Marshal.
GetComInterfaceForObject
(
System.Data (1)
fx\src\data\System\Data\OleDb\OleDbWrapper.cs (1)
35
base.handle = Marshal.
GetComInterfaceForObject
(unknown, typeof(UnsafeNativeMethods.IDataInitialize)); //
System.Windows.Forms (2)
winforms\Managed\System\WinForms\AccessibleObject.cs (2)
922
ppvObject = Marshal.
GetComInterfaceForObject
(this, typeof(UnsafeNativeMethods.IAccessibleEx));
3338
ppvObject = Marshal.
GetComInterfaceForObject
(this, typeof(UnsafeNativeMethods.IAccessibleEx));