https://git.reactos.org/?p=reactos.git;a=commitdiff;h=883863fa509d4dbd35cc0…
commit 883863fa509d4dbd35cc062990395512e12a659b
Author: Katayama Hirofumi MZ <katayama.hirofumi.mz(a)gmail.com>
AuthorDate: Sat Jan 27 19:25:17 2024 +0900
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Jan 27 19:25:17 2024 +0900
[MSUTB] Add CTipbarAccItem (#6415)
Supporting Language Bar...
JIRA issue: CORE-19363
Half-implement CTipbarAccItem class.
---
dll/win32/msutb/msutb.cpp | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/dll/win32/msutb/msutb.cpp b/dll/win32/msutb/msutb.cpp
index 1283165d078..605fc6130d4 100644
--- a/dll/win32/msutb/msutb.cpp
+++ b/dll/win32/msutb/msutb.cpp
@@ -88,6 +88,48 @@ public:
/***********************************************************************/
+class CTipbarAccItem
+{
+public:
+ CTipbarAccItem() { }
+ virtual ~CTipbarAccItem() { }
+
+ STDMETHOD_(BSTR, GetAccName)()
+ {
+ return SysAllocString(L"");
+ }
+ STDMETHOD(UnknownMethod1)() // FIXME: Name
+ {
+ return S_OK;
+ }
+ STDMETHOD_(INT, GetAccRole)()
+ {
+ return 10;
+ }
+ STDMETHOD_(INT, GetAccState)()
+ {
+ return 256;
+ }
+ STDMETHOD_(void, GetAccLocation)(LPRECT lprc)
+ {
+ *lprc = { 0, 0, 0, 0 };
+ }
+ STDMETHOD(UnknownMethod2)() // FIXME: Name
+ {
+ return S_OK;
+ }
+ STDMETHOD(UnknownMethod3)() // FIXME: Name
+ {
+ return S_OK;
+ }
+ STDMETHOD(UnknownMethod4)() // FIXME: Name
+ {
+ return S_OK;
+ }
+};
+
+/***********************************************************************/
+
class CTrayIconWnd
{
public: