UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WindowsUIAWidgetProvider.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if WITH_ACCESSIBILITY && UE_WINDOWS_USING_UIA
6
8#include "Misc/Variant.h"
9
12
24{
25 friend class FWindowsUIAManager;
26public:
27 // IUnknown
28 virtual HRESULT STDCALL QueryInterface(REFIID riid, void** ppInterface) override;
29 virtual ULONG STDCALL AddRef() override;
30 virtual ULONG STDCALL Release() override;
31 // ~
32
33 // IRawElementProviderSimple
38 // ~
39
40 // IRawElementProviderFragment
42 virtual HRESULT STDCALL GetRuntimeId(SAFEARRAY** pRetVal) override;
45 virtual HRESULT STDCALL SetFocus() override;
47 // ~
48
58
59protected:
62
63// void UpdateCachedProperties();
64//private:
65// void UpdateCachedProperty(PROPERTYID PropertyId);
66// TMap<int32, FVariant> CachedPropertyValues;
67};
68
75{
76 friend class FWindowsUIAManager;
77public:
78 // IUnknown
79 virtual HRESULT STDCALL QueryInterface(REFIID riid, void** ppInterface) override;
80 virtual ULONG STDCALL AddRef() override;
81 virtual ULONG STDCALL Release() override;
82 // ~
83
84 // IRawElementProviderSimple
87 // ~
88
89 // IRawElementProviderFragmentRoot
90 virtual HRESULT STDCALL ElementProviderFromPoint(double x, double y, IRawElementProviderFragment** pRetVal) override;
92 // ~
93
94protected:
98};
99
106{
107public:
109 : Provider(InProvider)
110 {
111 }
113 {
114 Provider.Release();
115 }
117};
118
119#endif
#define STDCALL
Definition AndroidPlatform.h:136
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SharedPointer.h:153
EPropertyBagResult GetPropertyValue(const FPropertyBagPropertyDesc *Desc, const void *Address, T &OutValue)
Definition PropertyBag.cpp:761