Fixed other accessibility errors (partially thanks to Raymond Chen)
This commit is contained in:
parent
f6f2fba34e
commit
45a2b6b731
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue