Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
b22a0628
Commit
b22a0628
authored
Oct 19, 2023
by
Connor McAdams
Committed by
Alexandre Julliard
Oct 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uiautomationcore: Only print FIXME messages for missing default clientside providers once.
Signed-off-by:
Connor McAdams
<
cmcadams@codeweavers.com
>
parent
29d8c382
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
uia_client.c
dlls/uiautomationcore/uia_client.c
+4
-1
No files found.
dlls/uiautomationcore/uia_client.c
View file @
b22a0628
...
@@ -3131,6 +3131,7 @@ HRESULT WINAPI UiaHUiaNodeFromVariant(VARIANT *in_val, HUIANODE *huianode)
...
@@ -3131,6 +3131,7 @@ HRESULT WINAPI UiaHUiaNodeFromVariant(VARIANT *in_val, HUIANODE *huianode)
static
SAFEARRAY
WINAPI
*
default_uia_provider_callback
(
HWND
hwnd
,
enum
ProviderType
prov_type
)
static
SAFEARRAY
WINAPI
*
default_uia_provider_callback
(
HWND
hwnd
,
enum
ProviderType
prov_type
)
{
{
IRawElementProviderSimple
*
elprov
=
NULL
;
IRawElementProviderSimple
*
elprov
=
NULL
;
static
BOOL
fixme_once
;
SAFEARRAY
*
sa
=
NULL
;
SAFEARRAY
*
sa
=
NULL
;
HRESULT
hr
;
HRESULT
hr
;
...
@@ -3153,6 +3154,7 @@ static SAFEARRAY WINAPI *default_uia_provider_callback(HWND hwnd, enum ProviderT
...
@@ -3153,6 +3154,7 @@ static SAFEARRAY WINAPI *default_uia_provider_callback(HWND hwnd, enum ProviderT
}
}
case
ProviderType_NonClientArea
:
case
ProviderType_NonClientArea
:
if
(
!
fixme_once
++
)
FIXME
(
"Default ProviderType_NonClientArea provider unimplemented.
\n
"
);
FIXME
(
"Default ProviderType_NonClientArea provider unimplemented.
\n
"
);
break
;
break
;
...
@@ -3238,6 +3240,7 @@ exit:
...
@@ -3238,6 +3240,7 @@ exit:
static
HRESULT
uia_get_providers_for_hwnd
(
struct
uia_node
*
node
)
static
HRESULT
uia_get_providers_for_hwnd
(
struct
uia_node
*
node
)
{
{
static
BOOL
fixme_once
;
HRESULT
hr
;
HRESULT
hr
;
hr
=
uia_get_provider_from_hwnd
(
node
);
hr
=
uia_get_provider_from_hwnd
(
node
);
...
@@ -3251,7 +3254,7 @@ static HRESULT uia_get_providers_for_hwnd(struct uia_node *node)
...
@@ -3251,7 +3254,7 @@ static HRESULT uia_get_providers_for_hwnd(struct uia_node *node)
return
hr
;
return
hr
;
}
}
if
(
!
node
->
prov
[
PROV_TYPE_OVERRIDE
])
if
(
!
node
->
prov
[
PROV_TYPE_OVERRIDE
]
&&
!
fixme_once
++
)
FIXME
(
"Override provider callback currently unimplemented.
\n
"
);
FIXME
(
"Override provider callback currently unimplemented.
\n
"
);
if
(
!
node
->
prov
[
PROV_TYPE_NONCLIENT
])
if
(
!
node
->
prov
[
PROV_TYPE_NONCLIENT
])
...
...
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