1 /*******************************************************************************
2 * Copyright (c) 2000, 2017 IBM Corporation and others.
4 * This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License 2.0
6 * which accompanies this distribution, and is available at
7 * https://www.eclipse.org/legal/epl-2.0/
9 * SPDX-License-Identifier: EPL-2.0
12 * IBM Corporation - initial API and implementation
13 *******************************************************************************/
14 package org.eclipse.swt.internal.ole.win32;
16 public class IAccessible extends IDispatch {
18 public IAccessible(long address) {
22 public int get_accParent(long ppdispParent) {
23 return COM.VtblCall(7, address, ppdispParent);
25 public int get_accChildCount(long pcountChildren) {
26 return COM.VtblCall(8, address, pcountChildren);
28 public int get_accChild(long variant, long ppdispChild) {
29 return COM.VtblCall(9, address, variant, ppdispChild);
31 public int get_accName(long variant, long pszName) {
32 return COM.VtblCall(10, address, variant, pszName);
34 public int get_accValue(long variant, long pszValue) {
35 return COM.VtblCall(11, address, variant, pszValue);
37 public int get_accDescription(long variant, long pszDescription) {
38 return COM.VtblCall(12, address, variant, pszDescription);
40 public int get_accRole(long variant, long pvarRole) {
41 return COM.VtblCall(13, address, variant, pvarRole);
43 public int get_accState(long variant, long pvarState) {
44 return COM.VtblCall(14, address, variant, pvarState);
46 public int get_accHelp(long variant, long pszHelp) {
47 return COM.VtblCall(15, address, variant, pszHelp);
49 public int get_accHelpTopic(long pszHelpFile, long variant, long pidTopic) {
50 return COM.VtblCall(16, address, pszHelpFile, variant, pidTopic);
52 public int get_accKeyboardShortcut(long variant, long pszKeyboardShortcut) {
53 return COM.VtblCall(17, address, variant, pszKeyboardShortcut);
55 public int get_accFocus(long pvarChild) {
56 return COM.VtblCall(18, address, pvarChild);
58 public int get_accSelection(long pvarChildren) {
59 return COM.VtblCall(19, address, pvarChildren);
61 public int get_accDefaultAction(long variant, long pszDefaultAction) {
62 return COM.VtblCall(20, address, variant, pszDefaultAction);
64 public int accSelect(int flagsSelect, long variant) {
65 return COM.VtblCall(21, address, flagsSelect, variant);
67 public int accLocation(long pxLeft, long pyTop, long pcxWidth, long pcyHeight, long variant) {
68 return COM.VtblCall(22, address, pxLeft, pyTop, pcxWidth, pcyHeight, variant);
70 public int accNavigate(int navDir, long variant, long pvarEndUpAt) {
71 return COM.VtblCall(23, address, navDir, variant, pvarEndUpAt);
73 public int accHitTest(int xLeft, int yTop, long pvarChild) {
74 return COM.VtblCall(24, address, xLeft, yTop, pvarChild);
76 public int accDoDefaultAction(long variant) {
77 return COM.VtblCall(25, address, variant);
79 public int put_accName(long variant, long szName) {
80 return COM.VtblCall(26, address, variant, szName);
82 public int put_accValue(long variant, long szValue) {
83 return COM.VtblCall(27, address, variant, szValue);