Commit 9a11e524 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

include: Fixed method arguments attributes for oleacc.idl.

parent b4769495
...@@ -228,7 +228,9 @@ interface IAccessibleHandler : IUnknown ...@@ -228,7 +228,9 @@ interface IAccessibleHandler : IUnknown
] ]
interface IAccIdentity : IUnknown interface IAccIdentity : IUnknown
{ {
HRESULT GetIdentityString ([in] DWORD dwIDChild, [out] BYTE **ppIDString, [out] DWORD *pdwIDStringLen); HRESULT GetIdentityString([in] DWORD idchild,
[out, size_is(*string_len)] BYTE **str,
[out] DWORD *string_len);
} }
[ [
...@@ -238,8 +240,11 @@ interface IAccIdentity : IUnknown ...@@ -238,8 +240,11 @@ interface IAccIdentity : IUnknown
] ]
interface IAccPropServer: IUnknown interface IAccPropServer: IUnknown
{ {
HRESULT GetPropValue ([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] MSAAPROPID idProp, HRESULT GetPropValue([in, size_is(string_len)] const BYTE *str,
[out] VARIANT *pvarValue, [out] BOOL *pfHasProp); [in] DWORD string_len,
[in] MSAAPROPID idProp,
[out] VARIANT *value,
[out] BOOL *has_prop);
} }
[ [
...@@ -249,45 +254,80 @@ interface IAccPropServer: IUnknown ...@@ -249,45 +254,80 @@ interface IAccPropServer: IUnknown
] ]
interface IAccPropServices : IUnknown interface IAccPropServices : IUnknown
{ {
HRESULT SetPropValue([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] MSAAPROPID idProp, [in] VARIANT var); HRESULT SetPropValue([in, size_is(string_len)] const BYTE *str,
[in] DWORD string_len,
HRESULT SetPropServer([in] const BYTE * pIDString, [in] DWORD dwIDStringLen, [in] const MSAAPROPID* paProps, [in] MSAAPROPID idProp,
[in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope); [in] VARIANT var);
HRESULT ClearProps([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] const MSAAPROPID* paProps, [in] int cProps); HRESULT SetPropServer([in, size_is(string_len)] const BYTE *str,
[in] DWORD string_len,
[in, size_is(cProps)] const MSAAPROPID *props,
[in] int cProps,
[in] IAccPropServer* pServer,
[in] AnnoScope AnnoScope);
HRESULT ClearProps([in, size_is(string_len)] const BYTE *str,
[in] DWORD string_len,
[in, size_is(cProps)] const MSAAPROPID *props,
[in] int cProps);
HRESULT SetHwndProp([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, HRESULT SetHwndProp([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
[in] MSAAPROPID idProp, [in] VARIANT var); [in] MSAAPROPID idProp, [in] VARIANT var);
HRESULT SetHwndPropStr([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, HRESULT SetHwndPropStr([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild,
[in] MSAAPROPID idProp, [in] LPWSTR str); [in] MSAAPROPID idProp, [in, string] LPWSTR str);
HRESULT SetHwndPropServer([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, HRESULT SetHwndPropServer([in] HWND hwnd,
[in] const MSAAPROPID* paProps, [in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope); [in] DWORD idObject,
[in] DWORD idChild,
HRESULT ClearHwndProps([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, [in, size_is(cProps)] const MSAAPROPID *props,
[in] const MSAAPROPID* paProps, [in] int cProps); [in] int cProps,
[in] IAccPropServer *server,
HRESULT ComposeHwndIdentityString([in] HWND hwnd, [in] DWORD idObject, [in] DWORD idChild, [in] AnnoScope scope);
[out] BYTE **ppIDString, [out] DWORD* pdwIDStringLen);
HRESULT ClearHwndProps([in] HWND hwnd,
HRESULT DecomposeHwndIdentityString([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] DWORD idObject,
[out] HWND* phwnd, [out] DWORD* pidObject, [out] DWORD* pidChild); [in] DWORD idChild,
[in, size_is(cProps)] const MSAAPROPID *props,
[in] int cProps);
HRESULT ComposeHwndIdentityString([in] HWND hwnd,
[in] DWORD idObject,
[in] DWORD idChild,
[out, size_is(*string_len)] BYTE **str,
[out] DWORD *string_len);
HRESULT DecomposeHwndIdentityString([in, size_is(string_len)] const BYTE *str,
[in] DWORD string_len,
[out] HWND *phwnd,
[out] DWORD *pidObject,
[out] DWORD *pidChild);
HRESULT SetHmenuProp([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] VARIANT var); HRESULT SetHmenuProp([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] VARIANT var);
HRESULT SetHmenuPropStr([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in] LPWSTR str); HRESULT SetHmenuPropStr([in] HMENU hmenu, [in] DWORD idChild, [in] MSAAPROPID idProp, [in, string] LPWSTR str);
HRESULT SetHmenuPropServer([in] HMENU hmenu, [in] DWORD idChild, [in] const MSAAPROPID* paProps, HRESULT SetHmenuPropServer([in] HMENU hmenu,
[in] int cProps, [in] IAccPropServer* pServer, [in] AnnoScope AnnoScope); [in] DWORD idChild,
[in, size_is(cProps)] const MSAAPROPID *props,
HRESULT ClearHmenuProps([in] HMENU hmenu, [in] DWORD idChild, [in] const MSAAPROPID* paProps, [in] int cProps); [in] int cProps,
[in] IAccPropServer *server,
HRESULT ComposeHmenuIdentityString([in] HMENU hmenu, [in] DWORD idChild, [in] AnnoScope scope);
[out] BYTE **ppIDString, [out] DWORD *pdwIDStringLen);
HRESULT ClearHmenuProps([in] HMENU hmenu,
HRESULT DecomposeHmenuIdentityString([in] const BYTE *pIDString, [in] DWORD dwIDStringLen, [in] DWORD idChild,
[out] HMENU *phmenu, [out] DWORD *pidChild); [in, size_is(cProps)] const MSAAPROPID *props,
[in] int cProps);
HRESULT ComposeHmenuIdentityString([in] HMENU hmenu,
[in] DWORD idChild,
[out, size_is(*string_len)] BYTE **str,
[out] DWORD *string_len);
HRESULT DecomposeHmenuIdentityString([in, size_is(string_len)] const BYTE *str,
[in] DWORD string_len,
[out] HMENU *phmenu,
[out] DWORD *pidChild);
} }
[ [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment