89 references to new
System.Private.Windows.Core (20)
System\Private\Windows\Ole\ClipboardCore.cs (1)
182
proxyDataObject =
new
(null);
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
677
using ComScope<Com.IEnumFORMATETC> enumFORMATETC =
new
(null);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (2)
46
using ComScope<Com.IEnumSTATDATA> nativeStatData =
new
(null);
55
using ComScope<Com.IEnumFORMATETC> nativeFormat =
new
(null);
System\Private\Windows\Ole\DragDropHelper.cs (5)
69
using ComScope<IDropTargetHelper> dropTargetHelper =
new
(null);
84
using ComScope<IDropTargetHelper> dropTargetHelper =
new
(null);
99
using ComScope<IDropTargetHelper> dropTargetHelper =
new
(null);
115
using ComScope<IDropTargetHelper> dropTargetHelper =
new
(null);
261
using ComScope<IDragSourceHelper2> dragSourceHelper =
new
(null);
Windows\Win32\System\Com\ComHelpers.cs (6)
29
new
(GetComPointer<T>(@object));
41
new
(TryGetComPointer<T>(@object, out hr));
258
using ComScope<ComUnknown> unknown =
new
(null);
267
using ComScope<ComUnknown> ccw =
new
((ComUnknown*)(void*)Marshal.GetIUnknownForObject(@object));
355
using ComScope<ITypeLib> typelib =
new
(null);
359
ComScope<ITypeInfo> typeInfo =
new
(null);
Windows\Win32\System\Com\ComScope.cs (4)
62
ComScope<TTo> scope =
new
(null);
72
ComScope<TTo> scope =
new
(null);
82
ComScope<T> scope =
new
(null);
97
ComScope<T> scope =
new
(null);
Windows\Win32\System\Com\GlobalInterfaceTable.cs (1)
54
ComScope<TInterface> @interface =
new
(null);
System.Private.Windows.GdiPlus (5)
System\Drawing\IIconExtensions.cs (1)
43
ComScope<IPicture> picture =
new
(null);
Windows\Win32\Graphics\GdiPlus\GpImageExtensions.cs (2)
54
ComScope<IPictureDisp> picture =
new
(null);
69
ComScope<IPicture> picture =
new
(null);
Windows\Win32\System\Ole\IPicture.cs (2)
22
ComScope<IPicture> picture =
new
(null);
37
ComScope<IPicture> picture =
new
(null);
System.Windows.Forms (59)
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
1834
ComScope<IDispatch> child =
new
(null);
2241
ComScope<IDispatch> dispatch =
new
(null);
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
665
using ComScope<IOleClientSite> clientSite =
new
(null);
System\Windows\Forms\ActiveX\AxHost.cs (5)
2217
using ComScope<IClassFactory2> factory =
new
(null);
2256
using ComScope<IUnknown> unknown =
new
(null);
2272
using ComScope<IClassFactory2> factory =
new
(null);
2283
using ComScope<IUnknown> unknown =
new
(null);
3759
using ComScope<IDispatch> dispatch =
new
((IDispatch*)Marshal.GetIDispatchForObject(oleFont));
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (3)
999
using ComScope<IStream> stream =
new
(null);
1421
using ComScope<IConnectionPoint> connectionPoint =
new
(null);
1460
using ComScope<IStream> stream =
new
(null);
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (1)
40
using ComScope<IOleContainer> container =
new
(null);
System\Windows\Forms\Application.ComponentThreadContext.cs (3)
90
using ComScope<ComIMessageFilter> messageFilter =
new
(null);
110
using ComScope<IUnknown> serviceHandle =
new
(null);
243
using ComScope<IMsoComponent> component =
new
(null);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PictureConverter.cs (1)
120
using ComScope<IPicture> picture =
new
(null);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
878
using ComScope<IErrorInfo> errorInfo =
new
(null);
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (1)
350
using ComScope<ITypeInfo> refTypeInfo =
new
(null);
System\Windows\Forms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
83
using ComScope<ITypeInfo> typeInfo =
new
(Com2TypeInfoProcessor.FindTypeInfo(component, preferIProvideClassInfo: true));
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (1)
38
using ComScope<ILockBytes> pLockBytes =
new
(null);
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (3)
1646
using ComScope<IRichEditOle> richEdit =
new
(null);
1670
using ComScope<ITextRange> windowTextRange =
new
(null);
1687
using ComScope<ITextRange> selectionTextRange =
new
(null);
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (3)
144
using ComScope<IHTMLLocation> htmlLocation =
new
(null);
480
using ComScope<IDispatch> dispatch =
new
(null);
505
using ComScope<IDispatch> scriptDispatch =
new
(null);
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (7)
64
using ComScope<IDispatch> dispatch =
new
(null);
78
using ComScope<IDispatch> dispatch =
new
(null);
121
using ComScope<IDispatch> dispatch =
new
(null);
173
using ComScope<IHTMLDOMNode> child =
new
(null);
289
using ComScope<IHTMLDOMNode> sibling =
new
(null);
459
using ComScope<IHTMLStyle> style =
new
(null);
468
using ComScope<IHTMLStyle> style =
new
(null);
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (2)
57
using ComScope<IDispatch> dispatch =
new
(null);
77
using ComScope<IDispatch> dispatch =
new
(null);
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (6)
74
using ComScope<IHTMLDocument2> htmlDoc2 =
new
(null);
148
using ComScope<IDispatch> dispatch =
new
(variantDispatch.data.pdispVal);
188
using ComScope<IHTMLDocument2> htmlDoc2 =
new
(null);
190
using ComScope<IHTMLElement> bodyElement =
new
(null);
227
using ComScope<IHTMLLocation> location =
new
(null);
246
using ComScope<IHTMLFrameBase> htmlFrameBase =
new
(null);
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (2)
42
using ComScope<IDispatch> dispatch =
new
(variantDispatch.data.pdispVal);
61
using ComScope<IDispatch> dispatch =
new
(variantDispatch.data.pdispVal);
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
220
using ComScope<IDispatch> dispatch =
new
(null);
228
using ComScope<IHTMLLocation> htmlLocation =
new
(null);
System\Windows\Forms\Dialogs\CommonDialogs\FileDialog.Vista.cs (1)
64
using ComScope<IShellItem> initialDirectory =
new
(PInvoke.SHCreateShellItem(InitialDirectory));
System\Windows\Forms\Dialogs\CommonDialogs\FolderBrowserDialog.cs (5)
345
using ComScope<IFileDialogCustomize> customize =
new
(null);
357
using ComScope<IShellItem> initialDirectory =
new
(PInvoke.SHCreateShellItem(_initialDirectory));
406
using ComScope<IShellItemArray> itemArray =
new
(null);
412
using ComScope<IShellItem> item =
new
(null);
426
using ComScope<IShellItem> item =
new
(null);
System\Windows\Forms\Dialogs\CommonDialogs\OpenFileDialog.cs (4)
139
using ComScope<IShellItem> item =
new
(null);
146
using ComScope<IShellItemArray> items =
new
(null);
158
using ComScope<IShellItem> item =
new
(null);
175
return
new
(fileDialog);
System\Windows\Forms\Dialogs\CommonDialogs\SaveFileDialog.cs (2)
159
using ComScope<IShellItem> item =
new
(null);
173
return
new
(fileDialog);
System\Windows\Forms\Input\Cursor.cs (2)
405
using ComScope<IPicture> picture =
new
(null);
408
using ComScope<IPersistStream> persist =
new
(null);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\MultilineStringEditor.OleCallback.cs (1)
30
using ComScope<ILockBytes> pLockBytes =
new
(null);
System.Windows.Forms.Primitives (4)
System\Windows\Forms\FileDialogCustomPlacesCollection.cs (1)
15
using ComScope<IShellItem> shellItem =
new
(customPlace.GetNativePath());
Windows\Win32\System\Com\ComSafeArrayScope.cs (1)
54
using ComScope<IUnknown> unknown =
new
((IUnknown*)_value[i]);
Windows\Win32\System\Com\StandardDispatch.cs (2)
130
using ComScope<T> @interface =
new
(ComHelpers.GetComPointer<T>(_instance));
187
using ComScope<T> @interface =
new
(ComHelpers.GetComPointer<T>(_instance));