uiautomationcore: Only print FIXME messages for missing default clientside providers once.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
This commit is contained in:
parent
29d8c3828f
commit
b22a06281a
1 changed files with 5 additions and 2 deletions
|
@ -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,7 +3154,8 @@ static SAFEARRAY WINAPI *default_uia_provider_callback(HWND hwnd, enum ProviderT
|
||||||
}
|
}
|
||||||
|
|
||||||
case ProviderType_NonClientArea:
|
case ProviderType_NonClientArea:
|
||||||
FIXME("Default ProviderType_NonClientArea provider unimplemented.\n");
|
if (!fixme_once++)
|
||||||
|
FIXME("Default ProviderType_NonClientArea provider unimplemented.\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ProviderType_BaseHwnd:
|
case ProviderType_BaseHwnd:
|
||||||
|
@ -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)
|
||||||
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])
|
||||||
|
|
Loading…
Add table
Reference in a new issue