diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-14 12:29:05 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-14 12:29:05 -0500 |
| commit | b10ec3d8c231a02b053031954ba9058202f6e49c (patch) | |
| tree | 52210b36e0c1e51a5952e6f9053db00b84fb220f | |
| parent | 32b09d5cb74df1611daf544370db440a2a66e276 (diff) | |
Added more test accessibility implementations. I'm going to need to implement the save list now :S
| -rw-r--r-- | wintable/accessibility.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wintable/accessibility.h b/wintable/accessibility.h index 5e45256..539dd12 100644 --- a/wintable/accessibility.h +++ b/wintable/accessibility.h @@ -120,6 +120,11 @@ static HRESULT STDMETHODCALLTYPE tableAccget_accParent(IAccessible *this, IDispa static HRESULT STDMETHODCALLTYPE tableAccget_accChildCount(IAccessible *this, long *pcountChildren) { +//TODO +if (pcountChildren == NULL) +return E_POINTER; +*pcountChildren = 0; +return S_OK; return IAccessible_get_accChildCount(TA->std, pcountChildren); } @@ -130,6 +135,11 @@ static HRESULT STDMETHODCALLTYPE tableAccget_accChild(IAccessible *this, VARIANT static HRESULT STDMETHODCALLTYPE tableAccget_accName(IAccessible *this, VARIANT varChild, BSTR *pszName) { +//TODO +if (pszName == NULL) +return E_POINTER; +*pszName = SysAllocString(L"accessible table"); +return S_OK; return IAccessible_get_accName(TA->std, varChild, pszName); } @@ -145,6 +155,12 @@ static HRESULT STDMETHODCALLTYPE tableAccget_accDescription(IAccessible *this, V static HRESULT STDMETHODCALLTYPE tableAccget_accRole(IAccessible *this, VARIANT varChild, VARIANT *pvarRole) { +//TODO +if (pvarRole == NULL) +return E_POINTER; +pvarRole->vt = VT_I4; +pvarRole->lVal = TA->what.role; +return S_OK; return IAccessible_get_accRole(TA->std, varChild, pvarRole); } |
