I wonder if AT needs only one target then would the pointer to the
pointer work as an array (like IUnknown* acc and pass acc to the
method)?
IA2_2::nTargetsByRelationType([in] BSTR type, [out,retval] long *nTargets)
IA2_2::targetByRelationType([in] long targetIndex, [out, retval] IUknown
On 6/03/2012 2:27 AM, Pete Brunet wrote:
HRESULT IAccessible2_2::targetsByRelationType (
[in] BSTR type,
[out, size_is(,*nTargets)] long **targets,
[out, retval] long *nTargets )
This does not have the extra [in] count parameter Jamie proposed so the
client doesn't need to know before
Thanks Alex (and Jamie), I offer two choices, and in both cases using
IDL like our recently added IATable2::selectedRows/Columns/Cells. I
like the first choice better because it offers a very simple method for
the case that will be used 99% of the time. The second choice is the
one Jamie