Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
fc3b0d33
Commit
fc3b0d33
authored
Feb 14, 2023
by
Connor McAdams
Committed by
Alexandre Julliard
Mar 31, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uiautomationcore: Add support for UIA_LegacyIAccessibleChildIdPropertyId.
Signed-off-by:
Connor McAdams
<
cmcadams@codeweavers.com
>
parent
77fa7403
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
7 deletions
+19
-7
uiautomation.c
dlls/uiautomationcore/tests/uiautomation.c
+0
-0
uia_client.c
dlls/uiautomationcore/uia_client.c
+10
-0
uia_ids.c
dlls/uiautomationcore/uia_ids.c
+3
-1
uia_private.h
dlls/uiautomationcore/uia_private.h
+6
-0
uia_provider.c
dlls/uiautomationcore/uia_provider.c
+0
-6
No files found.
dlls/uiautomationcore/tests/uiautomation.c
View file @
fc3b0d33
This diff is collapsed.
Click to expand it.
dlls/uiautomationcore/uia_client.c
View file @
fc3b0d33
...
...
@@ -1571,6 +1571,16 @@ static HRESULT uia_provider_get_pattern_prop_val(struct uia_provider *prov,
break
;
}
case
UIA_LegacyIAccessibleChildIdPropertyId
:
{
int
val
;
hr
=
ILegacyIAccessibleProvider_get_ChildId
((
ILegacyIAccessibleProvider
*
)
pattern_prov
,
&
val
);
if
(
SUCCEEDED
(
hr
))
variant_init_i4
(
ret_val
,
val
);
break
;
}
default:
break
;
}
...
...
dlls/uiautomationcore/uia_ids.c
View file @
fc3b0d33
...
...
@@ -152,7 +152,9 @@ static const struct uia_prop_info default_uia_properties[] = {
{
&
RangeValue_SmallChange_Property_GUID
,
UIA_RangeValueSmallChangePropertyId
,
},
{
&
IsTextEditPatternAvailable_Property_GUID
,
UIA_IsTextEditPatternAvailablePropertyId
,
},
{
&
GridItem_Column_Property_GUID
,
UIA_GridItemColumnPropertyId
,
},
{
&
LegacyIAccessible_ChildId_Property_GUID
,
UIA_LegacyIAccessibleChildIdPropertyId
,
},
{
&
LegacyIAccessible_ChildId_Property_GUID
,
UIA_LegacyIAccessibleChildIdPropertyId
,
PROP_TYPE_PATTERN_PROP
,
UIAutomationType_Int
,
UIA_LegacyIAccessiblePatternId
,
},
{
&
Annotation_DateTime_Property_GUID
,
UIA_AnnotationDateTimePropertyId
,
},
{
&
IsTablePatternAvailable_Property_GUID
,
UIA_IsTablePatternAvailablePropertyId
,
},
{
&
SelectionItem_IsSelected_Property_GUID
,
UIA_SelectionItemIsSelectedPropertyId
,
},
...
...
dlls/uiautomationcore/uia_private.h
View file @
fc3b0d33
...
...
@@ -99,6 +99,12 @@ static inline void variant_init_bool(VARIANT *v, BOOL val)
V_BOOL
(
v
)
=
val
?
VARIANT_TRUE
:
VARIANT_FALSE
;
}
static
inline
void
variant_init_i4
(
VARIANT
*
v
,
int
val
)
{
V_VT
(
v
)
=
VT_I4
;
V_I4
(
v
)
=
val
;
}
static
inline
BOOL
uia_array_reserve
(
void
**
elements
,
SIZE_T
*
capacity
,
SIZE_T
count
,
SIZE_T
size
)
{
SIZE_T
max_capacity
,
new_capacity
;
...
...
dlls/uiautomationcore/uia_provider.c
View file @
fc3b0d33
...
...
@@ -28,12 +28,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(uiautomation);
DEFINE_GUID
(
SID_AccFromDAWrapper
,
0x33f139ee
,
0xe509
,
0x47f7
,
0xbf
,
0x39
,
0x83
,
0x76
,
0x44
,
0xf7
,
0x45
,
0x76
);
static
void
variant_init_i4
(
VARIANT
*
v
,
int
val
)
{
V_VT
(
v
)
=
VT_I4
;
V_I4
(
v
)
=
val
;
}
static
BOOL
msaa_check_acc_state
(
IAccessible
*
acc
,
VARIANT
cid
,
ULONG
flag
)
{
HRESULT
hr
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment