297 references to IAccessible
System.Windows.Forms (87)
System\Windows\Forms\Accessibility\AccessibleObject.cs (59)
26UIA.IAccessible.Interface, 57UIA.IAccessible, 102/// The <see cref="UIA.IAccessible"/> as passed in or generated from requesting the standard implementation 103/// from Windows. Used for default <see cref="UIA.IAccessible"/> behavior. 105internal AgileComPointer<UIA.IAccessible>? SystemIAccessible { get; private set; } 131private AccessibleObject(AgileComPointer<UIA.IAccessible> accessible) 403/// Mechanism for overriding default <see cref="UIA.IAccessible.accNavigate(int, VARIANT, VARIANT*)"/> 918HRESULT IAccessibleEx.Interface.GetIAccessiblePair(UIA.IAccessible** ppAcc, int* pidChild) 931*ppAcc = ComHelpers.GetComPointer<UIA.IAccessible>(this); 1147HRESULT ILegacyIAccessibleProvider.Interface.GetIAccessible(UIA.IAccessible** ppAccessible) 1167*ppAccessible = (UIA.IAccessible*)Marshal.GetComInterfaceForObject<AccessibleObject, IAccessible>(this); 1572((UIA.IAccessible.Interface)this).accDoDefaultAction(ChildIdToVARIANT(childID)); 1574HRESULT UIA.IAccessible.Interface.accDoDefaultAction(VARIANT varChild) 1631((UIA.IAccessible.Interface)this).accHitTest(xLeft, yTop, &result); 1635HRESULT UIA.IAccessible.Interface.accHitTest(int xLeft, int yTop, VARIANT* pvarChild) 1685HRESULT UIA.IAccessible.Interface.accLocation(int* pxLeft, int* pyTop, int* pcxWidth, int* pcyHeight, VARIANT varChild) 1733((UIA.IAccessible.Interface)this).accNavigate(navDir, ChildIdToVARIANT(childID), &result).AssertSuccess(); 1737HRESULT UIA.IAccessible.Interface.accNavigate(int navDir, VARIANT varStart, VARIANT* pvarEndUpAt) 1786((UIA.IAccessible.Interface)this).accSelect(flagsSelect, ChildIdToVARIANT(childID)); 1788HRESULT UIA.IAccessible.Interface.accSelect(int flagsSelect, VARIANT varChild) 1835((UIA.IAccessible.Interface)this).get_accChild(ChildIdToVARIANT(childID), child); 1839HRESULT UIA.IAccessible.Interface.get_accChild(VARIANT varChild, IDispatch** ppdispChild) 1897((UIA.IAccessible.Interface)this).get_accChildCount(&childCount); 1902HRESULT UIA.IAccessible.Interface.get_accChildCount(int* pcountChildren) 1918using ComScope<UIA.IAccessible> accessible = SystemIAccessible.TryGetIAccessible(out HRESULT result); 1935((UIA.IAccessible.Interface)this).get_accDefaultAction(ChildIdToVARIANT(childID), &result); 1939HRESULT UIA.IAccessible.Interface.get_accDefaultAction(VARIANT varChild, BSTR* pszDefaultAction) 1975((UIA.IAccessible.Interface)this).get_accDescription(ChildIdToVARIANT(childID), &description); 1979HRESULT UIA.IAccessible.Interface.get_accDescription(VARIANT varChild, BSTR* pszDescription) 2053HRESULT UIA.IAccessible.Interface.get_accFocus(VARIANT* pvarChild) 2067((UIA.IAccessible.Interface)this).get_accHelp(ChildIdToVARIANT(childID), &result); 2071HRESULT UIA.IAccessible.Interface.get_accHelp(VARIANT varChild, BSTR* pszHelp) 2107((UIA.IAccessible.Interface)this).get_accHelpTopic(&helpFile, ChildIdToVARIANT(childID), &topic).AssertSuccess(); 2112HRESULT UIA.IAccessible.Interface.get_accHelpTopic(BSTR* pszHelpFile, VARIANT varChild, int* pidTopic) 2157((UIA.IAccessible.Interface)this).get_accKeyboardShortcut(ChildIdToVARIANT(childID), &shortcut).AssertSuccess(); 2161HRESULT UIA.IAccessible.Interface.get_accKeyboardShortcut(VARIANT varChild, BSTR* pszKeyboardShortcut) 2191((UIA.IAccessible.Interface)this).get_accName(ChildIdToVARIANT(childID), &name).AssertSuccess(); 2195HRESULT UIA.IAccessible.Interface.get_accName(VARIANT varChild, BSTR* pszName) 2242((UIA.IAccessible.Interface)this).get_accParent(dispatch).AssertSuccess(); 2247HRESULT UIA.IAccessible.Interface.get_accParent(IDispatch** ppdispParent) 2282((UIA.IAccessible.Interface)this).get_accRole(ChildIdToVARIANT(childID), &result); 2286HRESULT UIA.IAccessible.Interface.get_accRole(VARIANT varChild, VARIANT* pvarRole) 2323((UIA.IAccessible.Interface)this).get_accSelection(&result); 2328HRESULT UIA.IAccessible.Interface.get_accSelection(VARIANT* pvarChildren) 2358((UIA.IAccessible.Interface)this).get_accState(ChildIdToVARIANT(childID), &result).AssertSuccess(); 2362HRESULT UIA.IAccessible.Interface.get_accState(VARIANT varChild, VARIANT* pvarState) 2395((UIA.IAccessible.Interface)this).get_accValue(ChildIdToVARIANT(childID), &value); 2399HRESULT UIA.IAccessible.Interface.get_accValue(VARIANT varChild, BSTR* pszValue) 2433((UIA.IAccessible.Interface)this).put_accName(ChildIdToVARIANT(childID), new(newName)); 2435HRESULT UIA.IAccessible.Interface.put_accName(VARIANT varChild, BSTR szName) 2473((UIA.IAccessible.Interface)this).put_accValue(ChildIdToVARIANT(childID), new(newValue)); 2475HRESULT UIA.IAccessible.Interface.put_accValue(VARIANT varChild, BSTR szValue) 2727UIA.IAccessible* accessible = null; 2731IID.Get<UIA.IAccessible>(), 2782/// Called prior to calling <see cref="UIA.IAccessible.get_accName(VARIANT, BSTR*)"/> on the 'inner' system 2867UIA.IAccessible* accessible; 2868if (dispatch->QueryInterface(IID.Get<UIA.IAccessible>(), (void**)&accessible).Failed) 2879private AccessibleObject? TryGetAccessibleObject(UIA.IAccessible* accessible) 2886AgileComPointer<UIA.IAccessible> agileAccessible =
System\Windows\Forms\Accessibility\AccessibleObjectExtensions.cs (27)
12public static ComScope<IAccessible> TryGetIAccessible(this AgileComPointer<IAccessible>? agile, out HRESULT result) 23public static Rectangle TryGetLocation(this AgileComPointer<IAccessible>? agile, int child) 26public static Rectangle TryGetLocation(this AgileComPointer<IAccessible>? agile, VARIANT child) 48public static BSTR TryGetDefaultAction(this AgileComPointer<IAccessible>? agile, int child) 51public static BSTR TryGetDefaultAction(this AgileComPointer<IAccessible>? agile, VARIANT child) 68public static void TryDoDefaultAction(this AgileComPointer<IAccessible>? agile, int child) 71public static void TryDoDefaultAction(this AgileComPointer<IAccessible>? agile, VARIANT child) 82public static BSTR TryGetDescription(this AgileComPointer<IAccessible>? agile, int child) => 85public static BSTR TryGetDescription(this AgileComPointer<IAccessible>? agile, VARIANT child) 102public static BSTR TryGetHelp(this AgileComPointer<IAccessible>? agile, int child) 105public static BSTR TryGetHelp(this AgileComPointer<IAccessible>? agile, VARIANT child) 122public static BSTR TryGetKeyboardShortcut(this AgileComPointer<IAccessible>? agile, int child) 125public static BSTR TryGetKeyboardShortcut(this AgileComPointer<IAccessible>? agile, VARIANT child) 142public static BSTR TryGetName(this AgileComPointer<IAccessible>? agile, int child) 145public static BSTR TryGetName(this AgileComPointer<IAccessible>? agile, VARIANT child) 160public static void TrySetName(this AgileComPointer<IAccessible>? agile, VARIANT child, BSTR name) 181public static AccessibleRole TryGetRole(this AgileComPointer<IAccessible>? agile, int child) 184public static AccessibleRole TryGetRole(this AgileComPointer<IAccessible>? agile, VARIANT child) 200public static AccessibleStates TryGetState(this AgileComPointer<IAccessible>? agile, int child) 203public static AccessibleStates TryGetState(this AgileComPointer<IAccessible>? agile, VARIANT child) 221public static BSTR TryGetValue(this AgileComPointer<IAccessible>? agile, VARIANT child) 238public static void TrySetValue(this AgileComPointer<IAccessible>? agile, VARIANT child, BSTR value) 258public static (int topic, BSTR helpFile) TryGetHelpTopic(this AgileComPointer<IAccessible>? agile, VARIANT child) 275public static void TrySelect(this AgileComPointer<IAccessible>? agile, AccessibleSelection flags, int child) 278public static void TrySelect(this AgileComPointer<IAccessible>? agile, AccessibleSelection flags, VARIANT child) 289public static int TryGetChildCount(this AgileComPointer<IAccessible>? agile)
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
78private AgileComPointer<IAccessible>? SystemIAccessibleInternal
System.Windows.Forms.Interop.Tests (1)
AccessibleObjectTests.cs (1)
760Assert.Equal(*IID.Get<IAccessible>(), typeattr->guid);
System.Windows.Forms.Primitives (156)
System\Windows\Forms\AccessibilityExtensions.cs (1)
19IID.Get<global::Windows.Win32.UI.Accessibility.IAccessible>(),
Windows.Win32.IAccessible.g.cs (107)
26 :IVTable<IAccessible,IAccessible.Vtbl>,IComIID { 42 return ((delegate *unmanaged [Stdcall]<IAccessible*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((IAccessible*)Unsafe.AsPointer(ref this), riid, ppvObject); 47 return ((delegate *unmanaged [Stdcall]<IAccessible*,uint>)lpVtbl[1])((IAccessible*)Unsafe.AsPointer(ref this)); 52 return ((delegate *unmanaged [Stdcall]<IAccessible*,uint>)lpVtbl[2])((IAccessible*)Unsafe.AsPointer(ref this)); 73 ((delegate *unmanaged [Stdcall]<IAccessible*,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((IAccessible*)Unsafe.AsPointer(ref this), pctinfo).ThrowOnFailure(); 78 ((delegate *unmanaged [Stdcall]<IAccessible*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IAccessible*)Unsafe.AsPointer(ref this), iTInfo, lcid, ppTInfo).ThrowOnFailure(); 99 ((delegate *unmanaged [Stdcall]<IAccessible*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((IAccessible*)Unsafe.AsPointer(ref this), riid, rgszNames, cNames, lcid, rgDispId).ThrowOnFailure(); 116 ((delegate *unmanaged [Stdcall]<IAccessible*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((IAccessible*)Unsafe.AsPointer(ref this), dispIdMember, riid, lcid, wFlags, pDispParams, pVarResult, pExcepInfo, puArgErr).ThrowOnFailure(); 122 private static winmdroot.Foundation.HRESULT get_accParent(IAccessible* pThis, winmdroot.System.Com.IDispatch** ppdispParent) 153 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[7])((IAccessible*)Unsafe.AsPointer(ref this), ppdispParent); 169 private static winmdroot.Foundation.HRESULT get_accChildCount(IAccessible* pThis, int* pcountChildren) 200 return ((delegate *unmanaged [Stdcall]<IAccessible*,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[8])((IAccessible*)Unsafe.AsPointer(ref this), pcountChildren); 206 private static winmdroot.Foundation.HRESULT get_accChild(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.System.Com.IDispatch** ppdispChild) 245 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT>)lpVtbl[9])((IAccessible*)Unsafe.AsPointer(ref this), varChild, ppdispChild); 251 private static winmdroot.Foundation.HRESULT get_accName(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszName) 290 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszName); 296 private static winmdroot.Foundation.HRESULT get_accValue(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszValue) 332 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszValue); 338 private static winmdroot.Foundation.HRESULT get_accDescription(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszDescription) 377 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[12])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszDescription); 393 private static winmdroot.Foundation.HRESULT get_accRole(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.System.Variant.VARIANT* pvarRole) 432 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[13])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pvarRole); 448 private static winmdroot.Foundation.HRESULT get_accState(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.System.Variant.VARIANT* pvarState) 487 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[14])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pvarState); 493 private static winmdroot.Foundation.HRESULT get_accHelp(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszHelp) 531 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[15])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszHelp); 547 private static winmdroot.Foundation.HRESULT get_accHelpTopic(IAccessible* pThis, winmdroot.Foundation.BSTR* pszHelpFile, winmdroot.System.Variant.VARIANT varChild, int* pidTopic) 587 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.Foundation.BSTR* ,winmdroot.System.Variant.VARIANT ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[16])((IAccessible*)Unsafe.AsPointer(ref this), pszHelpFile, varChild, pidTopic); 593 private static winmdroot.Foundation.HRESULT get_accKeyboardShortcut(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszKeyboardShortcut) 633 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[17])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszKeyboardShortcut); 649 private static winmdroot.Foundation.HRESULT get_accFocus(IAccessible* pThis, winmdroot.System.Variant.VARIANT* pvarChild) 684 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[18])((IAccessible*)Unsafe.AsPointer(ref this), pvarChild); 700 private static winmdroot.Foundation.HRESULT get_accSelection(IAccessible* pThis, winmdroot.System.Variant.VARIANT* pvarChildren) 736 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[19])((IAccessible*)Unsafe.AsPointer(ref this), pvarChildren); 742 private static winmdroot.Foundation.HRESULT get_accDefaultAction(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR* pszDefaultAction) 781 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT>)lpVtbl[20])((IAccessible*)Unsafe.AsPointer(ref this), varChild, pszDefaultAction); 787 private static winmdroot.Foundation.HRESULT accSelect(IAccessible* pThis, int flagsSelect, winmdroot.System.Variant.VARIANT varChild) 826 return ((delegate *unmanaged [Stdcall]<IAccessible*,int ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[21])((IAccessible*)Unsafe.AsPointer(ref this), flagsSelect, varChild); 851 private static winmdroot.Foundation.HRESULT accLocation(IAccessible* pThis, int* pxLeft, int* pyTop, int* pcxWidth, int* pcyHeight, winmdroot.System.Variant.VARIANT varChild) 902 return ((delegate *unmanaged [Stdcall]<IAccessible*,int* ,int* ,int* ,int* ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[22])((IAccessible*)Unsafe.AsPointer(ref this), pxLeft, pyTop, pcxWidth, pcyHeight, varChild); 918 private static winmdroot.Foundation.HRESULT accNavigate(IAccessible* pThis, int navDir, winmdroot.System.Variant.VARIANT varStart, winmdroot.System.Variant.VARIANT* pvarEndUpAt) 960 return ((delegate *unmanaged [Stdcall]<IAccessible*,int ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[23])((IAccessible*)Unsafe.AsPointer(ref this), navDir, varStart, pvarEndUpAt); 976 private static winmdroot.Foundation.HRESULT accHitTest(IAccessible* pThis, int xLeft, int yTop, winmdroot.System.Variant.VARIANT* pvarChild) 1019 return ((delegate *unmanaged [Stdcall]<IAccessible*,int ,int ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT>)lpVtbl[24])((IAccessible*)Unsafe.AsPointer(ref this), xLeft, yTop, pvarChild); 1025 private static winmdroot.Foundation.HRESULT accDoDefaultAction(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild) 1060 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT>)lpVtbl[25])((IAccessible*)Unsafe.AsPointer(ref this), varChild); 1066 private static winmdroot.Foundation.HRESULT put_accName(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR szName) 1092 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[26])((IAccessible*)Unsafe.AsPointer(ref this), varChild, szName); 1098 private static winmdroot.Foundation.HRESULT put_accValue(IAccessible* pThis, winmdroot.System.Variant.VARIANT varChild, winmdroot.Foundation.BSTR szValue) 1131 return ((delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT>)lpVtbl[27])((IAccessible*)Unsafe.AsPointer(ref this), varChild, szValue); 1155 internal delegate *unmanaged [Stdcall]<IAccessible*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1; 1157 internal delegate *unmanaged [Stdcall]<IAccessible*,uint> AddRef_2; 1159 internal delegate *unmanaged [Stdcall]<IAccessible*,uint> Release_3; 1161 internal delegate *unmanaged [Stdcall]<IAccessible*,uint* ,winmdroot.Foundation.HRESULT> GetTypeInfoCount_4; 1163 internal delegate *unmanaged [Stdcall]<IAccessible*,uint ,uint ,winmdroot.System.Com.ITypeInfo** ,winmdroot.Foundation.HRESULT> GetTypeInfo_5; 1165 internal delegate *unmanaged [Stdcall]<IAccessible*,global::System.Guid* ,winmdroot.Foundation.PWSTR* ,uint ,uint ,int* ,winmdroot.Foundation.HRESULT> GetIDsOfNames_6; 1167 internal delegate *unmanaged [Stdcall]<IAccessible*,int ,global::System.Guid* ,uint ,winmdroot.System.Com.DISPATCH_FLAGS ,winmdroot.System.Com.DISPPARAMS* ,winmdroot.System.Variant.VARIANT* ,winmdroot.System.Com.EXCEPINFO* ,uint* ,winmdroot.Foundation.HRESULT> Invoke_7; 1169 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> get_accParent_8; 1171 internal delegate *unmanaged [Stdcall]<IAccessible*,int* ,winmdroot.Foundation.HRESULT> get_accChildCount_9; 1173 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Com.IDispatch** ,winmdroot.Foundation.HRESULT> get_accChild_10; 1175 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accName_11; 1177 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accValue_12; 1179 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accDescription_13; 1181 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_accRole_14; 1183 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_accState_15; 1185 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accHelp_16; 1187 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.Foundation.BSTR* ,winmdroot.System.Variant.VARIANT ,int* ,winmdroot.Foundation.HRESULT> get_accHelpTopic_17; 1189 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accKeyboardShortcut_18; 1191 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_accFocus_19; 1193 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> get_accSelection_20; 1195 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR* ,winmdroot.Foundation.HRESULT> get_accDefaultAction_21; 1197 internal delegate *unmanaged [Stdcall]<IAccessible*,int ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> accSelect_22; 1199 internal delegate *unmanaged [Stdcall]<IAccessible*,int* ,int* ,int* ,int* ,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> accLocation_23; 1201 internal delegate *unmanaged [Stdcall]<IAccessible*,int ,winmdroot.System.Variant.VARIANT ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> accNavigate_24; 1203 internal delegate *unmanaged [Stdcall]<IAccessible*,int ,int ,winmdroot.System.Variant.VARIANT* ,winmdroot.Foundation.HRESULT> accHitTest_25; 1205 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.HRESULT> accDoDefaultAction_26; 1207 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_accName_27; 1209 internal delegate *unmanaged [Stdcall]<IAccessible*,winmdroot.System.Variant.VARIANT ,winmdroot.Foundation.BSTR ,winmdroot.Foundation.HRESULT> put_accValue_28;
Windows.Win32.IAccessibleEx.g.cs (7)
94 /// <inheritdoc cref="GetIAccessiblePair(winmdroot.UI.Accessibility.IAccessible**, int*)"/> 95 internal unsafe void GetIAccessiblePair(winmdroot.UI.Accessibility.IAccessible** ppAcc, out int pidChild) 106 private static winmdroot.Foundation.HRESULT GetIAccessiblePair(IAccessibleEx* pThis, winmdroot.UI.Accessibility.IAccessible** ppAcc, int* pidChild) 138 public unsafe void GetIAccessiblePair(winmdroot.UI.Accessibility.IAccessible** ppAcc, int* pidChild) 140 ((delegate *unmanaged [Stdcall]<IAccessibleEx*,winmdroot.UI.Accessibility.IAccessible** ,int* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((IAccessibleEx*)Unsafe.AsPointer(ref this), ppAcc, pidChild).ThrowOnFailure(); 245 internal delegate *unmanaged [Stdcall]<IAccessibleEx*,winmdroot.UI.Accessibility.IAccessible** ,int* ,winmdroot.Foundation.HRESULT> GetIAccessiblePair_5; 282 unsafe winmdroot.Foundation.HRESULT GetIAccessiblePair(winmdroot.UI.Accessibility.IAccessible** ppAcc, int* pidChild);
Windows.Win32.ILegacyIAccessibleProvider.g.cs (7)
171 private static winmdroot.Foundation.HRESULT GetIAccessible(ILegacyIAccessibleProvider* pThis, winmdroot.UI.Accessibility.IAccessible** ppAccessible) 195 public unsafe winmdroot.UI.Accessibility.IAccessible* GetIAccessible() 197 winmdroot.UI.Accessibility.IAccessible* __retVal = default(winmdroot.UI.Accessibility.IAccessible*); 198 ((delegate *unmanaged [Stdcall]<ILegacyIAccessibleProvider*,winmdroot.UI.Accessibility.IAccessible** ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((ILegacyIAccessibleProvider*)Unsafe.AsPointer(ref this), &__retVal).ThrowOnFailure(); 560 internal delegate *unmanaged [Stdcall]<ILegacyIAccessibleProvider*,winmdroot.UI.Accessibility.IAccessible** ,winmdroot.Foundation.HRESULT> GetIAccessible_7; 629 unsafe winmdroot.Foundation.HRESULT GetIAccessible(winmdroot.UI.Accessibility.IAccessible** ppAccessible);
Windows.Win32.IUIAutomation.g.cs (10)
2160 private static winmdroot.Foundation.HRESULT ElementFromIAccessible(IUIAutomation* pThis, winmdroot.UI.Accessibility.IAccessible* accessible, int childId, winmdroot.UI.Accessibility.IUIAutomationElement** element) 2193 public unsafe winmdroot.UI.Accessibility.IUIAutomationElement* ElementFromIAccessible(winmdroot.UI.Accessibility.IAccessible* accessible, int childId) 2196 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IAccessible* ,int ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[56])((IUIAutomation*)Unsafe.AsPointer(ref this), accessible, childId, &__retVal).ThrowOnFailure(); 2203 private static winmdroot.Foundation.HRESULT ElementFromIAccessibleBuildCache(IUIAutomation* pThis, winmdroot.UI.Accessibility.IAccessible* accessible, int childId, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationElement** element) 2240 public unsafe winmdroot.UI.Accessibility.IUIAutomationElement* ElementFromIAccessibleBuildCache(winmdroot.UI.Accessibility.IAccessible* accessible, int childId, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest) 2243 ((delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IAccessible* ,int ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT>)lpVtbl[57])((IUIAutomation*)Unsafe.AsPointer(ref this), accessible, childId, cacheRequest, &__retVal).ThrowOnFailure(); 2380 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IAccessible* ,int ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT> ElementFromIAccessible_57; 2382 internal delegate *unmanaged [Stdcall]<IUIAutomation*,winmdroot.UI.Accessibility.IAccessible* ,int ,winmdroot.UI.Accessibility.IUIAutomationCacheRequest* ,winmdroot.UI.Accessibility.IUIAutomationElement** ,winmdroot.Foundation.HRESULT> ElementFromIAccessibleBuildCache_58; 2640 unsafe winmdroot.Foundation.HRESULT ElementFromIAccessible(winmdroot.UI.Accessibility.IAccessible* accessible, int childId, winmdroot.UI.Accessibility.IUIAutomationElement** element); 2643 unsafe winmdroot.Foundation.HRESULT ElementFromIAccessibleBuildCache(winmdroot.UI.Accessibility.IAccessible* accessible, int childId, winmdroot.UI.Accessibility.IUIAutomationCacheRequest* cacheRequest, winmdroot.UI.Accessibility.IUIAutomationElement** element);
Windows.Win32.UI_Accessibility_IAccessible_Extensions.g.cs (18)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accChildCount(int*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT get_accChildCount(this winmdroot.UI.Accessibility.IAccessible.Interface @this, out int pcountChildren) 33 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accRole(winmdroot.System.Variant.VARIANT, winmdroot.System.Variant.VARIANT*)"/> 34 internal static unsafe winmdroot.Foundation.HRESULT get_accRole(this winmdroot.UI.Accessibility.IAccessible.Interface @this, winmdroot.System.Variant.VARIANT varChild, out winmdroot.System.Variant.VARIANT pvarRole) 43 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accState(winmdroot.System.Variant.VARIANT, winmdroot.System.Variant.VARIANT*)"/> 44 internal static unsafe winmdroot.Foundation.HRESULT get_accState(this winmdroot.UI.Accessibility.IAccessible.Interface @this, winmdroot.System.Variant.VARIANT varChild, out winmdroot.System.Variant.VARIANT pvarState) 53 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accHelpTopic(winmdroot.Foundation.BSTR*, winmdroot.System.Variant.VARIANT, int*)"/> 54 internal static unsafe winmdroot.Foundation.HRESULT get_accHelpTopic(this winmdroot.UI.Accessibility.IAccessible.Interface @this, winmdroot.Foundation.BSTR* pszHelpFile, winmdroot.System.Variant.VARIANT varChild, out int pidTopic) 63 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accFocus(winmdroot.System.Variant.VARIANT*)"/> 64 internal static unsafe winmdroot.Foundation.HRESULT get_accFocus(this winmdroot.UI.Accessibility.IAccessible.Interface @this, out winmdroot.System.Variant.VARIANT pvarChild) 73 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.get_accSelection(winmdroot.System.Variant.VARIANT*)"/> 74 internal static unsafe winmdroot.Foundation.HRESULT get_accSelection(this winmdroot.UI.Accessibility.IAccessible.Interface @this, out winmdroot.System.Variant.VARIANT pvarChildren) 83 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.accLocation(int*, int*, int*, int*, winmdroot.System.Variant.VARIANT)"/> 84 internal static unsafe winmdroot.Foundation.HRESULT accLocation(this winmdroot.UI.Accessibility.IAccessible.Interface @this, out int pxLeft, out int pyTop, out int pcxWidth, out int pcyHeight, winmdroot.System.Variant.VARIANT varChild) 102 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.accNavigate(int, winmdroot.System.Variant.VARIANT, winmdroot.System.Variant.VARIANT*)"/> 103 internal static unsafe winmdroot.Foundation.HRESULT accNavigate(this winmdroot.UI.Accessibility.IAccessible.Interface @this, int navDir, winmdroot.System.Variant.VARIANT varStart, out winmdroot.System.Variant.VARIANT pvarEndUpAt) 112 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessible.Interface.accHitTest(int, int, winmdroot.System.Variant.VARIANT*)"/> 113 internal static unsafe winmdroot.Foundation.HRESULT accHitTest(this winmdroot.UI.Accessibility.IAccessible.Interface @this, int xLeft, int yTop, out winmdroot.System.Variant.VARIANT pvarChild)
Windows.Win32.UI_Accessibility_IAccessibleEx_Extensions.g.cs (2)
23 /// <inheritdoc cref="winmdroot.UI.Accessibility.IAccessibleEx.Interface.GetIAccessiblePair(winmdroot.UI.Accessibility.IAccessible**, int*)"/> 24 internal static unsafe winmdroot.Foundation.HRESULT GetIAccessiblePair(this winmdroot.UI.Accessibility.IAccessibleEx.Interface @this, winmdroot.UI.Accessibility.IAccessible** ppAcc, out int pidChild)
Windows\Win32\UI\Accessibility\AccessibleDispatch.cs (4)
9/// Base <see cref="IDispatch"/> class for <see cref="IAccessible"/>. 11internal abstract unsafe class AccessibleDispatch : StandardDispatch<IAccessible> 17private static ITypeInfo* TypeInfo { get; } = ComHelpers.GetRegisteredTypeInfo(s_accessibilityTypeLib, 1, 1, IAccessible.IID_Guid); 21public AccessibleDispatch(IAccessible.Interface instance) : base(TypeInfo, instance) { }
System.Windows.Forms.Primitives.Tests (23)
Windows\Win32\UI\Accessibility\AccessibleDispatchTests.cs (23)
25private unsafe class AccessibleTestObject : AccessibleDispatch, IAccessible.Interface, IManagedWrapper<IAccessible, IDispatch, IDispatchEx> 27HRESULT IAccessible.Interface.get_accParent(IDispatch** ppdispParent) => HRESULT.E_NOTIMPL; 28HRESULT IAccessible.Interface.get_accChildCount(int* pcountChildren) 34HRESULT IAccessible.Interface.get_accChild(VARIANT varChild, IDispatch** ppdispChild) => HRESULT.E_NOTIMPL; 35HRESULT IAccessible.Interface.get_accName(VARIANT varChild, BSTR* pszName) => HRESULT.E_NOTIMPL; 36HRESULT IAccessible.Interface.get_accValue(VARIANT varChild, BSTR* pszValue) => HRESULT.E_NOTIMPL; 37HRESULT IAccessible.Interface.get_accDescription(VARIANT varChild, BSTR* pszDescription) => HRESULT.E_NOTIMPL; 38HRESULT IAccessible.Interface.get_accRole(VARIANT varChild, VARIANT* pvarRole) => HRESULT.E_NOTIMPL; 39HRESULT IAccessible.Interface.get_accState(VARIANT varChild, VARIANT* pvarState) => HRESULT.E_NOTIMPL; 40HRESULT IAccessible.Interface.get_accHelp(VARIANT varChild, BSTR* pszHelp) => HRESULT.E_NOTIMPL; 41HRESULT IAccessible.Interface.get_accHelpTopic(BSTR* pszHelpFile, VARIANT varChild, int* pidTopic) => HRESULT.E_NOTIMPL; 42HRESULT IAccessible.Interface.get_accKeyboardShortcut(VARIANT varChild, BSTR* pszKeyboardShortcut) => HRESULT.E_NOTIMPL; 43HRESULT IAccessible.Interface.get_accFocus(VARIANT* pvarChild) => HRESULT.E_NOTIMPL; 44HRESULT IAccessible.Interface.get_accSelection(VARIANT* pvarChildren) => HRESULT.E_NOTIMPL; 45HRESULT IAccessible.Interface.get_accDefaultAction(VARIANT varChild, BSTR* pszDefaultAction) => HRESULT.E_NOTIMPL; 46HRESULT IAccessible.Interface.accSelect(int flagsSelect, VARIANT varChild) => HRESULT.E_NOTIMPL; 47HRESULT IAccessible.Interface.accLocation(int* pxLeft, int* pyTop, int* pcxWidth, int* pcyHeight, VARIANT varChild) => HRESULT.E_NOTIMPL; 48HRESULT IAccessible.Interface.accNavigate(int navDir, VARIANT varStart, VARIANT* pvarEndUpAt) => HRESULT.E_NOTIMPL; 49HRESULT IAccessible.Interface.accHitTest(int xLeft, int yTop, VARIANT* pvarChild) => HRESULT.E_NOTIMPL; 50HRESULT IAccessible.Interface.accDoDefaultAction(VARIANT varChild) => HRESULT.E_NOTIMPL; 51HRESULT IAccessible.Interface.put_accName(VARIANT varChild, BSTR szName) => HRESULT.E_NOTIMPL; 52HRESULT IAccessible.Interface.put_accValue(VARIANT varChild, BSTR szValue) => HRESULT.E_NOTIMPL;
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (4)
2745using ComScope<UIA.IAccessible> accessible = new(null); 2747using ComScope<UIA.IAccessible> expected = new(ComHelpers.TryGetComPointer<UIA.IAccessible>(accessibleObject)); 2759using ComScope<UIA.IAccessible> accessible = new(null);
System\Windows\Forms\ComponentModel\Com2Interop\ComNativeDescriptorTests.cs (26)
162using ComScope<IAccessible> accessible = new(null); 166IID.Get<IAccessible>(), 191using var accessible = ComHelpers.GetComScope<IAccessible>(value); 240IAccessible.Interface, 241IManagedWrapper<IAccessible, IDispatch, IProvideMultipleClassInfo> 280HRESULT IAccessible.Interface.get_accChildCount(int* pcountChildren) 291HRESULT IAccessible.Interface.get_accFocus(VARIANT* pvarChild) 305HRESULT IAccessible.Interface.get_accParent(IDispatch** ppdispParent) => HRESULT.E_NOTIMPL; 306HRESULT IAccessible.Interface.get_accChild(VARIANT varChild, IDispatch** ppdispChild) => HRESULT.E_NOTIMPL; 307HRESULT IAccessible.Interface.get_accName(VARIANT varChild, BSTR* pszName) => HRESULT.E_NOTIMPL; 308HRESULT IAccessible.Interface.get_accValue(VARIANT varChild, BSTR* pszValue) => HRESULT.E_NOTIMPL; 309HRESULT IAccessible.Interface.get_accDescription(VARIANT varChild, BSTR* pszDescription) => HRESULT.E_NOTIMPL; 310HRESULT IAccessible.Interface.get_accRole(VARIANT varChild, VARIANT* pvarRole) => HRESULT.E_NOTIMPL; 311HRESULT IAccessible.Interface.get_accState(VARIANT varChild, VARIANT* pvarState) => HRESULT.E_NOTIMPL; 312HRESULT IAccessible.Interface.get_accHelp(VARIANT varChild, BSTR* pszHelp) => HRESULT.E_NOTIMPL; 313HRESULT IAccessible.Interface.get_accHelpTopic(BSTR* pszHelpFile, VARIANT varChild, int* pidTopic) => HRESULT.E_NOTIMPL; 314HRESULT IAccessible.Interface.get_accKeyboardShortcut(VARIANT varChild, BSTR* pszKeyboardShortcut) => HRESULT.E_NOTIMPL; 315HRESULT IAccessible.Interface.get_accSelection(VARIANT* pvarChildren) => HRESULT.E_NOTIMPL; 316HRESULT IAccessible.Interface.get_accDefaultAction(VARIANT varChild, BSTR* pszDefaultAction) => HRESULT.E_NOTIMPL; 317HRESULT IAccessible.Interface.accSelect(int flagsSelect, VARIANT varChild) => HRESULT.E_NOTIMPL; 318HRESULT IAccessible.Interface.accLocation(int* pxLeft, int* pyTop, int* pcxWidth, int* pcyHeight, VARIANT varChild) => HRESULT.E_NOTIMPL; 319HRESULT IAccessible.Interface.accNavigate(int navDir, VARIANT varStart, VARIANT* pvarEndUpAt) => HRESULT.E_NOTIMPL; 320HRESULT IAccessible.Interface.accHitTest(int xLeft, int yTop, VARIANT* pvarChild) => HRESULT.E_NOTIMPL; 321HRESULT IAccessible.Interface.accDoDefaultAction(VARIANT varChild) => HRESULT.E_NOTIMPL; 322HRESULT IAccessible.Interface.put_accName(VARIANT varChild, BSTR szName) => HRESULT.E_NOTIMPL; 323HRESULT IAccessible.Interface.put_accValue(VARIANT varChild, BSTR szValue) => HRESULT.E_NOTIMPL;