[PATCH v5 1/3] include: Add UI Automation Pattern ID definitions.

Connor McAdams cmcadams at codeweavers.com
Mon Sep 27 09:46:43 CDT 2021


Signed-off-by: Connor McAdams <cmcadams at codeweavers.com>
---
 include/uiautomationclient.idl | 43 ++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/include/uiautomationclient.idl b/include/uiautomationclient.idl
index ca768ba6d07..9f8b303f1fe 100644
--- a/include/uiautomationclient.idl
+++ b/include/uiautomationclient.idl
@@ -27,6 +27,49 @@ import "uiautomationcore.idl";
 library UIAutomationClient {
     importlib ("stdole2.tlb");
 
+    /* FIXME: Uncomment when properly supported in widl
+    [dllname("<no entry points>")]
+    module UIA_PatternIds
+    {
+    */
+        const long UIA_InvokePatternId         = 10000;
+        const long UIA_SelectionPatternId      = 10001;
+        const long UIA_ValuePatternId          = 10002;
+        const long UIA_RangeValuePatternId     = 10003;
+        const long UIA_ScrollPatternId         = 10004;
+        const long UIA_ExpandCollapsePatternId = 10005;
+        const long UIA_GridPatternId           = 10006;
+        const long UIA_GridItemPatternId       = 10007;
+        const long UIA_MultipleViewPatternId   = 10008;
+        const long UIA_WindowPatternId         = 10009;
+        const long UIA_SelectionItemPatternId  = 10010;
+        const long UIA_DockPatternId           = 10011;
+        const long UIA_TablePatternId          = 10012;
+        const long UIA_TableItemPatternId      = 10013;
+        const long UIA_TextPatternId           = 10014;
+        const long UIA_TogglePatternId         = 10015;
+        const long UIA_TransformPatternId      = 10016;
+        const long UIA_ScrollItemPatternId     = 10017;
+        const long UIA_LegacyIAccessiblePatternId = 10018;
+        const long UIA_ItemContainerPatternId     = 10019;
+        const long UIA_VirtualizedItemPatternId   = 10020;
+        const long UIA_SynchronizedInputPatternId = 10021;
+        const long UIA_ObjectModelPatternId = 10022;
+        const long UIA_AnnotationPatternId  = 10023;
+        const long UIA_TextPattern2Id       = 10024;
+        const long UIA_StylesPatternId      = 10025;
+        const long UIA_SpreadsheetPatternId = 10026;
+        const long UIA_SpreadsheetItemPatternId  = 10027;
+        const long UIA_TransformPattern2Id       = 10028;
+        const long UIA_TextChildPatternId        = 10029;
+        const long UIA_DragPatternId             = 10030;
+        const long UIA_DropTargetPatternId       = 10031;
+        const long UIA_TextEditPatternId         = 10032;
+        const long UIA_CustomNavigationPatternId = 10033;
+    /*
+    }
+    */
+
     /* FIXME: Uncomment when properly supported in widl
     [dllname("<no entry points>")]
     module UIA_PropertyIds
-- 
2.25.1




More information about the wine-devel mailing list