|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef __AccessBridgePackages_H__ |
|
#define __AccessBridgePackages_H__ |
|
|
|
#include <jni.h> |
|
#include <windows.h> |
|
|
|
#ifdef __cplusplus |
|
extern "C" { |
|
#endif |
|
|
|
#ifdef ACCESSBRIDGE_ARCH_LEGACY |
|
typedef jobject JOBJECT64; |
|
typedef HWND ABHWND64; |
|
#define ABHandleToLong |
|
#define ABLongToHandle |
|
#else |
|
typedef jlong JOBJECT64; |
|
typedef long ABHWND64; |
|
#define ABHandleToLong HandleToLong |
|
#define ABLongToHandle LongToHandle |
|
#endif |
|
|
|
#define MAX_BUFFER_SIZE 10240 |
|
#define MAX_STRING_SIZE 1024 |
|
#define SHORT_STRING_SIZE 256 |
|
|
|
|
|
typedef JOBJECT64 AccessibleContext; |
|
typedef JOBJECT64 AccessibleText; |
|
typedef JOBJECT64 AccessibleValue; |
|
typedef JOBJECT64 AccessibleSelection; |
|
typedef JOBJECT64 Java_Object; |
|
typedef JOBJECT64 PropertyChangeEvent; |
|
typedef JOBJECT64 FocusEvent; |
|
typedef JOBJECT64 CaretEvent; |
|
typedef JOBJECT64 MouseEvent; |
|
typedef JOBJECT64 MenuEvent; |
|
typedef JOBJECT64 AccessibleTable; |
|
typedef JOBJECT64 AccessibleHyperlink; |
|
typedef JOBJECT64 AccessibleHypertext; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define cPropertyChangeEvent (jlong) 1 |
|
#define cFocusGainedEvent (jlong) 2 |
|
#define cFocusLostEvent (jlong) 4 |
|
#define cCaretUpdateEvent (jlong) 8 |
|
#define cMouseClickedEvent (jlong) 16 |
|
#define cMouseEnteredEvent (jlong) 32 |
|
#define cMouseExitedEvent (jlong) 64 |
|
#define cMousePressedEvent (jlong) 128 |
|
#define cMouseReleasedEvent (jlong) 256 |
|
#define cMenuCanceledEvent (jlong) 512 |
|
#define cMenuDeselectedEvent (jlong) 1024 |
|
#define cMenuSelectedEvent (jlong) 2048 |
|
#define cPopupMenuCanceledEvent (jlong) 4096 |
|
#define cPopupMenuWillBecomeInvisibleEvent (jlong) 8192 |
|
#define cPopupMenuWillBecomeVisibleEvent (jlong) 16384 |
|
#define cJavaShutdownEvent (jlong) 32768 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_ALERT L"alert" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_COLUMN_HEADER L"column header" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_CANVAS L"canvas" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_COMBO_BOX L"combo box" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_DESKTOP_ICON L"desktop icon" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_INTERNAL_FRAME L"internal frame" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_DESKTOP_PANE L"desktop pane" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_OPTION_PANE L"option pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_WINDOW L"window" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_FRAME L"frame" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_DIALOG L"dialog" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_COLOR_CHOOSER L"color chooser" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_DIRECTORY_PANE L"directory pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_FILE_CHOOSER L"file chooser" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_FILLER L"filler" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_HYPERLINK L"hyperlink" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_ICON L"icon" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_LABEL L"label" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_ROOT_PANE L"root pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_GLASS_PANE L"glass pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_LAYERED_PANE L"layered pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_LIST L"list" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_LIST_ITEM L"list item" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_MENU_BAR L"menu bar" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_POPUP_MENU L"popup menu" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_MENU L"menu" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_MENU_ITEM L"menu item" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SEPARATOR L"separator" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PAGE_TAB_LIST L"page tab list" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PAGE_TAB L"page tab" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PANEL L"panel" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PROGRESS_BAR L"progress bar" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PASSWORD_TEXT L"password text" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PUSH_BUTTON L"push button" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TOGGLE_BUTTON L"toggle button" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_CHECK_BOX L"check box" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_RADIO_BUTTON L"radio button" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_ROW_HEADER L"row header" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SCROLL_PANE L"scroll pane" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SCROLL_BAR L"scroll bar" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_VIEWPORT L"viewport" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SLIDER L"slider" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SPLIT_PANE L"split pane" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TABLE L"table" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TEXT L"text" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TREE L"tree" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TOOL_BAR L"tool bar" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_TOOL_TIP L"tool tip" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_AWT_COMPONENT L"awt component" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SWING_COMPONENT L"swing component" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_UNKNOWN L"unknown" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_STATUS_BAR L"status bar" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_DATE_EDITOR L"date editor" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_SPIN_BOX L"spin box" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_FONT_CHOOSER L"font chooser" |
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_GROUP_BOX L"group box" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_HEADER L"header" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_FOOTER L"footer" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_PARAGRAPH L"paragraph" |
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_RULER L"ruler" |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define ACCESSIBLE_EDITBAR L"editbar" |
|
|
|
|
|
|
|
|
|
|
|
#define PROGRESS_MONITOR L"progress monitor" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define cPropertyNameChangeEvent (jlong) 1 |
|
#define cPropertyDescriptionChangeEvent (jlong) 2 |
|
#define cPropertyStateChangeEvent (jlong) 4 |
|
#define cPropertyValueChangeEvent (jlong) 8 |
|
#define cPropertySelectionChangeEvent (jlong) 16 |
|
#define cPropertyTextChangeEvent (jlong) 32 |
|
#define cPropertyCaretChangeEvent (jlong) 64 |
|
#define cPropertyVisibleDataChangeEvent (jlong) 128 |
|
#define cPropertyChildChangeEvent (jlong) 256 |
|
#define cPropertyActiveDescendentChangeEvent (jlong) 512 |
|
#define cPropertyTableModelChangeEvent (jlong) 1024 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define cAccessibleValueInterface (jlong) 1 |
|
#define cAccessibleActionInterface (jlong) 2 |
|
#define cAccessibleComponentInterface (jlong) 4 |
|
#define cAccessibleSelectionInterface (jlong) 8 |
|
#define cAccessibleTableInterface (jlong) 16 |
|
#define cAccessibleTextInterface (jlong) 32 |
|
#define cAccessibleHypertextInterface (jlong) 64 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct AccessBridgeVersionInfoTag { |
|
wchar_t VMversion[SHORT_STRING_SIZE]; |
|
wchar_t bridgeJavaClassVersion[SHORT_STRING_SIZE]; |
|
wchar_t bridgeJavaDLLVersion[SHORT_STRING_SIZE]; |
|
wchar_t bridgeWinDLLVersion[SHORT_STRING_SIZE]; |
|
} AccessBridgeVersionInfo; |
|
|
|
|
|
typedef struct AccessibleContextInfoTag { |
|
wchar_t name[MAX_STRING_SIZE]; |
|
wchar_t description[MAX_STRING_SIZE]; |
|
|
|
wchar_t role[SHORT_STRING_SIZE]; |
|
wchar_t role_en_US[SHORT_STRING_SIZE]; |
|
wchar_t states[SHORT_STRING_SIZE]; |
|
wchar_t states_en_US[SHORT_STRING_SIZE]; |
|
|
|
jint indexInParent; |
|
jint childrenCount; |
|
|
|
jint x; |
|
jint y; |
|
jint width; |
|
jint height; |
|
|
|
BOOL accessibleComponent; |
|
BOOL accessibleAction; |
|
BOOL accessibleSelection; |
|
BOOL accessibleText; |
|
|
|
|
|
|
|
BOOL accessibleInterfaces; |
|
|
|
} AccessibleContextInfo; |
|
|
|
|
|
|
|
|
|
typedef struct AccessibleTextInfoTag { |
|
jint charCount; |
|
jint caretIndex; |
|
jint indexAtPoint; |
|
} AccessibleTextInfo; |
|
|
|
typedef struct AccessibleTextItemsInfoTag { |
|
wchar_t letter; |
|
wchar_t word[SHORT_STRING_SIZE]; |
|
wchar_t sentence[MAX_STRING_SIZE]; |
|
} AccessibleTextItemsInfo; |
|
|
|
typedef struct AccessibleTextSelectionInfoTag { |
|
jint selectionStartIndex; |
|
jint selectionEndIndex; |
|
wchar_t selectedText[MAX_STRING_SIZE]; |
|
} AccessibleTextSelectionInfo; |
|
|
|
typedef struct AccessibleTextRectInfoTag { |
|
jint x; |
|
jint y; |
|
jint width; |
|
jint height; |
|
} AccessibleTextRectInfo; |
|
|
|
|
|
typedef struct AccessibleTextAttributesInfoTag { |
|
BOOL bold; |
|
BOOL italic; |
|
BOOL underline; |
|
BOOL strikethrough; |
|
BOOL superscript; |
|
BOOL subscript; |
|
|
|
wchar_t backgroundColor[SHORT_STRING_SIZE]; |
|
wchar_t foregroundColor[SHORT_STRING_SIZE]; |
|
wchar_t fontFamily[SHORT_STRING_SIZE]; |
|
jint fontSize; |
|
|
|
jint alignment; |
|
jint bidiLevel; |
|
|
|
jfloat firstLineIndent; |
|
jfloat leftIndent; |
|
jfloat rightIndent; |
|
jfloat lineSpacing; |
|
jfloat spaceAbove; |
|
jfloat spaceBelow; |
|
|
|
wchar_t fullAttributesString[MAX_STRING_SIZE]; |
|
} AccessibleTextAttributesInfo; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define cMemoryMappedNameSize 255 |
|
|
|
|
|
|
|
|
|
|
|
typedef struct MemoryMappedFileCreatedPackageTag { |
|
|
|
ABHWND64 bridgeWindow; |
|
char filename[cMemoryMappedNameSize]; |
|
} MemoryMappedFileCreatedPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct JavaVMCreatedPackageTag { |
|
ABHWND64 bridgeWindow; |
|
long vmID; |
|
} JavaVMCreatedPackage; |
|
|
|
|
|
|
|
|
|
|
|
typedef struct JavaVMDestroyedPackageTag { |
|
ABHWND64 bridgeWindow; |
|
} JavaVMDestroyedPackage; |
|
|
|
|
|
|
|
|
|
|
|
typedef struct WindowsATCreatedPackageTag { |
|
ABHWND64 bridgeWindow; |
|
} WindowsATCreatedPackage; |
|
|
|
|
|
|
|
|
|
|
|
typedef struct WindowsATDestroyedPackageTag { |
|
ABHWND64 bridgeWindow; |
|
} WindowsATDestroyedPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct JavaVMPresentNotificationPackageTag { |
|
ABHWND64 bridgeWindow; |
|
long vmID; |
|
} JavaVMPresentNotificationPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct WindowsATPresentNotificationPackageTag { |
|
ABHWND64 bridgeWindow; |
|
} WindowsATPresentNotificationPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct ReleaseJavaObjectPackageTag { |
|
long vmID; |
|
JOBJECT64 object; |
|
} ReleaseJavaObjectPackage; |
|
|
|
typedef struct GetAccessBridgeVersionPackageTag { |
|
long vmID; |
|
AccessBridgeVersionInfo rVersionInfo; |
|
} GetAccessBridgeVersionPackage; |
|
|
|
typedef struct IsSameObjectPackageTag { |
|
long vmID; |
|
JOBJECT64 obj1; |
|
JOBJECT64 obj2; |
|
jboolean rResult; |
|
} IsSameObjectPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct IsJavaWindowPackageTag { |
|
jint window; |
|
jboolean rResult; |
|
} IsJavaWindowPackage; |
|
|
|
typedef struct GetAccessibleContextFromHWNDPackageTag { |
|
jint window; |
|
long rVMID; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleContextFromHWNDPackage; |
|
|
|
typedef struct GetHWNDFromAccessibleContextPackageTag { |
|
JOBJECT64 accessibleContext; |
|
ABHWND64 rHWND; |
|
} GetHWNDFromAccessibleContextPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct GetAccessibleContextAtPackageTag { |
|
jint x; |
|
jint y; |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleContextAtPackage; |
|
|
|
typedef struct GetAccessibleContextWithFocusPackageTag { |
|
long rVMID; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleContextWithFocusPackage; |
|
|
|
typedef struct GetAccessibleContextInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
AccessibleContextInfo rAccessibleContextInfo; |
|
} GetAccessibleContextInfoPackage; |
|
|
|
typedef struct GetAccessibleChildFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint childIndex; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleChildFromContextPackage; |
|
|
|
typedef struct GetAccessibleParentFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleParentFromContextPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_TABLE_SELECTIONS 64 |
|
|
|
|
|
typedef struct AccessibleTableInfoTag { |
|
JOBJECT64 caption; |
|
JOBJECT64 summary; |
|
jint rowCount; |
|
jint columnCount; |
|
JOBJECT64 accessibleContext; |
|
JOBJECT64 accessibleTable; |
|
} AccessibleTableInfo; |
|
|
|
typedef struct GetAccessibleTableInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleTableInfo rTableInfo; |
|
} GetAccessibleTableInfoPackage; |
|
|
|
|
|
typedef struct AccessibleTableCellInfoTag { |
|
JOBJECT64 accessibleContext; |
|
jint index; |
|
jint row; |
|
jint column; |
|
jint rowExtent; |
|
jint columnExtent; |
|
jboolean isSelected; |
|
} AccessibleTableCellInfo; |
|
|
|
typedef struct GetAccessibleTableCellInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint row; |
|
jint column; |
|
AccessibleTableCellInfo rTableCellInfo; |
|
} GetAccessibleTableCellInfoPackage; |
|
|
|
typedef struct GetAccessibleTableRowHeaderPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleTableInfo rTableInfo; |
|
} GetAccessibleTableRowHeaderPackage; |
|
|
|
typedef struct GetAccessibleTableColumnHeaderPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleTableInfo rTableInfo; |
|
} GetAccessibleTableColumnHeaderPackage; |
|
|
|
typedef struct GetAccessibleTableRowDescriptionPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint row; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleTableRowDescriptionPackage; |
|
|
|
typedef struct GetAccessibleTableColumnDescriptionPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint column; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleTableColumnDescriptionPackage; |
|
|
|
typedef struct GetAccessibleTableRowSelectionCountPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint rCount; |
|
} GetAccessibleTableRowSelectionCountPackage; |
|
|
|
typedef struct IsAccessibleTableRowSelectedPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint row; |
|
jboolean rResult; |
|
} IsAccessibleTableRowSelectedPackage; |
|
|
|
typedef struct GetAccessibleTableRowSelectionsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint count; |
|
jint rSelections[MAX_TABLE_SELECTIONS]; |
|
} GetAccessibleTableRowSelectionsPackage; |
|
|
|
typedef struct GetAccessibleTableColumnSelectionCountPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint rCount; |
|
} GetAccessibleTableColumnSelectionCountPackage; |
|
|
|
typedef struct IsAccessibleTableColumnSelectedPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint column; |
|
jboolean rResult; |
|
} IsAccessibleTableColumnSelectedPackage; |
|
|
|
typedef struct GetAccessibleTableColumnSelectionsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint count; |
|
jint rSelections[MAX_TABLE_SELECTIONS]; |
|
} GetAccessibleTableColumnSelectionsPackage; |
|
|
|
|
|
typedef struct GetAccessibleTableRowPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint index; |
|
jint rRow; |
|
} GetAccessibleTableRowPackage; |
|
|
|
typedef struct GetAccessibleTableColumnPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint index; |
|
jint rColumn; |
|
} GetAccessibleTableColumnPackage; |
|
|
|
typedef struct GetAccessibleTableIndexPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleTable; |
|
jint row; |
|
jint column; |
|
jint rIndex; |
|
} GetAccessibleTableIndexPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_RELATION_TARGETS 25 |
|
#define MAX_RELATIONS 5 |
|
|
|
typedef struct AccessibleRelationInfoTag { |
|
wchar_t key[SHORT_STRING_SIZE]; |
|
jint targetCount; |
|
JOBJECT64 targets[MAX_RELATION_TARGETS]; |
|
} AccessibleRelationInfo; |
|
|
|
typedef struct AccessibleRelationSetInfoTag { |
|
jint relationCount; |
|
AccessibleRelationInfo relations[MAX_RELATIONS]; |
|
} AccessibleRelationSetInfo; |
|
|
|
typedef struct GetAccessibleRelationSetPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleRelationSetInfo rAccessibleRelationSetInfo; |
|
} GetAccessibleRelationSetPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_HYPERLINKS 64 |
|
|
|
|
|
typedef struct AccessibleHyperlinkInfoTag { |
|
wchar_t text[SHORT_STRING_SIZE]; |
|
jint startIndex; |
|
jint endIndex; |
|
JOBJECT64 accessibleHyperlink; |
|
} AccessibleHyperlinkInfo; |
|
|
|
|
|
typedef struct AccessibleHypertextInfoTag { |
|
jint linkCount; |
|
AccessibleHyperlinkInfo links[MAX_HYPERLINKS]; |
|
JOBJECT64 accessibleHypertext; |
|
} AccessibleHypertextInfo; |
|
|
|
|
|
typedef struct GetAccessibleHypertextPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleHypertextInfo rAccessibleHypertextInfo; |
|
} GetAccessibleHypertextPackage; |
|
|
|
|
|
typedef struct ActivateAccessibleHyperlinkPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
JOBJECT64 accessibleHyperlink; |
|
BOOL rResult; |
|
} ActivateAccessibleHyperlinkPackage; |
|
|
|
|
|
typedef struct GetAccessibleHyperlinkCountPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint rLinkCount; |
|
} GetAccessibleHyperlinkCountPackage; |
|
|
|
|
|
|
|
typedef struct GetAccessibleHypertextExtPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint startIndex; |
|
AccessibleHypertextInfo rAccessibleHypertextInfo; |
|
BOOL rSuccess; |
|
} GetAccessibleHypertextExtPackage; |
|
|
|
|
|
|
|
typedef struct GetAccessibleHyperlinkPackageTag { |
|
long vmID; |
|
JOBJECT64 hypertext; |
|
jint linkIndex; |
|
AccessibleHyperlinkInfo rAccessibleHyperlinkInfo; |
|
} GetAccessibleHyperlinkPackage; |
|
|
|
|
|
|
|
|
|
typedef struct GetAccessibleHypertextLinkIndexPackageTag { |
|
long vmID; |
|
JOBJECT64 hypertext; |
|
jint charIndex; |
|
jint rLinkIndex; |
|
} GetAccessibleHypertextLinkIndexPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_KEY_BINDINGS 10 |
|
|
|
|
|
#define ACCESSIBLE_SHIFT_KEYSTROKE 1 |
|
#define ACCESSIBLE_CONTROL_KEYSTROKE 2 |
|
#define ACCESSIBLE_META_KEYSTROKE 4 |
|
#define ACCESSIBLE_ALT_KEYSTROKE 8 |
|
#define ACCESSIBLE_ALT_GRAPH_KEYSTROKE 16 |
|
#define ACCESSIBLE_BUTTON1_KEYSTROKE 32 |
|
#define ACCESSIBLE_BUTTON2_KEYSTROKE 64 |
|
#define ACCESSIBLE_BUTTON3_KEYSTROKE 128 |
|
#define ACCESSIBLE_FKEY_KEYSTROKE 256 |
|
#define ACCESSIBLE_CONTROLCODE_KEYSTROKE 512 |
|
|
|
|
|
#define ACCESSIBLE_VK_BACK_SPACE 8 |
|
#define ACCESSIBLE_VK_DELETE 127 |
|
#define ACCESSIBLE_VK_DOWN 40 |
|
#define ACCESSIBLE_VK_END 35 |
|
#define ACCESSIBLE_VK_HOME 36 |
|
#define ACCESSIBLE_VK_INSERT 155 |
|
#define ACCESSIBLE_VK_KP_DOWN 225 |
|
#define ACCESSIBLE_VK_KP_LEFT 226 |
|
#define ACCESSIBLE_VK_KP_RIGHT 227 |
|
#define ACCESSIBLE_VK_KP_UP 224 |
|
#define ACCESSIBLE_VK_LEFT 37 |
|
#define ACCESSIBLE_VK_PAGE_DOWN 34 |
|
#define ACCESSIBLE_VK_PAGE_UP 33 |
|
#define ACCESSIBLE_VK_RIGHT 39 |
|
#define ACCESSIBLE_VK_UP 38 |
|
|
|
|
|
typedef struct AccessibleKeyBindingInfoTag { |
|
jchar character; |
|
jint modifiers; |
|
} AccessibleKeyBindingInfo; |
|
|
|
|
|
typedef struct AccessibleKeyBindingsTag { |
|
int keyBindingsCount; |
|
AccessibleKeyBindingInfo keyBindingInfo[MAX_KEY_BINDINGS]; |
|
} AccessibleKeyBindings; |
|
|
|
|
|
typedef struct GetAccessibleKeyBindingsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleKeyBindings rAccessibleKeyBindings; |
|
} GetAccessibleKeyBindingsPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_ICON_INFO 8 |
|
|
|
|
|
typedef struct AccessibleIconInfoTag { |
|
wchar_t description[SHORT_STRING_SIZE]; |
|
jint height; |
|
jint width; |
|
} AccessibleIconInfo; |
|
|
|
|
|
typedef struct AccessibleIconsTag { |
|
jint iconsCount; |
|
AccessibleIconInfo iconInfo[MAX_ICON_INFO]; |
|
} AccessibleIcons; |
|
|
|
|
|
typedef struct GetAccessibleIconsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleIcons rAccessibleIcons; |
|
} GetAccessibleIconsPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define MAX_ACTION_INFO 256 |
|
#define MAX_ACTIONS_TO_DO 32 |
|
|
|
|
|
typedef struct AccessibleActionInfoTag { |
|
wchar_t name[SHORT_STRING_SIZE]; |
|
} AccessibleActionInfo; |
|
|
|
|
|
typedef struct AccessibleActionsTag { |
|
jint actionsCount; |
|
AccessibleActionInfo actionInfo[MAX_ACTION_INFO]; |
|
} AccessibleActions; |
|
|
|
|
|
typedef struct GetAccessibleActionsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleActions rAccessibleActions; |
|
} GetAccessibleActionsPackage; |
|
|
|
|
|
typedef struct AccessibleActionsToDoTag { |
|
jint actionsCount; |
|
AccessibleActionInfo actions[MAX_ACTIONS_TO_DO]; |
|
} AccessibleActionsToDo; |
|
|
|
|
|
typedef struct DoAccessibleActionsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
AccessibleActionsToDo actionsToDo; |
|
BOOL rResult; |
|
jint failure; |
|
} DoAccessibleActionsPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct GetAccessibleTextInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint x; |
|
jint y; |
|
AccessibleTextInfo rTextInfo; |
|
} GetAccessibleTextInfoPackage; |
|
|
|
typedef struct GetAccessibleTextItemsPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
AccessibleTextItemsInfo rTextItemsInfo; |
|
} GetAccessibleTextItemsPackage; |
|
|
|
typedef struct GetAccessibleTextSelectionInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
AccessibleTextSelectionInfo rTextSelectionItemsInfo; |
|
} GetAccessibleTextSelectionInfoPackage; |
|
|
|
typedef struct GetAccessibleTextAttributeInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
AccessibleTextAttributesInfo rAttributeInfo; |
|
} GetAccessibleTextAttributeInfoPackage; |
|
|
|
typedef struct GetAccessibleTextRectInfoPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
AccessibleTextRectInfo rTextRectInfo; |
|
} GetAccessibleTextRectInfoPackage; |
|
|
|
typedef struct GetCaretLocationPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
AccessibleTextRectInfo rTextRectInfo; |
|
} GetCaretLocationPackage; |
|
|
|
typedef struct GetAccessibleTextLineBoundsPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
jint rLineStart; |
|
jint rLineEnd; |
|
} GetAccessibleTextLineBoundsPackage; |
|
|
|
typedef struct GetAccessibleTextRangePackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint start; |
|
jint end; |
|
wchar_t rText[MAX_BUFFER_SIZE]; |
|
} GetAccessibleTextRangePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct SetTextContentsPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
wchar_t text[MAX_STRING_SIZE]; |
|
BOOL rResult; |
|
} SetTextContentsPackage; |
|
|
|
typedef struct GetParentWithRolePackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
wchar_t role[SHORT_STRING_SIZE]; |
|
JOBJECT64 rAccessibleContext; |
|
} GetParentWithRolePackage; |
|
|
|
typedef struct GetTopLevelObjectPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
JOBJECT64 rAccessibleContext; |
|
} GetTopLevelObjectPackage; |
|
|
|
typedef struct GetParentWithRoleElseRootPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
wchar_t role[SHORT_STRING_SIZE]; |
|
JOBJECT64 rAccessibleContext; |
|
} GetParentWithRoleElseRootPackage; |
|
|
|
typedef struct GetObjectDepthPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint rResult; |
|
} GetObjectDepthPackage; |
|
|
|
typedef struct GetActiveDescendentPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
JOBJECT64 rAccessibleContext; |
|
} GetActiveDescendentPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct GetCurrentAccessibleValueFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
wchar_t rValue[SHORT_STRING_SIZE]; |
|
} GetCurrentAccessibleValueFromContextPackage; |
|
|
|
typedef struct GetMaximumAccessibleValueFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
wchar_t rValue[SHORT_STRING_SIZE]; |
|
} GetMaximumAccessibleValueFromContextPackage; |
|
|
|
typedef struct GetMinimumAccessibleValueFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
wchar_t rValue[SHORT_STRING_SIZE]; |
|
} GetMinimumAccessibleValueFromContextPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct AddAccessibleSelectionFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
} AddAccessibleSelectionFromContextPackage; |
|
|
|
typedef struct ClearAccessibleSelectionFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
} ClearAccessibleSelectionFromContextPackage; |
|
|
|
typedef struct GetAccessibleSelectionFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
JOBJECT64 rAccessibleContext; |
|
} GetAccessibleSelectionFromContextPackage; |
|
|
|
typedef struct GetAccessibleSelectionCountFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint rCount; |
|
} GetAccessibleSelectionCountFromContextPackage; |
|
|
|
typedef struct IsAccessibleChildSelectedFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
jboolean rResult; |
|
} IsAccessibleChildSelectedFromContextPackage; |
|
|
|
typedef struct RemoveAccessibleSelectionFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
jint index; |
|
} RemoveAccessibleSelectionFromContextPackage; |
|
|
|
typedef struct SelectAllAccessibleSelectionFromContextPackageTag { |
|
long vmID; |
|
JOBJECT64 AccessibleContext; |
|
} SelectAllAccessibleSelectionFromContextPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct AddJavaEventNotificationPackageTag { |
|
jlong type; |
|
|
|
ABHWND64 DLLwindow; |
|
} AddJavaEventNotificationPackage; |
|
|
|
typedef struct RemoveJavaEventNotificationPackageTag { |
|
jlong type; |
|
|
|
ABHWND64 DLLwindow; |
|
} RemoveJavaEventNotificationPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct AddAccessibilityEventNotificationPackageTag { |
|
jlong type; |
|
|
|
ABHWND64 DLLwindow; |
|
} AddAccessibilityEventNotificationPackage; |
|
|
|
typedef struct RemoveAccessibilityEventNotificationPackageTag { |
|
jlong type; |
|
|
|
ABHWND64 DLLwindow; |
|
} RemoveAccessibilityEventNotificationPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct PropertyCaretChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
jint oldPosition; |
|
jint newPosition; |
|
} PropertyCaretChangePackage; |
|
|
|
typedef struct PropertyDescriptionChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
wchar_t oldDescription[SHORT_STRING_SIZE]; |
|
wchar_t newDescription[SHORT_STRING_SIZE]; |
|
} PropertyDescriptionChangePackage; |
|
|
|
typedef struct PropertyNameChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
wchar_t oldName[SHORT_STRING_SIZE]; |
|
wchar_t newName[SHORT_STRING_SIZE]; |
|
} PropertyNameChangePackage; |
|
|
|
typedef struct PropertySelectionChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PropertySelectionChangePackage; |
|
|
|
typedef struct PropertyStateChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
wchar_t oldState[SHORT_STRING_SIZE]; |
|
wchar_t newState[SHORT_STRING_SIZE]; |
|
} PropertyStateChangePackage; |
|
|
|
typedef struct PropertyTextChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PropertyTextChangePackage; |
|
|
|
typedef struct PropertyValueChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
wchar_t oldValue[SHORT_STRING_SIZE]; |
|
wchar_t newValue[SHORT_STRING_SIZE]; |
|
} PropertyValueChangePackage; |
|
|
|
typedef struct PropertyVisibleDataChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PropertyVisibleDataChangePackage; |
|
|
|
typedef struct PropertyChildChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
JOBJECT64 oldChildAccessibleContext; |
|
JOBJECT64 newChildAccessibleContext; |
|
} PropertyChildChangePackage; |
|
|
|
typedef struct PropertyActiveDescendentChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
JOBJECT64 oldActiveDescendentAccessibleContext; |
|
JOBJECT64 newActiveDescendentAccessibleContext; |
|
} PropertyActiveDescendentChangePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct PropertyTableModelChangePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
wchar_t oldValue[SHORT_STRING_SIZE]; |
|
wchar_t newValue[SHORT_STRING_SIZE]; |
|
} PropertyTableModelChangePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct JavaShutdownPackageTag { |
|
long vmID; |
|
} JavaShutdownPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct FocusGainedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} FocusGainedPackage; |
|
|
|
typedef struct FocusLostPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} FocusLostPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct CaretUpdatePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} CaretUpdatePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct MouseClickedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MouseClickedPackage; |
|
|
|
typedef struct MouseEnteredPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MouseEnteredPackage; |
|
|
|
typedef struct MouseExitedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MouseExitedPackage; |
|
|
|
typedef struct MousePressedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MousePressedPackage; |
|
|
|
typedef struct MouseReleasedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MouseReleasedPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct MenuCanceledPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MenuCanceledPackage; |
|
|
|
typedef struct MenuDeselectedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MenuDeselectedPackage; |
|
|
|
typedef struct MenuSelectedPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} MenuSelectedPackage; |
|
|
|
|
|
typedef struct PopupMenuCanceledPackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PopupMenuCanceledPackage; |
|
|
|
typedef struct PopupMenuWillBecomeInvisiblePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PopupMenuWillBecomeInvisiblePackage; |
|
|
|
typedef struct PopupMenuWillBecomeVisiblePackageTag { |
|
long vmID; |
|
JOBJECT64 Event; |
|
JOBJECT64 AccessibleContextSource; |
|
} PopupMenuWillBecomeVisiblePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct GetVirtualAccessibleNamePackageTag { |
|
long vmID; |
|
AccessibleContext accessibleContext; |
|
wchar_t rName[MAX_STRING_SIZE]; |
|
int len; |
|
} GetVirtualAccessibleNamePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct RequestFocusPackageTag { |
|
long vmID; |
|
AccessibleContext accessibleContext; |
|
} RequestFocusPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct SelectTextRangePackageTag { |
|
long vmID; |
|
AccessibleContext accessibleContext; |
|
jint startIndex; |
|
jint endIndex; |
|
} SelectTextRangePackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct GetTextAttributesInRangePackageTag { |
|
long vmID; |
|
AccessibleContext accessibleContext; |
|
jint startIndex; |
|
jint endIndex; |
|
AccessibleTextAttributesInfo attributes; |
|
short rLength; |
|
} GetTextAttributesInRangePackage; |
|
|
|
#define MAX_VISIBLE_CHILDREN 256 |
|
|
|
|
|
typedef struct VisibleChildenInfoTag { |
|
int returnedChildrenCount; |
|
AccessibleContext children[MAX_VISIBLE_CHILDREN]; |
|
} VisibleChildrenInfo; |
|
|
|
|
|
typedef struct GetVisibleChildrenCountPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint rChildrenCount; |
|
} GetVisibleChildrenCountPackage; |
|
|
|
|
|
|
|
typedef struct GetVisibleChildrenPackageTag { |
|
long vmID; |
|
JOBJECT64 accessibleContext; |
|
jint startIndex; |
|
VisibleChildrenInfo rVisibleChildrenInfo; |
|
BOOL rSuccess; |
|
} GetVisibleChildrenPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef struct SetCaretPositionPackageTag { |
|
long vmID; |
|
AccessibleContext accessibleContext; |
|
jint position; |
|
} SetCaretPositionPackage; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
typedef enum PackageType { |
|
|
|
cMemoryMappedFileCreatedPackage = 0x11000, |
|
|
|
|
|
cJavaVMCreatedPackage = 0x10000, |
|
cJavaVMDestroyedPackage, |
|
cWindowsATCreatedPackage, |
|
cWindowsATDestroyedPackage, |
|
cJavaVMPresentNotificationPackage, |
|
cWindowsATPresentNotificationPackage, |
|
|
|
cReleaseJavaObjectPackage = 1, |
|
cGetAccessBridgeVersionPackage = 2, |
|
|
|
cGetAccessibleContextFromHWNDPackage = 0x10, |
|
cIsJavaWindowPackage, |
|
cGetHWNDFromAccessibleContextPackage, |
|
|
|
cGetAccessibleContextAtPackage = 0x100, |
|
cGetAccessibleContextWithFocusPackage, |
|
cGetAccessibleContextInfoPackage, |
|
cGetAccessibleChildFromContextPackage, |
|
cGetAccessibleParentFromContextPackage, |
|
cIsSameObjectPackage, |
|
|
|
cGetAccessibleTextInfoPackage = 0x200, |
|
cGetAccessibleTextItemsPackage, |
|
cGetAccessibleTextSelectionInfoPackage, |
|
cGetAccessibleTextAttributeInfoPackage, |
|
cGetAccessibleTextRectInfoPackage, |
|
cGetAccessibleTextLineBoundsPackage, |
|
cGetAccessibleTextRangePackage, |
|
|
|
cGetCurrentAccessibleValueFromContextPackage = 0x300, |
|
cGetMaximumAccessibleValueFromContextPackage, |
|
cGetMinimumAccessibleValueFromContextPackage, |
|
|
|
cAddAccessibleSelectionFromContextPackage = 0x400, |
|
cClearAccessibleSelectionFromContextPackage, |
|
cGetAccessibleSelectionFromContextPackage, |
|
cGetAccessibleSelectionCountFromContextPackage, |
|
cIsAccessibleChildSelectedFromContextPackage, |
|
cRemoveAccessibleSelectionFromContextPackage, |
|
cSelectAllAccessibleSelectionFromContextPackage, |
|
|
|
cAddJavaEventNotificationPackage = 0x900, |
|
cRemoveJavaEventNotificationPackage, |
|
cAddAccessibilityEventNotificationPackage, |
|
cRemoveAccessibilityEventNotificationPackage, |
|
|
|
cPropertyChangePackage = 0x1000, |
|
|
|
cJavaShutdownPackage = 0x1010, |
|
cFocusGainedPackage, |
|
cFocusLostPackage, |
|
|
|
cCaretUpdatePackage = 0x1020, |
|
|
|
cMouseClickedPackage = 0x1030, |
|
cMouseEnteredPackage, |
|
cMouseExitedPackage, |
|
cMousePressedPackage, |
|
cMouseReleasedPackage, |
|
|
|
cMenuCanceledPackage = 0x1040, |
|
cMenuDeselectedPackage, |
|
cMenuSelectedPackage, |
|
cPopupMenuCanceledPackage, |
|
cPopupMenuWillBecomeInvisiblePackage, |
|
cPopupMenuWillBecomeVisiblePackage, |
|
|
|
cPropertyCaretChangePackage = 0x1100, |
|
cPropertyDescriptionChangePackage, |
|
cPropertyNameChangePackage, |
|
cPropertySelectionChangePackage, |
|
cPropertyStateChangePackage, |
|
cPropertyTextChangePackage, |
|
cPropertyValueChangePackage, |
|
cPropertyVisibleDataChangePackage, |
|
cPropertyChildChangePackage, |
|
cPropertyActiveDescendentChangePackage, |
|
|
|
|
|
|
|
cGetAccessibleTableInfoPackage = 0x1200, |
|
cGetAccessibleTableCellInfoPackage, |
|
|
|
cGetAccessibleTableRowHeaderPackage, |
|
cGetAccessibleTableColumnHeaderPackage, |
|
|
|
cGetAccessibleTableRowDescriptionPackage, |
|
cGetAccessibleTableColumnDescriptionPackage, |
|
|
|
cGetAccessibleTableRowSelectionCountPackage, |
|
cIsAccessibleTableRowSelectedPackage, |
|
cGetAccessibleTableRowSelectionsPackage, |
|
|
|
cGetAccessibleTableColumnSelectionCountPackage, |
|
cIsAccessibleTableColumnSelectedPackage, |
|
cGetAccessibleTableColumnSelectionsPackage, |
|
|
|
cGetAccessibleTableRowPackage, |
|
cGetAccessibleTableColumnPackage, |
|
cGetAccessibleTableIndexPackage, |
|
|
|
cPropertyTableModelChangePackage, |
|
|
|
|
|
|
|
cGetAccessibleRelationSetPackage = 0x1300, |
|
|
|
|
|
cGetAccessibleHypertextPackage = 0x1400, |
|
cActivateAccessibleHyperlinkPackage, |
|
cGetAccessibleHyperlinkCountPackage, |
|
cGetAccessibleHypertextExtPackage, |
|
cGetAccessibleHypertextLinkIndexPackage, |
|
cGetAccessibleHyperlinkPackage, |
|
|
|
|
|
cGetAccessibleKeyBindingsPackage = 0x1500, |
|
cGetAccessibleIconsPackage, |
|
cGetAccessibleActionsPackage, |
|
cDoAccessibleActionsPackage, |
|
|
|
|
|
cSetTextContentsPackage = 0x1600, |
|
cGetParentWithRolePackage, |
|
cGetTopLevelObjectPackage, |
|
cGetParentWithRoleElseRootPackage, |
|
cGetObjectDepthPackage, |
|
cGetActiveDescendentPackage, |
|
|
|
|
|
cGetVirtualAccessibleNamePackage = 0x1700, |
|
cRequestFocusPackage, |
|
cSelectTextRangePackage, |
|
cGetTextAttributesInRangePackage, |
|
cGetSameTextAttributesInRangePackage, |
|
cGetVisibleChildrenCountPackage, |
|
cGetVisibleChildrenPackage, |
|
cSetCaretPositionPackage, |
|
cGetCaretLocationPackage |
|
|
|
|
|
} PackageType; |
|
|
|
|
|
|
|
|
|
|
|
typedef union AllPackagesTag { |
|
|
|
|
|
MemoryMappedFileCreatedPackage memoryMappedFileCreatedPackage; |
|
|
|
JavaVMCreatedPackage javaVMCreatedPackage; |
|
JavaVMDestroyedPackage javaVMDestroyedPackage; |
|
WindowsATCreatedPackage windowsATCreatedPackage; |
|
WindowsATDestroyedPackage windowsATDestroyedPackage; |
|
JavaVMPresentNotificationPackage javaVMPresentNotificationPackage; |
|
WindowsATPresentNotificationPackage windowsATPresentNotificationPackage; |
|
|
|
|
|
ReleaseJavaObjectPackage releaseJavaObject; |
|
GetAccessBridgeVersionPackage getAccessBridgeVersion; |
|
|
|
|
|
GetAccessibleContextFromHWNDPackage getAccessibleContextFromHWND; |
|
GetHWNDFromAccessibleContextPackage getHWNDFromAccessibleContext; |
|
|
|
|
|
GetAccessibleContextAtPackage getAccessibleContextAt; |
|
GetAccessibleContextWithFocusPackage getAccessibleContextWithFocus; |
|
GetAccessibleContextInfoPackage getAccessibleContextInfo; |
|
GetAccessibleChildFromContextPackage getAccessibleChildFromContext; |
|
GetAccessibleParentFromContextPackage getAccessibleParentFromContext; |
|
|
|
|
|
GetAccessibleTextInfoPackage getAccessibleTextInfo; |
|
GetAccessibleTextItemsPackage getAccessibleTextItems; |
|
GetAccessibleTextSelectionInfoPackage getAccessibleTextSelectionInfo; |
|
GetAccessibleTextAttributeInfoPackage getAccessibleTextAttributeInfo; |
|
GetAccessibleTextRectInfoPackage getAccessibleTextRectInfo; |
|
GetAccessibleTextLineBoundsPackage getAccessibleTextLineBounds; |
|
GetAccessibleTextRangePackage getAccessibleTextRange; |
|
|
|
|
|
GetCurrentAccessibleValueFromContextPackage getCurrentAccessibleValueFromContext; |
|
GetMaximumAccessibleValueFromContextPackage getMaximumAccessibleValueFromContext; |
|
GetMinimumAccessibleValueFromContextPackage getMinimumAccessibleValueFromContext; |
|
|
|
|
|
AddAccessibleSelectionFromContextPackage addAccessibleSelectionFromContext; |
|
ClearAccessibleSelectionFromContextPackage clearAccessibleSelectionFromContext; |
|
GetAccessibleSelectionFromContextPackage getAccessibleSelectionFromContext; |
|
GetAccessibleSelectionCountFromContextPackage getAccessibleSelectionCountFromContext; |
|
IsAccessibleChildSelectedFromContextPackage isAccessibleChildSelectedFromContext; |
|
RemoveAccessibleSelectionFromContextPackage removeAccessibleSelectionFromContext; |
|
SelectAllAccessibleSelectionFromContextPackage selectAllAccessibleSelectionFromContext; |
|
|
|
|
|
AddJavaEventNotificationPackage addJavaEventNotification; |
|
RemoveJavaEventNotificationPackage removeJavaEventNotification; |
|
AddAccessibilityEventNotificationPackage addAccessibilityEventNotification; |
|
RemoveAccessibilityEventNotificationPackage removeAccessibilityEventNotification; |
|
|
|
|
|
|
|
PropertyCaretChangePackage propertyCaretChangePackage; |
|
PropertyDescriptionChangePackage propertyDescriptionChangePackage; |
|
PropertyNameChangePackage propertyNameChangePackage; |
|
PropertySelectionChangePackage propertySelectionChangePackage; |
|
PropertyStateChangePackage propertyStateChangePackage; |
|
PropertyTextChangePackage propertyTextChangePackage; |
|
PropertyValueChangePackage propertyValueChangePackage; |
|
PropertyVisibleDataChangePackage propertyVisibleDataChangePackage; |
|
PropertyChildChangePackage propertyChildChangePackage; |
|
PropertyActiveDescendentChangePackage propertyActiveDescendentChangePackage; |
|
|
|
PropertyTableModelChangePackage propertyTableModelChangePackage; |
|
|
|
JavaShutdownPackage JavaShutdown; |
|
FocusGainedPackage focusGained; |
|
FocusLostPackage focusLost; |
|
|
|
CaretUpdatePackage caretUpdate; |
|
|
|
MouseClickedPackage mouseClicked; |
|
MouseEnteredPackage mouseEntered; |
|
MouseExitedPackage mouseExited; |
|
MousePressedPackage mousePressed; |
|
MouseReleasedPackage mouseReleased; |
|
|
|
MenuCanceledPackage menuCanceled; |
|
MenuDeselectedPackage menuDeselected; |
|
MenuSelectedPackage menuSelected; |
|
PopupMenuCanceledPackage popupMenuCanceled; |
|
PopupMenuWillBecomeInvisiblePackage popupMenuWillBecomeInvisible; |
|
PopupMenuWillBecomeVisiblePackage popupMenuWillBecomeVisible; |
|
|
|
|
|
GetAccessibleRelationSetPackage getAccessibleRelationSet; |
|
|
|
|
|
GetAccessibleHypertextPackage _getAccessibleHypertext; |
|
ActivateAccessibleHyperlinkPackage _activateAccessibleHyperlink; |
|
GetAccessibleHyperlinkCountPackage _getAccessibleHyperlinkCount; |
|
GetAccessibleHypertextExtPackage _getAccessibleHypertextExt; |
|
GetAccessibleHypertextLinkIndexPackage _getAccessibleHypertextLinkIndex; |
|
GetAccessibleHyperlinkPackage _getAccessibleHyperlink; |
|
|
|
|
|
GetAccessibleKeyBindingsPackage getAccessibleKeyBindings; |
|
GetAccessibleIconsPackage getAccessibleIcons; |
|
GetAccessibleActionsPackage getAccessibleActions; |
|
DoAccessibleActionsPackage doAccessibleActions; |
|
|
|
|
|
SetTextContentsPackage _setTextContents; |
|
GetParentWithRolePackage _getParentWithRole; |
|
GetTopLevelObjectPackage _getTopLevelObject; |
|
GetParentWithRoleElseRootPackage _getParentWithRoleElseRoot; |
|
GetObjectDepthPackage _getObjectDepth; |
|
GetActiveDescendentPackage _getActiveDescendent; |
|
|
|
|
|
GetVirtualAccessibleNamePackage _getVirtualAccessibleName; |
|
RequestFocusPackage _requestFocus; |
|
SelectTextRangePackage _selectTextRange; |
|
GetTextAttributesInRangePackage _getTextAttributesInRange; |
|
GetVisibleChildrenCountPackage _getVisibleChildrenCount; |
|
GetVisibleChildrenPackage _getVisibleChildren; |
|
SetCaretPositionPackage _setCaretPosition; |
|
|
|
} AllPackages; |
|
|
|
|
|
|
|
|
|
|
|
typedef union JavaInitiatedPackagesTag { |
|
|
|
|
|
JavaVMCreatedPackage javaVMCreatedPackage; |
|
JavaVMDestroyedPackage javaVMDestroyedPackage; |
|
JavaVMPresentNotificationPackage javaVMPresentNotificationPackage; |
|
|
|
|
|
PropertyCaretChangePackage propertyCaretChangePackage; |
|
PropertyDescriptionChangePackage propertyDescriptionChangePackage; |
|
PropertyNameChangePackage propertyNameChangePackage; |
|
PropertySelectionChangePackage propertySelectionChangePackage; |
|
PropertyStateChangePackage propertyStateChangePackage; |
|
PropertyTextChangePackage propertyTextChangePackage; |
|
PropertyValueChangePackage propertyValueChangePackage; |
|
PropertyVisibleDataChangePackage propertyVisibleDataChangePackage; |
|
PropertyChildChangePackage propertyChildChangePackage; |
|
PropertyActiveDescendentChangePackage propertyActiveDescendentChangePackage; |
|
|
|
PropertyTableModelChangePackage propertyTableModelChangePackage; |
|
|
|
JavaShutdownPackage JavaShutdown; |
|
FocusGainedPackage focusGained; |
|
FocusLostPackage focusLost; |
|
|
|
CaretUpdatePackage caretUpdate; |
|
|
|
MouseClickedPackage mouseClicked; |
|
MouseEnteredPackage mouseEntered; |
|
MouseExitedPackage mouseExited; |
|
MousePressedPackage mousePressed; |
|
MouseReleasedPackage mouseReleased; |
|
|
|
MenuCanceledPackage menuCanceled; |
|
MenuDeselectedPackage menuDeselected; |
|
MenuSelectedPackage menuSelected; |
|
PopupMenuCanceledPackage popupMenuCanceled; |
|
PopupMenuWillBecomeInvisiblePackage popupMenuWillBecomeInvisible; |
|
PopupMenuWillBecomeVisiblePackage popupMenuWillBecomeVisible; |
|
|
|
} JavaInitiatedPackages; |
|
|
|
|
|
|
|
|
|
|
|
typedef union WindowsInitiatedPackagesTag { |
|
|
|
|
|
MemoryMappedFileCreatedPackage memoryMappedFileCreatedPackage; |
|
|
|
WindowsATCreatedPackage windowsATCreatedPackage; |
|
WindowsATDestroyedPackage windowsATDestroyedPackage; |
|
WindowsATPresentNotificationPackage windowsATPresentNotificationPackage; |
|
|
|
|
|
ReleaseJavaObjectPackage releaseJavaObject; |
|
GetAccessBridgeVersionPackage getAccessBridgeVersion; |
|
|
|
|
|
GetAccessibleContextFromHWNDPackage getAccessibleContextFromHWND; |
|
GetHWNDFromAccessibleContextPackage getHWNDFromAccessibleContext; |
|
|
|
|
|
GetAccessibleContextAtPackage getAccessibleContextAt; |
|
GetAccessibleContextWithFocusPackage getAccessibleContextWithFocus; |
|
GetAccessibleContextInfoPackage getAccessibleContextInfo; |
|
GetAccessibleChildFromContextPackage getAccessibleChildFromContext; |
|
GetAccessibleParentFromContextPackage getAccessibleParentFromContext; |
|
|
|
|
|
GetAccessibleTextInfoPackage getAccessibleTextInfo; |
|
GetAccessibleTextItemsPackage getAccessibleTextItems; |
|
GetAccessibleTextSelectionInfoPackage getAccessibleTextSelectionInfo; |
|
GetAccessibleTextAttributeInfoPackage getAccessibleTextAttributeInfo; |
|
GetAccessibleTextRectInfoPackage getAccessibleTextRectInfo; |
|
GetAccessibleTextLineBoundsPackage getAccessibleTextLineBounds; |
|
GetAccessibleTextRangePackage getAccessibleTextRange; |
|
|
|
|
|
GetCurrentAccessibleValueFromContextPackage getCurrentAccessibleValueFromContext; |
|
GetMaximumAccessibleValueFromContextPackage getMaximumAccessibleValueFromContext; |
|
GetMinimumAccessibleValueFromContextPackage getMinimumAccessibleValueFromContext; |
|
|
|
|
|
AddAccessibleSelectionFromContextPackage addAccessibleSelectionFromContext; |
|
ClearAccessibleSelectionFromContextPackage clearAccessibleSelectionFromContext; |
|
GetAccessibleSelectionFromContextPackage getAccessibleSelectionFromContext; |
|
GetAccessibleSelectionCountFromContextPackage getAccessibleSelectionCountFromContext; |
|
IsAccessibleChildSelectedFromContextPackage isAccessibleChildSelectedFromContext; |
|
RemoveAccessibleSelectionFromContextPackage removeAccessibleSelectionFromContext; |
|
SelectAllAccessibleSelectionFromContextPackage selectAllAccessibleSelectionFromContext; |
|
|
|
|
|
AddJavaEventNotificationPackage addJavaEventNotification; |
|
RemoveJavaEventNotificationPackage removeJavaEventNotification; |
|
AddAccessibilityEventNotificationPackage addAccessibilityEventNotification; |
|
RemoveAccessibilityEventNotificationPackage removeAccessibilityEventNotification; |
|
|
|
|
|
GetAccessibleTableInfoPackage _getAccessibleTableInfo; |
|
GetAccessibleTableCellInfoPackage _getAccessibleTableCellInfo; |
|
|
|
GetAccessibleTableRowHeaderPackage _getAccessibleTableRowHeader; |
|
GetAccessibleTableColumnHeaderPackage _getAccessibleTableColumnHeader; |
|
|
|
GetAccessibleTableRowDescriptionPackage _getAccessibleTableRowDescription; |
|
GetAccessibleTableColumnDescriptionPackage _getAccessibleTableColumnDescription; |
|
|
|
GetAccessibleTableRowSelectionCountPackage _getAccessibleTableRowSelectionCount; |
|
IsAccessibleTableRowSelectedPackage _isAccessibleTableRowSelected; |
|
GetAccessibleTableRowSelectionsPackage _getAccessibleTableRowSelections; |
|
|
|
GetAccessibleTableColumnSelectionCountPackage _getAccessibleTableColumnSelectionCount; |
|
IsAccessibleTableColumnSelectedPackage _isAccessibleTableColumnSelected; |
|
GetAccessibleTableColumnSelectionsPackage _getAccessibleTableColumnSelections; |
|
|
|
GetAccessibleTableRowPackage _getAccessibleTableRow; |
|
GetAccessibleTableColumnPackage _getAccessibleTableColumn; |
|
GetAccessibleTableIndexPackage _getAccessibleTableIndex; |
|
|
|
|
|
GetAccessibleRelationSetPackage _getAccessibleRelationSet; |
|
|
|
|
|
GetAccessibleKeyBindingsPackage _getAccessibleKeyBindings; |
|
GetAccessibleIconsPackage _getAccessibleIcons; |
|
GetAccessibleActionsPackage _getAccessibleActions; |
|
DoAccessibleActionsPackage _doAccessibleActions; |
|
|
|
|
|
IsSameObjectPackage _isSameObject; |
|
|
|
|
|
SetTextContentsPackage _setTextContents; |
|
GetParentWithRolePackage _getParentWithRole; |
|
GetTopLevelObjectPackage _getTopLevelObject; |
|
GetParentWithRoleElseRootPackage _getParentWithRoleElseRoot; |
|
GetObjectDepthPackage _getObjectDepth; |
|
GetActiveDescendentPackage _getActiveDescendent; |
|
|
|
|
|
GetVirtualAccessibleNamePackage _getVirtualAccessibleName; |
|
RequestFocusPackage _requestFocus; |
|
SelectTextRangePackage _selectTextRange; |
|
GetTextAttributesInRangePackage _getTextAttributesInRange; |
|
GetVisibleChildrenCountPackage _getVisibleChildrenCount; |
|
GetVisibleChildrenPackage _getVisibleChildren; |
|
SetCaretPositionPackage _setCaretPosition; |
|
|
|
|
|
} WindowsInitiatedPackages; |
|
|
|
|
|
#ifdef __cplusplus |
|
} |
|
#endif |
|
|
|
#endif |
|
|