summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-24 21:53:30 -0500
committerPietro Gagliardi <[email protected]>2014-12-24 21:53:30 -0500
commit45a2b6b7315349b0611cae3b6623321ca256e6b2 (patch)
treeeabab24a0672fecdf5510b0970d2c7f0ac487ac1
parentf6f2fba34e79aa47c5890354dc0d2677525b2a7c (diff)
Fixed other accessibility errors (partially thanks to Raymond Chen)
-rw-r--r--wintable/new/accessibility.h8
-rw-r--r--wintable/new/main.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/wintable/new/accessibility.h b/wintable/new/accessibility.h
index bef21e0..a676a09 100644
--- a/wintable/new/accessibility.h
+++ b/wintable/new/accessibility.h
@@ -10,9 +10,9 @@ static HRESULT STDMETHODCALLTYPE tableAccQueryInterface(IAccessible *this, REFII
{
if (ppvObject == NULL)
return E_POINTER;
- if (IsEqualIID(riid, IID_IUnknown) ||
- IsEqualIID(riid, IID_IDispatch) ||
- IsEqualIID(riid, IID_IAccessible)) {
+ if (IsEqualIID(riid, &IID_IUnknown) ||
+ IsEqualIID(riid, &IID_IDispatch) ||
+ IsEqualIID(riid, &IID_IAccessible)) {
*ppvObject = (void *) this;
return S_OK;
}
@@ -256,7 +256,7 @@ HANDLER(accessibilityHandler)
return FALSE;
if (wParam != OBJID_CLIENT)
return FALSE;
- *lResult = LresultFromObject(IID_IAccessible, wParam, t->ta);
+ *lResult = LresultFromObject(&IID_IAccessible, wParam, t->ta);
// TODO check *lResult
return TRUE;
}
diff --git a/wintable/new/main.c b/wintable/new/main.c
index 89d3454..ae8d314 100644
--- a/wintable/new/main.c
+++ b/wintable/new/main.c
@@ -21,7 +21,7 @@
#include <vssym32.h>
#include <oleacc.h>
-// #qo LIBS: user32 kernel32 gdi32 comctl32 uxtheme
+// #qo LIBS: user32 kernel32 gdi32 comctl32 uxtheme ole32 oleacc uuid
// TODO
// - should tablePanic be CALLBACK or some other equivalent macro? and definitely export initTable somehow, but which alias macro to use?