1 type derived from AgileComPointer
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.ConnectionPointCookie.cs (1)
95
private sealed class ConnectionHandle :
AgileComPointer
<IConnectionPoint>
11 instantiations of AgileComPointer
System.Private.Windows.Core (2)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
37
_nativeDataObject =
new
(dataObject, takeOwnership: true, trackDisposal: false);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (1)
21
_nativeDataObject =
new
(dataObject, takeOwnership: true, trackDisposal: false);
System.Windows.Forms (9)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
645
:
new
(pActiveObject, takeOwnership: false);
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
184
_lockBytes =
new
(lockBytes, takeOwnership: true);
185
_storage =
new
(storage, takeOwnership: true);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
303
_adviseHolder =
new
(holder, takeOwnership: true);
848
_inPlaceFrame = pFrame is null ? null :
new
(pFrame, takeOwnership: true);
849
_inPlaceUiWindow = pWindow is null ? null :
new
(pWindow, takeOwnership: true);
1643
_clientSite =
new
(value, takeOwnership: true);
System\Windows\Forms\Controls\WebBrowser\HtmlHistory.cs (1)
16
_htmlHistory =
new
(history, takeOwnership: true);
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (1)
1138
_axIWebBrowser2 =
new
(ComHelpers.GetComPointer<IWebBrowser2>(nativeActiveXObject), takeOwnership: true);
72 references to AgileComPointer
System.Private.Windows.Core (7)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
32
private readonly
AgileComPointer
<Com.IDataObject> _nativeDataObject;
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (1)
16
private readonly
AgileComPointer
<Com.IDataObject> _nativeDataObject;
Windows\Win32\System\Com\AgileComPointer.cs (5)
34
/// Creates an <see cref="
AgileComPointer
{TInterface}"/> for the given <paramref name="interface"/>.
96
/// <see cref="
AgileComPointer
{TInterface}"/> was created from.
98
public bool IsSameNativeObject(
AgileComPointer
<TInterface> other)
111
/// <inheritdoc cref="IsSameNativeObject(
AgileComPointer
{TInterface})"/>
158
/// this <see cref="
AgileComPointer
{TInterface}"/> was created from.
System.Windows.Forms (64)
System\Windows\Forms\Accessibility\AccessibleObject.cs (5)
105
internal
AgileComPointer
<UIA.IAccessible>? SystemIAccessible { get; private set; }
112
private
AgileComPointer
<IEnumVARIANT>? _systemIEnumVariant;
116
private
AgileComPointer
<IOleWindow>? _systemIOleWindow;
131
private AccessibleObject(
AgileComPointer
<UIA.IAccessible> accessible)
2886
AgileComPointer
<UIA.IAccessible> agileAccessible =
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (26)
12
public static ComScope<IAccessible> TryGetIAccessible(this
AgileComPointer
<IAccessible>? agile, out HRESULT result)
23
public static Rectangle TryGetLocation(this
AgileComPointer
<IAccessible>? agile, int child)
26
public static Rectangle TryGetLocation(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
48
public static BSTR TryGetDefaultAction(this
AgileComPointer
<IAccessible>? agile, int child)
51
public static BSTR TryGetDefaultAction(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
68
public static void TryDoDefaultAction(this
AgileComPointer
<IAccessible>? agile, int child)
71
public static void TryDoDefaultAction(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
82
public static BSTR TryGetDescription(this
AgileComPointer
<IAccessible>? agile, int child) =>
85
public static BSTR TryGetDescription(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
102
public static BSTR TryGetHelp(this
AgileComPointer
<IAccessible>? agile, int child)
105
public static BSTR TryGetHelp(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
122
public static BSTR TryGetKeyboardShortcut(this
AgileComPointer
<IAccessible>? agile, int child)
125
public static BSTR TryGetKeyboardShortcut(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
142
public static BSTR TryGetName(this
AgileComPointer
<IAccessible>? agile, int child)
145
public static BSTR TryGetName(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
160
public static void TrySetName(this
AgileComPointer
<IAccessible>? agile, VARIANT child, BSTR name)
181
public static AccessibleRole TryGetRole(this
AgileComPointer
<IAccessible>? agile, int child)
184
public static AccessibleRole TryGetRole(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
200
public static AccessibleStates TryGetState(this
AgileComPointer
<IAccessible>? agile, int child)
203
public static AccessibleStates TryGetState(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
221
public static BSTR TryGetValue(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
238
public static void TrySetValue(this
AgileComPointer
<IAccessible>? agile, VARIANT child, BSTR value)
258
public static (int topic, BSTR helpFile) TryGetHelpTopic(this
AgileComPointer
<IAccessible>? agile, VARIANT child)
275
public static void TrySelect(this
AgileComPointer
<IAccessible>? agile, AccessibleSelection flags, int child)
278
public static void TrySelect(this
AgileComPointer
<IAccessible>? agile, AccessibleSelection flags, VARIANT child)
289
public static int TryGetChildCount(this
AgileComPointer
<IAccessible>? agile)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (1)
642
var
existing = activeHost._iOleInPlaceActiveObjectExternal;
System\Windows\Forms\ActiveX\AxHost.cs (1)
135
private
AgileComPointer
<IOleInPlaceActiveObject>? _iOleInPlaceActiveObjectExternal;
System\Windows\Forms\ActiveX\AxHost.State.cs (2)
30
private
AgileComPointer
<IStorage>? _storage;
32
private
AgileComPointer
<ILockBytes>? _lockBytes;
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (4)
128
private
AgileComPointer
<IOleClientSite>? _clientSite;
129
private
AgileComPointer
<IOleInPlaceUIWindow>? _inPlaceUiWindow;
130
private
AgileComPointer
<IOleInPlaceFrame>? _inPlaceFrame;
131
private
AgileComPointer
<IOleAdviseHolder>? _adviseHolder;
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (2)
14
private readonly
AgileComPointer
<IOleClientSite> _clientSite;
18
internal AxSourcingSite(IComponent component,
AgileComPointer
<IOleClientSite> clientSite, string? name)
System\Windows\Forms\Application.ComponentManager.cs (6)
27
public
AgileComPointer
<IMsoComponent> component;
33
private
AgileComPointer
<IMsoComponent>? _activeComponent;
34
private
AgileComPointer
<IMsoComponent>? _trackingComponent;
218
AgileComPointer
<IMsoComponent>? prevActive = _activeComponent;
223
AgileComPointer
<IMsoComponent>? requestingComponent = entry.component;
358
AgileComPointer
<IMsoComponent>? component = dwgac switch
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
78
private
AgileComPointer
<IAccessible>? SystemIAccessibleInternal
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.cs (2)
25
private readonly
AgileComPointer
<IHTMLDocument2> _htmlDocument2;
45
internal
AgileComPointer
<IHTMLDocument2> NativeHtmlDocument2 => _htmlDocument2;
System\Windows\Forms\Controls\WebBrowser\HtmlDocument.HtmlDocumentShim.cs (1)
25
private readonly
AgileComPointer
<IHTMLWindow2>? _associatedWindow;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.cs (2)
34
private readonly
AgileComPointer
<IHTMLElement> _htmlElement;
267
internal
AgileComPointer
<IHTMLElement> NativeHtmlElement => _htmlElement;
System\Windows\Forms\Controls\WebBrowser\HtmlElement.HtmlElementShim.cs (1)
46
private readonly
AgileComPointer
<IHTMLWindow2>? _associatedWindow;
System\Windows\Forms\Controls\WebBrowser\HtmlElementCollection.cs (2)
13
private readonly
AgileComPointer
<IHTMLElementCollection>? _htmlElementCollection;
44
private
AgileComPointer
<IHTMLElementCollection>? NativeHtmlElementCollection => _htmlElementCollection;
System\Windows\Forms\Controls\WebBrowser\HtmlHistory.cs (2)
11
private
AgileComPointer
<IOmHistory> _htmlHistory;
20
private
AgileComPointer
<IOmHistory> NativeOmHistory
System\Windows\Forms\Controls\WebBrowser\HtmlWindow.cs (2)
22
private readonly
AgileComPointer
<IHTMLWindow2> _htmlWindow2;
39
internal
AgileComPointer
<IHTMLWindow2> NativeHtmlWindow => _htmlWindow2;
System\Windows\Forms\Controls\WebBrowser\HtmlWindowCollection.cs (2)
14
private readonly
AgileComPointer
<IHTMLFramesCollection2> _htmlFramesCollection2;
29
private
AgileComPointer
<IHTMLFramesCollection2> NativeHTMLFramesCollection2 => _htmlFramesCollection2;
System\Windows\Forms\Controls\WebBrowser\WebBrowser.cs (2)
29
private
AgileComPointer
<IWebBrowser2>? _axIWebBrowser2;
1387
private
AgileComPointer
<IWebBrowser2> AxIWebBrowser2
System.Windows.Forms.Primitives (1)
Microsoft\Office\IMsoComponentManager.NativeAdapter.cs (1)
12
private
AgileComPointer
<IMsoComponentManager>? _manager;