Skip to content

Commit

Permalink
More fixes for IAccessible2_3 interface
Browse files Browse the repository at this point in the history
  • Loading branch information
asurkov committed Dec 18, 2015
1 parent f76c362 commit c5b43ab
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions api/Accessible2.idl
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@

@section _structs Structs
IA2Locale\n
IA2Range\n
IA2TableModelChange\n
IA2TextSegment

Expand Down
20 changes: 12 additions & 8 deletions api/Accessible2_3.idl
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ import "Accessible2_2.idl";
* the selection.
*/
typedef struct IA2Range {
IAccessible* anchor;
IUnknown* anchor;
long anchorOffset;
Accessible* active;
IUnknown* active;
long activeOffset;
} IA2Range;

Expand All @@ -34,13 +34,17 @@ interface IAccessible2_3 : IAccessible2_2
{
/**
* @brief Returns an array of ranges for selections within the accessible.
* @param [out] the array of selection ranges
* @param [out] the array length
* @param [out] ranges
The array of selection ranges, allocated by the server. The client must
free it with CoTaskMemFree.
* @param [out] nRanges
the array length
* @retval S_OK
* @retval S_FALSE returned if there is no selection within the accessible
*/
[propget] HRESULT selectionRanges(
[out, size_is(,*nRanges) IA2Range **ranges,
[out, retval] long *nRanges
);
[propget] HRESULT selectionRanges
(
[out, size_is(,*nRanges)] IA2Range **ranges,
[out, retval] long *nRanges
);
}

0 comments on commit c5b43ab

Please sign in to comment.