8 references to ComHelpers
System.Private.Windows.Core (7)
System\IO\StreamExtensions.cs (1)
18
return
ComHelpers
.GetComScope<IStream>(new ComManagedStream(stream, makeSeekable));
Windows\Win32\System\Com\AgileComPointer.cs (1)
123
return
ComHelpers
.GetObjectForIUnknown(scope);
Windows\Win32\System\Com\ComManagedStream.cs (1)
53
*ppstm =
ComHelpers
.GetComPointer<IStream>(
Windows\Win32\System\Ole\IPictureDisp.cs (1)
14
return (Interface)
ComHelpers
.GetObjectForIUnknown(picture);
Windows\Win32\System\Variant\VARIANT.cs (3)
171
return
ComHelpers
.GetObjectForIUnknown(pInterface);
394
result[i] = data[i] == IntPtr.Zero ? null :
ComHelpers
.GetObjectForIUnknown((IUnknown*)data[i]);
604
SetValue(array,
ComHelpers
.GetObjectForIUnknown((IUnknown*)data), indices, lowerBounds);
System.Windows.Forms (1)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedBrowsingHandler.cs (1)
13
/// Simple <see cref="
ComHelpers
"/> wrapper for convenience and ensuring the right interface is used.