oleacc: Add Client_get_accChildCount implementation.
This commit is contained in:
parent
da8005c75e
commit
99d0590b01
|
@ -120,8 +120,15 @@ static HRESULT WINAPI Client_get_accParent(IAccessible *iface, IDispatch **ppdis
|
||||||
static HRESULT WINAPI Client_get_accChildCount(IAccessible *iface, LONG *pcountChildren)
|
static HRESULT WINAPI Client_get_accChildCount(IAccessible *iface, LONG *pcountChildren)
|
||||||
{
|
{
|
||||||
Client *This = impl_from_Client(iface);
|
Client *This = impl_from_Client(iface);
|
||||||
FIXME("(%p)->(%p)\n", This, pcountChildren);
|
HWND cur;
|
||||||
return E_NOTIMPL;
|
|
||||||
|
TRACE("(%p)->(%p)\n", This, pcountChildren);
|
||||||
|
|
||||||
|
*pcountChildren = 0;
|
||||||
|
for(cur = GetWindow(This->hwnd, GW_CHILD); cur; cur = GetWindow(cur, GW_HWNDNEXT))
|
||||||
|
(*pcountChildren)++;
|
||||||
|
|
||||||
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
static HRESULT WINAPI Client_get_accChild(IAccessible *iface,
|
static HRESULT WINAPI Client_get_accChild(IAccessible *iface,
|
||||||
|
|
Loading…
Reference in New Issue