oleacc.idl 40 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. cpp_quote("#include <_mingw_unicode.h>")
  7. import "oaidl.idl";
  8. cpp_quote("#ifndef __IAccessibleHandler_FWD_DEFINED__")
  9. cpp_quote("#define __IAccessibleHandler_FWD_DEFINED__")
  10. cpp_quote("typedef struct IAccessibleHandler IAccessibleHandler;")
  11. cpp_quote("#endif")
  12. cpp_quote("")
  13. cpp_quote("#ifndef __IAccIdentity_FWD_DEFINED__")
  14. cpp_quote("#define __IAccIdentity_FWD_DEFINED__")
  15. cpp_quote("typedef struct IAccIdentity IAccIdentity;")
  16. cpp_quote("#endif")
  17. cpp_quote("")
  18. cpp_quote("#ifndef __IAccPropServer_FWD_DEFINED__")
  19. cpp_quote("#define __IAccPropServer_FWD_DEFINED__")
  20. cpp_quote("typedef struct IAccPropServer IAccPropServer;")
  21. cpp_quote("#endif")
  22. cpp_quote("")
  23. cpp_quote("#ifndef __IAccPropServices_FWD_DEFINED__")
  24. cpp_quote("#define __IAccPropServices_FWD_DEFINED__")
  25. cpp_quote("typedef struct IAccPropServices IAccPropServices;")
  26. cpp_quote("#endif")
  27. cpp_quote("")
  28. cpp_quote("#ifndef __IAccessible_FWD_DEFINED__")
  29. cpp_quote("#define __IAccessible_FWD_DEFINED__")
  30. cpp_quote("typedef struct IAccessible IAccessible;")
  31. cpp_quote("#endif")
  32. cpp_quote("")
  33. cpp_quote("#ifndef __IAccessibleHandler_FWD_DEFINED__")
  34. cpp_quote("#define __IAccessibleHandler_FWD_DEFINED__")
  35. cpp_quote("typedef struct IAccessibleHandler IAccessibleHandler;")
  36. cpp_quote("#endif")
  37. cpp_quote("")
  38. cpp_quote("#ifndef __IAccIdentity_FWD_DEFINED__")
  39. cpp_quote("#define __IAccIdentity_FWD_DEFINED__")
  40. cpp_quote("typedef struct IAccIdentity IAccIdentity;")
  41. cpp_quote("#endif")
  42. cpp_quote("")
  43. cpp_quote("#ifndef __IAccPropServer_FWD_DEFINED__")
  44. cpp_quote("#define __IAccPropServer_FWD_DEFINED__")
  45. cpp_quote("typedef struct IAccPropServer IAccPropServer;")
  46. cpp_quote("#endif")
  47. cpp_quote("")
  48. cpp_quote("#ifndef __IAccPropServices_FWD_DEFINED__")
  49. cpp_quote("#define __IAccPropServices_FWD_DEFINED__")
  50. cpp_quote("typedef struct IAccPropServices IAccPropServices;")
  51. cpp_quote("#endif")
  52. cpp_quote("")
  53. cpp_quote("#ifndef __CAccPropServices_FWD_DEFINED__")
  54. cpp_quote("#define __CAccPropServices_FWD_DEFINED__")
  55. cpp_quote("")
  56. cpp_quote("#ifdef __cplusplus")
  57. cpp_quote("typedef class CAccPropServices CAccPropServices;")
  58. cpp_quote("#else")
  59. cpp_quote("typedef struct CAccPropServices CAccPropServices;")
  60. cpp_quote("#endif")
  61. cpp_quote("#endif")
  62. cpp_quote("")
  63. cpp_quote(" typedef LRESULT (WINAPI *LPFNLRESULTFROMOBJECT)(REFIID riid,WPARAM wParam,LPUNKNOWN punk);")
  64. cpp_quote(" typedef HRESULT (WINAPI *LPFNOBJECTFROMLRESULT)(LRESULT lResult,REFIID riid,WPARAM wParam,void **ppvObject);")
  65. cpp_quote(" typedef HRESULT (WINAPI *LPFNACCESSIBLEOBJECTFROMWINDOW)(HWND hwnd,DWORD dwId,REFIID riid,void **ppvObject);")
  66. cpp_quote(" typedef HRESULT (WINAPI *LPFNACCESSIBLEOBJECTFROMPOINT)(POINT ptScreen,IAccessible **ppacc,VARIANT *pvarChild);")
  67. cpp_quote(" typedef HRESULT (WINAPI *LPFNCREATESTDACCESSIBLEOBJECT)(HWND hwnd,LONG idObject,REFIID riid,void **ppvObject);")
  68. cpp_quote(" typedef HRESULT (WINAPI *LPFNACCESSIBLECHILDREN)(IAccessible *paccContainer,LONG iChildStart,LONG cChildren,VARIANT *rgvarChildren,LONG *pcObtained);")
  69. cpp_quote("")
  70. cpp_quote(" DEFINE_GUID(LIBID_Accessibility,0x1ea4dbf0,0x3c3b,0x11cf,0x81,0x0c,0x00,0xaa,0x00,0x38,0x9b,0x71);")
  71. cpp_quote(" DEFINE_GUID(IID_IAccessibleHandler,0x03022430,0xABC4,0x11d0,0xBD,0xE2,0x00,0xAA,0x00,0x1A,0x19,0x53);")
  72. cpp_quote(" DEFINE_GUID(IID_IAccIdentity,0x7852b78d,0x1cfd,0x41c1,0xa6,0x15,0x9c,0x0c,0x85,0x96,0x0b,0x5f);")
  73. cpp_quote(" DEFINE_GUID(IID_IAccPropServer,0x76c0dbbb,0x15e0,0x4e7b,0xb6,0x1b,0x20,0xee,0xea,0x20,0x01,0xe0);")
  74. cpp_quote(" DEFINE_GUID(IID_IAccPropServices,0x6e26e776,0x04f0,0x495d,0x80,0xe4,0x33,0x30,0x35,0x2e,0x31,0x69);")
  75. cpp_quote(" DEFINE_GUID(IID_IAccPropMgrInternal,0x2bd370a9,0x3e7f,0x4edd,0x8a,0x85,0xf8,0xfe,0xd1,0xf8,0xe5,0x1f);")
  76. cpp_quote(" DEFINE_GUID(CLSID_AccPropServices,0xb5f8350b,0x0548,0x48b1,0xa6,0xee,0x88,0xbd,0x00,0xb4,0xa5,0xe7);")
  77. cpp_quote(" DEFINE_GUID(IIS_IsOleaccProxy,0x902697fa,0x80e4,0x4560,0x80,0x2a,0xa1,0x3f,0x22,0xa6,0x47,0x09);")
  78. cpp_quote("")
  79. cpp_quote("#define GetRoleText __MINGW_NAME_AW(GetRoleText)")
  80. cpp_quote("#define GetStateText __MINGW_NAME_AW(GetStateText)")
  81. cpp_quote("#define CreateStdAccessibleProxy __MINGW_NAME_AW(CreateStdAccessibleProxy)")
  82. cpp_quote("")
  83. cpp_quote(" STDAPI_(LRESULT) LresultFromObject(REFIID riid,WPARAM wParam,LPUNKNOWN punk);")
  84. cpp_quote(" STDAPI ObjectFromLresult(LRESULT lResult,REFIID riid,WPARAM wParam,void **ppvObject);")
  85. cpp_quote(" STDAPI WindowFromAccessibleObject(IAccessible*,HWND *phwnd);")
  86. cpp_quote(" STDAPI AccessibleObjectFromWindow(HWND hwnd,DWORD dwId,REFIID riid,void **ppvObject);")
  87. cpp_quote(" STDAPI AccessibleObjectFromEvent(HWND hwnd,DWORD dwId,DWORD dwChildId,IAccessible **ppacc,VARIANT *pvarChild);")
  88. cpp_quote(" STDAPI AccessibleObjectFromPoint(POINT ptScreen,IAccessible **ppacc,VARIANT *pvarChild);")
  89. cpp_quote(" STDAPI AccessibleChildren (IAccessible *paccContainer,LONG iChildStart,LONG cChildren,VARIANT *rgvarChildren,LONG *pcObtained);")
  90. cpp_quote(" STDAPI_(UINT) GetRoleTextA(DWORD lRole,LPSTR lpszRole,UINT cchRoleMax);")
  91. cpp_quote(" STDAPI_(UINT) GetRoleTextW(DWORD lRole,LPWSTR lpszRole,UINT cchRoleMax);")
  92. cpp_quote(" STDAPI_(UINT) GetStateTextA(DWORD lStateBit,LPSTR lpszState,UINT cchState);")
  93. cpp_quote(" STDAPI_(UINT) GetStateTextW(DWORD lStateBit,LPWSTR lpszState,UINT cchState);")
  94. cpp_quote(" STDAPI_(VOID) GetOleaccVersionInfo(DWORD *pVer,DWORD *pBuild);")
  95. cpp_quote(" STDAPI CreateStdAccessibleObject(HWND hwnd,LONG idObject,REFIID riid,void **ppvObject);")
  96. cpp_quote(" STDAPI CreateStdAccessibleProxyA(HWND hwnd,LPCSTR pClassName,LONG idObject,REFIID riid,void **ppvObject);")
  97. cpp_quote(" STDAPI CreateStdAccessibleProxyW(HWND hwnd,LPCWSTR pClassName,LONG idObject,REFIID riid,void **ppvObject);")
  98. cpp_quote("")
  99. cpp_quote("#define MSAA_MENU_SIG __MSABI_LONG(0xAA0DF00D)")
  100. cpp_quote("")
  101. cpp_quote(" typedef struct tagMSAAMENUINFO {")
  102. cpp_quote(" DWORD dwMSAASignature;")
  103. cpp_quote(" DWORD cchWText;")
  104. cpp_quote(" LPWSTR pszWText;")
  105. cpp_quote(" } MSAAMENUINFO,*LPMSAAMENUINFO;")
  106. cpp_quote("")
  107. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAME ,0x608d3df8,0x8128,0x4aa7,0xa4,0x28,0xf5,0x5e,0x49,0x26,0x72,0x91);")
  108. cpp_quote(" DEFINE_GUID(PROPID_ACC_VALUE ,0x123fe443,0x211a,0x4615,0x95,0x27,0xc4,0x5a,0x7e,0x93,0x71,0x7a);")
  109. cpp_quote(" DEFINE_GUID(PROPID_ACC_DESCRIPTION ,0x4d48dfe4,0xbd3f,0x491f,0xa6,0x48,0x49,0x2d,0x6f,0x20,0xc5,0x88);")
  110. cpp_quote(" DEFINE_GUID(PROPID_ACC_ROLE ,0xcb905ff2,0x7bd1,0x4c05,0xb3,0xc8,0xe6,0xc2,0x41,0x36,0x4d,0x70);")
  111. cpp_quote(" DEFINE_GUID(PROPID_ACC_STATE ,0xa8d4d5b0,0x0a21,0x42d0,0xa5,0xc0,0x51,0x4e,0x98,0x4f,0x45,0x7b);")
  112. cpp_quote(" DEFINE_GUID(PROPID_ACC_HELP ,0xc831e11f,0x44db,0x4a99,0x97,0x68,0xcb,0x8f,0x97,0x8b,0x72,0x31);")
  113. cpp_quote(" DEFINE_GUID(PROPID_ACC_KEYBOARDSHORTCUT ,0x7d9bceee,0x7d1e,0x4979,0x93,0x82,0x51,0x80,0xf4,0x17,0x2c,0x34);")
  114. cpp_quote(" DEFINE_GUID(PROPID_ACC_DEFAULTACTION ,0x180c072b,0xc27f,0x43c7,0x99,0x22,0xf6,0x35,0x62,0xa4,0x63,0x2b);")
  115. cpp_quote(" DEFINE_GUID(PROPID_ACC_HELPTOPIC ,0x787d1379,0x8ede,0x440b,0x8a,0xec,0x11,0xf7,0xbf,0x90,0x30,0xb3);")
  116. cpp_quote(" DEFINE_GUID(PROPID_ACC_FOCUS ,0x6eb335df,0x1c29,0x4127,0xb1,0x2c,0xde,0xe9,0xfd,0x15,0x7f,0x2b);")
  117. cpp_quote(" DEFINE_GUID(PROPID_ACC_SELECTION ,0xb99d073c,0xd731,0x405b,0x90,0x61,0xd9,0x5e,0x8f,0x84,0x29,0x84);")
  118. cpp_quote(" DEFINE_GUID(PROPID_ACC_PARENT ,0x474c22b6,0xffc2,0x467a,0xb1,0xb5,0xe9,0x58,0xb4,0x65,0x73,0x30);")
  119. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_UP ,0x016e1a2b,0x1a4e,0x4767,0x86,0x12,0x33,0x86,0xf6,0x69,0x35,0xec);")
  120. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_DOWN ,0x031670ed,0x3cdf,0x48d2,0x96,0x13,0x13,0x8f,0x2d,0xd8,0xa6,0x68);")
  121. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_LEFT ,0x228086cb,0x82f1,0x4a39,0x87,0x05,0xdc,0xdc,0x0f,0xff,0x92,0xf5);")
  122. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_RIGHT ,0xcd211d9f,0xe1cb,0x4fe5,0xa7,0x7c,0x92,0x0b,0x88,0x4d,0x09,0x5b);")
  123. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_PREV ,0x776d3891,0xc73b,0x4480,0xb3,0xf6,0x07,0x6a,0x16,0xa1,0x5a,0xf6);")
  124. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_NEXT ,0x1cdc5455,0x8cd9,0x4c92,0xa3,0x71,0x39,0x39,0xa2,0xfe,0x3e,0xee);")
  125. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_FIRSTCHILD ,0xcfd02558,0x557b,0x4c67,0x84,0xf9,0x2a,0x09,0xfc,0xe4,0x07,0x49);")
  126. cpp_quote(" DEFINE_GUID(PROPID_ACC_NAV_LASTCHILD ,0x302ecaa5,0x48d5,0x4f8d,0xb6,0x71,0x1a,0x8d,0x20,0xa7,0x78,0x32);")
  127. cpp_quote(" DEFINE_GUID(PROPID_ACC_ROLEMAP ,0xf79acda2,0x140d,0x4fe6,0x89,0x14,0x20,0x84,0x76,0x32,0x82,0x69);")
  128. cpp_quote(" DEFINE_GUID(PROPID_ACC_VALUEMAP ,0xda1c3d79,0xfc5c,0x420e,0xb3,0x99,0x9d,0x15,0x33,0x54,0x9e,0x75);")
  129. cpp_quote(" DEFINE_GUID(PROPID_ACC_STATEMAP ,0x43946c5e,0x0ac0,0x4042,0xb5,0x25,0x07,0xbb,0xdb,0xe1,0x7f,0xa7);")
  130. cpp_quote(" DEFINE_GUID(PROPID_ACC_DESCRIPTIONMAP ,0x1ff1435f,0x8a14,0x477b,0xb2,0x26,0xa0,0xab,0xe2,0x79,0x97,0x5d);")
  131. cpp_quote(" DEFINE_GUID(PROPID_ACC_DODEFAULTACTION ,0x1ba09523,0x2e3b,0x49a6,0xa0,0x59,0x59,0x68,0x2a,0x3c,0x48,0xfd);")
  132. cpp_quote("#define NAVDIR_MIN (0)")
  133. cpp_quote("#define NAVDIR_UP (0x1)")
  134. cpp_quote("#define NAVDIR_DOWN (0x2)")
  135. cpp_quote("#define NAVDIR_LEFT (0x3)")
  136. cpp_quote("#define NAVDIR_RIGHT (0x4)")
  137. cpp_quote("#define NAVDIR_NEXT (0x5)")
  138. cpp_quote("#define NAVDIR_PREVIOUS (0x6)")
  139. cpp_quote("#define NAVDIR_FIRSTCHILD (0x7)")
  140. cpp_quote("#define NAVDIR_LASTCHILD (0x8)")
  141. cpp_quote("#define NAVDIR_MAX (0x9)")
  142. cpp_quote("")
  143. cpp_quote("#define SELFLAG_NONE (0)")
  144. cpp_quote("#define SELFLAG_TAKEFOCUS (0x1)")
  145. cpp_quote("#define SELFLAG_TAKESELECTION (0x2)")
  146. cpp_quote("#define SELFLAG_EXTENDSELECTION (0x4)")
  147. cpp_quote("#define SELFLAG_ADDSELECTION (0x8)")
  148. cpp_quote("#define SELFLAG_REMOVESELECTION (0x10)")
  149. cpp_quote("#define SELFLAG_VALID (0x1f)")
  150. cpp_quote("")
  151. cpp_quote("#ifndef STATE_SYSTEM_UNAVAILABLE")
  152. cpp_quote("#define STATE_SYSTEM_NORMAL (0)")
  153. cpp_quote("#define STATE_SYSTEM_UNAVAILABLE (0x1)")
  154. cpp_quote("#define STATE_SYSTEM_SELECTED (0x2)")
  155. cpp_quote("#define STATE_SYSTEM_FOCUSED (0x4)")
  156. cpp_quote("#define STATE_SYSTEM_PRESSED (0x8)")
  157. cpp_quote("#define STATE_SYSTEM_CHECKED (0x10)")
  158. cpp_quote("#define STATE_SYSTEM_MIXED (0x20)")
  159. cpp_quote("#define STATE_SYSTEM_INDETERMINATE (STATE_SYSTEM_MIXED)")
  160. cpp_quote("#define STATE_SYSTEM_READONLY (0x40)")
  161. cpp_quote("#define STATE_SYSTEM_HOTTRACKED (0x80)")
  162. cpp_quote("#define STATE_SYSTEM_DEFAULT (0x100)")
  163. cpp_quote("#define STATE_SYSTEM_EXPANDED (0x200)")
  164. cpp_quote("#define STATE_SYSTEM_COLLAPSED (0x400)")
  165. cpp_quote("#define STATE_SYSTEM_BUSY (0x800)")
  166. cpp_quote("#define STATE_SYSTEM_FLOATING (0x1000)")
  167. cpp_quote("#define STATE_SYSTEM_MARQUEED (0x2000)")
  168. cpp_quote("#define STATE_SYSTEM_ANIMATED (0x4000)")
  169. cpp_quote("#define STATE_SYSTEM_INVISIBLE (0x8000)")
  170. cpp_quote("#define STATE_SYSTEM_OFFSCREEN (0x10000)")
  171. cpp_quote("#define STATE_SYSTEM_SIZEABLE (0x20000)")
  172. cpp_quote("#define STATE_SYSTEM_MOVEABLE (0x40000)")
  173. cpp_quote("#define STATE_SYSTEM_SELFVOICING (0x80000)")
  174. cpp_quote("#define STATE_SYSTEM_FOCUSABLE (0x100000)")
  175. cpp_quote("#define STATE_SYSTEM_SELECTABLE (0x200000)")
  176. cpp_quote("#define STATE_SYSTEM_LINKED (0x400000)")
  177. cpp_quote("#define STATE_SYSTEM_TRAVERSED (0x800000)")
  178. cpp_quote("#define STATE_SYSTEM_MULTISELECTABLE (0x1000000)")
  179. cpp_quote("#define STATE_SYSTEM_EXTSELECTABLE (0x2000000)")
  180. cpp_quote("#define STATE_SYSTEM_ALERT_LOW (0x4000000)")
  181. cpp_quote("#define STATE_SYSTEM_ALERT_MEDIUM (0x8000000)")
  182. cpp_quote("#define STATE_SYSTEM_ALERT_HIGH (0x10000000)")
  183. cpp_quote("#define STATE_SYSTEM_PROTECTED (0x20000000)")
  184. cpp_quote("#define STATE_SYSTEM_VALID (0x7fffffff)")
  185. cpp_quote("#endif")
  186. cpp_quote("")
  187. cpp_quote("#ifndef STATE_SYSTEM_HASPOPUP")
  188. cpp_quote("#define STATE_SYSTEM_HASPOPUP (0x40000000)")
  189. cpp_quote("#endif")
  190. cpp_quote("#define ROLE_SYSTEM_TITLEBAR (0x1)")
  191. cpp_quote("#define ROLE_SYSTEM_MENUBAR (0x2)")
  192. cpp_quote("#define ROLE_SYSTEM_SCROLLBAR (0x3)")
  193. cpp_quote("#define ROLE_SYSTEM_GRIP (0x4)")
  194. cpp_quote("#define ROLE_SYSTEM_SOUND (0x5)")
  195. cpp_quote("#define ROLE_SYSTEM_CURSOR (0x6)")
  196. cpp_quote("#define ROLE_SYSTEM_CARET (0x7)")
  197. cpp_quote("#define ROLE_SYSTEM_ALERT (0x8)")
  198. cpp_quote("#define ROLE_SYSTEM_WINDOW (0x9)")
  199. cpp_quote("#define ROLE_SYSTEM_CLIENT (0xa)")
  200. cpp_quote("#define ROLE_SYSTEM_MENUPOPUP (0xb)")
  201. cpp_quote("#define ROLE_SYSTEM_MENUITEM (0xc)")
  202. cpp_quote("#define ROLE_SYSTEM_TOOLTIP (0xd)")
  203. cpp_quote("#define ROLE_SYSTEM_APPLICATION (0xe)")
  204. cpp_quote("#define ROLE_SYSTEM_DOCUMENT (0xf)")
  205. cpp_quote("#define ROLE_SYSTEM_PANE (0x10)")
  206. cpp_quote("#define ROLE_SYSTEM_CHART (0x11)")
  207. cpp_quote("#define ROLE_SYSTEM_DIALOG (0x12)")
  208. cpp_quote("#define ROLE_SYSTEM_BORDER (0x13)")
  209. cpp_quote("#define ROLE_SYSTEM_GROUPING (0x14)")
  210. cpp_quote("#define ROLE_SYSTEM_SEPARATOR (0x15)")
  211. cpp_quote("#define ROLE_SYSTEM_TOOLBAR (0x16)")
  212. cpp_quote("#define ROLE_SYSTEM_STATUSBAR (0x17)")
  213. cpp_quote("#define ROLE_SYSTEM_TABLE (0x18)")
  214. cpp_quote("#define ROLE_SYSTEM_COLUMNHEADER (0x19)")
  215. cpp_quote("#define ROLE_SYSTEM_ROWHEADER (0x1a)")
  216. cpp_quote("#define ROLE_SYSTEM_COLUMN (0x1b)")
  217. cpp_quote("#define ROLE_SYSTEM_ROW (0x1c)")
  218. cpp_quote("#define ROLE_SYSTEM_CELL (0x1d)")
  219. cpp_quote("#define ROLE_SYSTEM_LINK (0x1e)")
  220. cpp_quote("#define ROLE_SYSTEM_HELPBALLOON (0x1f)")
  221. cpp_quote("#define ROLE_SYSTEM_CHARACTER (0x20)")
  222. cpp_quote("#define ROLE_SYSTEM_LIST (0x21)")
  223. cpp_quote("#define ROLE_SYSTEM_LISTITEM (0x22)")
  224. cpp_quote("#define ROLE_SYSTEM_OUTLINE (0x23)")
  225. cpp_quote("#define ROLE_SYSTEM_OUTLINEITEM (0x24)")
  226. cpp_quote("#define ROLE_SYSTEM_PAGETAB (0x25)")
  227. cpp_quote("#define ROLE_SYSTEM_PROPERTYPAGE (0x26)")
  228. cpp_quote("#define ROLE_SYSTEM_INDICATOR (0x27)")
  229. cpp_quote("#define ROLE_SYSTEM_GRAPHIC (0x28)")
  230. cpp_quote("#define ROLE_SYSTEM_STATICTEXT (0x29)")
  231. cpp_quote("#define ROLE_SYSTEM_TEXT (0x2a)")
  232. cpp_quote("#define ROLE_SYSTEM_PUSHBUTTON (0x2b)")
  233. cpp_quote("#define ROLE_SYSTEM_CHECKBUTTON (0x2c)")
  234. cpp_quote("#define ROLE_SYSTEM_RADIOBUTTON (0x2d)")
  235. cpp_quote("#define ROLE_SYSTEM_COMBOBOX (0x2e)")
  236. cpp_quote("#define ROLE_SYSTEM_DROPLIST (0x2f)")
  237. cpp_quote("#define ROLE_SYSTEM_PROGRESSBAR (0x30)")
  238. cpp_quote("#define ROLE_SYSTEM_DIAL (0x31)")
  239. cpp_quote("#define ROLE_SYSTEM_HOTKEYFIELD (0x32)")
  240. cpp_quote("#define ROLE_SYSTEM_SLIDER (0x33)")
  241. cpp_quote("#define ROLE_SYSTEM_SPINBUTTON (0x34)")
  242. cpp_quote("#define ROLE_SYSTEM_DIAGRAM (0x35)")
  243. cpp_quote("#define ROLE_SYSTEM_ANIMATION (0x36)")
  244. cpp_quote("#define ROLE_SYSTEM_EQUATION (0x37)")
  245. cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWN (0x38)")
  246. cpp_quote("#define ROLE_SYSTEM_BUTTONMENU (0x39)")
  247. cpp_quote("#define ROLE_SYSTEM_BUTTONDROPDOWNGRID (0x3a)")
  248. cpp_quote("#define ROLE_SYSTEM_WHITESPACE (0x3b)")
  249. cpp_quote("#define ROLE_SYSTEM_PAGETABLIST (0x3c)")
  250. cpp_quote("#define ROLE_SYSTEM_CLOCK (0x3d)")
  251. cpp_quote("#define ROLE_SYSTEM_SPLITBUTTON (0x3e)")
  252. cpp_quote("#define ROLE_SYSTEM_IPADDRESS (0x3f)")
  253. cpp_quote("#define ROLE_SYSTEM_OUTLINEBUTTON (0x40)")
  254. [
  255. local,
  256. object,
  257. uuid(618736e0-3c3d-11cf-810c-00aa00389b71),
  258. pointer_default(unique)
  259. ]
  260. interface IAccessible : IDispatch
  261. {
  262. typedef [unique] IAccessible *LPACCESSIBLE;
  263. const LONG DISPID_ACC_PARENT = -5000;
  264. const LONG DISPID_ACC_CHILDCOUNT = -5001;
  265. const LONG DISPID_ACC_CHILD = -5002;
  266. const LONG DISPID_ACC_NAME = -5003;
  267. const LONG DISPID_ACC_VALUE = -5004;
  268. const LONG DISPID_ACC_DESCRIPTION = -5005;
  269. const LONG DISPID_ACC_ROLE = -5006;
  270. const LONG DISPID_ACC_STATE = -5007;
  271. const LONG DISPID_ACC_HELP = -5008;
  272. const LONG DISPID_ACC_HELPTOPIC = -5009;
  273. const LONG DISPID_ACC_KEYBOARDSHORTCUT = -5010;
  274. const LONG DISPID_ACC_FOCUS = -5011;
  275. const LONG DISPID_ACC_SELECTION = -5012;
  276. const LONG DISPID_ACC_DEFAULTACTION = -5013;
  277. const LONG DISPID_ACC_SELECT = -5014;
  278. const LONG DISPID_ACC_LOCATION = -5015;
  279. const LONG DISPID_ACC_NAVIGATE = -5016;
  280. const LONG DISPID_ACC_HITTEST = -5017;
  281. const LONG DISPID_ACC_DODEFAULTACTION = -5018;
  282. [hidden, propget, id(DISPID_ACC_PARENT)]
  283. HRESULT accParent([out, retval] IDispatch **ppdispParent);
  284. [hidden, propget, id(DISPID_ACC_CHILDCOUNT)]
  285. HRESULT accChildCount([out, retval] LONG *pcountChildren);
  286. [hidden, propget, id(DISPID_ACC_CHILD)]
  287. HRESULT accChild(
  288. [in] VARIANT varChildID,
  289. [out, retval] IDispatch **ppdispChild);
  290. [hidden, propget, id(DISPID_ACC_NAME)]
  291. HRESULT accName(
  292. [in]VARIANT varID,
  293. [out, retval] BSTR *pszName);
  294. [hidden, propget, id(DISPID_ACC_VALUE)]
  295. HRESULT accValue(
  296. [in]VARIANT varID,
  297. [out, retval] BSTR *pszValue);
  298. [hidden, propget, id(DISPID_ACC_DESCRIPTION)]
  299. HRESULT accDescription(
  300. [in] VARIANT varID,
  301. [out, retval] BSTR *pszDescription);
  302. [hidden, propget, id(DISPID_ACC_ROLE)]
  303. HRESULT accRole(
  304. [in]VARIANT varID,
  305. [out, retval] VARIANT *pvarRole);
  306. [hidden, propget, id(DISPID_ACC_STATE)]
  307. HRESULT accState(
  308. [in]VARIANT varID,
  309. [out, retval] VARIANT *pvarState);
  310. [hidden, propget, id(DISPID_ACC_HELP)]
  311. HRESULT accHelp(
  312. [in]VARIANT varID,
  313. [out, retval] BSTR *pszHelp);
  314. [hidden, propget, id(DISPID_ACC_HELPTOPIC)]
  315. HRESULT accHelpTopic(
  316. [out] BSTR *pszHelpFile,
  317. [in] VARIANT varID,
  318. [out, retval] LONG *pidTopic);
  319. [hidden, propget, id(DISPID_ACC_KEYBOARDSHORTCUT)]
  320. HRESULT accKeyboardShortcut(
  321. [in] VARIANT varID,
  322. [out, retval] BSTR *pszKeyboardShortcut);
  323. [hidden, propget, id(DISPID_ACC_FOCUS)]
  324. HRESULT accFocus([out, retval] VARIANT *pvarID);
  325. [hidden, propget, id(DISPID_ACC_SELECTION)]
  326. HRESULT accSelection([out, retval] VARIANT *pvarID);
  327. [hidden, propget, id(DISPID_ACC_DEFAULTACTION)]
  328. HRESULT accDefaultAction(
  329. [in] VARIANT varID,
  330. [out, retval] BSTR *pszDefaultAction);
  331. [hidden, id(DISPID_ACC_SELECT)]
  332. HRESULT accSelect(
  333. [in] LONG flagsSelect,
  334. [in] VARIANT varID);
  335. [hidden, id(DISPID_ACC_LOCATION)]
  336. HRESULT accLocation(
  337. [out] LONG *pxLeft,
  338. [out] LONG *pyTop,
  339. [out] LONG *pcxWidth,
  340. [out] LONG *pcyHeight,
  341. [in] VARIANT varID);
  342. [hidden, id(DISPID_ACC_NAVIGATE)]
  343. HRESULT accNavigate(
  344. [in] LONG navDir,
  345. [in] VARIANT varStart,
  346. [out, retval] VARIANT *pvarEnd);
  347. [hidden, id(DISPID_ACC_HITTEST)]
  348. HRESULT accHitTest(
  349. [in] LONG xLeft,
  350. [in] LONG yTop,
  351. [out,retval] VARIANT *pvarID);
  352. [hidden, id(DISPID_ACC_DODEFAULTACTION)]
  353. HRESULT accDoDefaultAction([in] VARIANT varID);
  354. [hidden, propput, id(DISPID_ACC_NAME)]
  355. HRESULT accName(
  356. [in] VARIANT varID,
  357. [in] BSTR pszName);
  358. [hidden, propput, id(DISPID_ACC_VALUE)]
  359. HRESULT accValue(
  360. [in] VARIANT varID,
  361. [out, retval] BSTR pszValue);
  362. }
  363. cpp_quote("#ifndef __IAccessibleHandler_INTERFACE_DEFINED__")
  364. cpp_quote("#define __IAccessibleHandler_INTERFACE_DEFINED__")
  365. cpp_quote(" typedef IAccessibleHandler *LPACCESSIBLEHANDLER;")
  366. cpp_quote("")
  367. cpp_quote(" EXTERN_C const IID IID_IAccessibleHandler;")
  368. cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
  369. cpp_quote(" struct IAccessibleHandler : public IUnknown {")
  370. cpp_quote(" public:")
  371. cpp_quote(" virtual HRESULT WINAPI AccessibleObjectFromID(LONG hwnd,LONG lObjectID,LPACCESSIBLE *pIAccessible) = 0;")
  372. cpp_quote(" };")
  373. cpp_quote("#else")
  374. cpp_quote(" typedef struct IAccessibleHandlerVtbl {")
  375. cpp_quote(" BEGIN_INTERFACE")
  376. cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAccessibleHandler *This,REFIID riid,void **ppvObject);")
  377. cpp_quote(" ULONG (WINAPI *AddRef)(IAccessibleHandler *This);")
  378. cpp_quote(" ULONG (WINAPI *Release)(IAccessibleHandler *This);")
  379. cpp_quote(" HRESULT (WINAPI *AccessibleObjectFromID)(IAccessibleHandler *This,LONG hwnd,LONG lObjectID,LPACCESSIBLE *pIAccessible);")
  380. cpp_quote(" END_INTERFACE")
  381. cpp_quote(" } IAccessibleHandlerVtbl;")
  382. cpp_quote(" struct IAccessibleHandler {")
  383. cpp_quote(" CONST_VTBL struct IAccessibleHandlerVtbl *lpVtbl;")
  384. cpp_quote(" };")
  385. cpp_quote("#ifdef COBJMACROS")
  386. cpp_quote("#define IAccessibleHandler_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
  387. cpp_quote("#define IAccessibleHandler_AddRef(This) (This)->lpVtbl->AddRef(This)")
  388. cpp_quote("#define IAccessibleHandler_Release(This) (This)->lpVtbl->Release(This)")
  389. cpp_quote("#define IAccessibleHandler_AccessibleObjectFromID(This,hwnd,lObjectID,pIAccessible) (This)->lpVtbl->AccessibleObjectFromID(This,hwnd,lObjectID,pIAccessible)")
  390. cpp_quote("#endif")
  391. cpp_quote("#endif")
  392. cpp_quote(" HRESULT WINAPI IAccessibleHandler_AccessibleObjectFromID_Proxy(IAccessibleHandler *This,LONG hwnd,LONG lObjectID,LPACCESSIBLE *pIAccessible);")
  393. cpp_quote(" void __RPC_STUB IAccessibleHandler_AccessibleObjectFromID_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  394. cpp_quote("#endif")
  395. cpp_quote("")
  396. cpp_quote(" typedef enum AnnoScope {")
  397. cpp_quote(" ANNO_THIS = 0,ANNO_CONTAINER = 1")
  398. cpp_quote(" } AnnoScope;")
  399. cpp_quote("")
  400. cpp_quote(" typedef GUID MSAAPROPID;")
  401. cpp_quote("")
  402. cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_oleacc_0116_v0_0_c_ifspec;")
  403. cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_oleacc_0116_v0_0_s_ifspec;")
  404. cpp_quote("")
  405. cpp_quote("#ifndef __IAccIdentity_INTERFACE_DEFINED__")
  406. cpp_quote("#define __IAccIdentity_INTERFACE_DEFINED__")
  407. cpp_quote(" EXTERN_C const IID IID_IAccIdentity;")
  408. cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
  409. cpp_quote(" struct IAccIdentity : public IUnknown {")
  410. cpp_quote(" public:")
  411. cpp_quote(" virtual HRESULT WINAPI GetIdentityString(DWORD dwIDChild,BYTE **ppIDString,DWORD *pdwIDStringLen) = 0;")
  412. cpp_quote(" };")
  413. cpp_quote("#else")
  414. cpp_quote(" typedef struct IAccIdentityVtbl {")
  415. cpp_quote(" BEGIN_INTERFACE")
  416. cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAccIdentity *This,REFIID riid,void **ppvObject);")
  417. cpp_quote(" ULONG (WINAPI *AddRef)(IAccIdentity *This);")
  418. cpp_quote(" ULONG (WINAPI *Release)(IAccIdentity *This);")
  419. cpp_quote(" HRESULT (WINAPI *GetIdentityString)(IAccIdentity *This,DWORD dwIDChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  420. cpp_quote(" END_INTERFACE")
  421. cpp_quote(" } IAccIdentityVtbl;")
  422. cpp_quote(" struct IAccIdentity {")
  423. cpp_quote(" CONST_VTBL struct IAccIdentityVtbl *lpVtbl;")
  424. cpp_quote(" };")
  425. cpp_quote("#ifdef COBJMACROS")
  426. cpp_quote("#define IAccIdentity_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
  427. cpp_quote("#define IAccIdentity_AddRef(This) (This)->lpVtbl->AddRef(This)")
  428. cpp_quote("#define IAccIdentity_Release(This) (This)->lpVtbl->Release(This)")
  429. cpp_quote("#define IAccIdentity_GetIdentityString(This,dwIDChild,ppIDString,pdwIDStringLen) (This)->lpVtbl->GetIdentityString(This,dwIDChild,ppIDString,pdwIDStringLen)")
  430. cpp_quote("#endif")
  431. cpp_quote("#endif")
  432. cpp_quote(" HRESULT WINAPI IAccIdentity_GetIdentityString_Proxy(IAccIdentity *This,DWORD dwIDChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  433. cpp_quote(" void __RPC_STUB IAccIdentity_GetIdentityString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  434. cpp_quote("#endif")
  435. cpp_quote("")
  436. cpp_quote("#ifndef __IAccPropServer_INTERFACE_DEFINED__")
  437. cpp_quote("#define __IAccPropServer_INTERFACE_DEFINED__")
  438. cpp_quote(" EXTERN_C const IID IID_IAccPropServer;")
  439. cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
  440. cpp_quote(" struct IAccPropServer : public IUnknown {")
  441. cpp_quote(" public:")
  442. cpp_quote(" virtual HRESULT WINAPI GetPropValue(const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT *pvarValue,WINBOOL *pfHasProp) = 0;")
  443. cpp_quote(" };")
  444. cpp_quote("#else")
  445. cpp_quote(" typedef struct IAccPropServerVtbl {")
  446. cpp_quote(" BEGIN_INTERFACE")
  447. cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAccPropServer *This,REFIID riid,void **ppvObject);")
  448. cpp_quote(" ULONG (WINAPI *AddRef)(IAccPropServer *This);")
  449. cpp_quote(" ULONG (WINAPI *Release)(IAccPropServer *This);")
  450. cpp_quote(" HRESULT (WINAPI *GetPropValue)(IAccPropServer *This,const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT *pvarValue,WINBOOL *pfHasProp);")
  451. cpp_quote(" END_INTERFACE")
  452. cpp_quote(" } IAccPropServerVtbl;")
  453. cpp_quote(" struct IAccPropServer {")
  454. cpp_quote(" CONST_VTBL struct IAccPropServerVtbl *lpVtbl;")
  455. cpp_quote(" };")
  456. cpp_quote("#ifdef COBJMACROS")
  457. cpp_quote("#define IAccPropServer_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
  458. cpp_quote("#define IAccPropServer_AddRef(This) (This)->lpVtbl->AddRef(This)")
  459. cpp_quote("#define IAccPropServer_Release(This) (This)->lpVtbl->Release(This)")
  460. cpp_quote("#define IAccPropServer_GetPropValue(This,pIDString,dwIDStringLen,idProp,pvarValue,pfHasProp) (This)->lpVtbl->GetPropValue(This,pIDString,dwIDStringLen,idProp,pvarValue,pfHasProp)")
  461. cpp_quote("#endif")
  462. cpp_quote("#endif")
  463. cpp_quote(" HRESULT WINAPI IAccPropServer_GetPropValue_Proxy(IAccPropServer *This,const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT *pvarValue,WINBOOL *pfHasProp);")
  464. cpp_quote(" void __RPC_STUB IAccPropServer_GetPropValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  465. cpp_quote("#endif")
  466. cpp_quote("")
  467. cpp_quote("#ifndef __IAccPropServices_INTERFACE_DEFINED__")
  468. cpp_quote("#define __IAccPropServices_INTERFACE_DEFINED__")
  469. cpp_quote(" EXTERN_C const IID IID_IAccPropServices;")
  470. cpp_quote("#if defined(__cplusplus) && !defined(CINTERFACE)")
  471. cpp_quote(" struct IAccPropServices : public IUnknown {")
  472. cpp_quote(" public:")
  473. cpp_quote(" virtual HRESULT WINAPI SetPropValue(const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT var) = 0;")
  474. cpp_quote(" virtual HRESULT WINAPI SetPropServer(const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope) = 0;")
  475. cpp_quote(" virtual HRESULT WINAPI ClearProps(const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps) = 0;")
  476. cpp_quote(" virtual HRESULT WINAPI SetHwndProp(HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,VARIANT var) = 0;")
  477. cpp_quote(" virtual HRESULT WINAPI SetHwndPropStr(HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,LPCWSTR str) = 0;")
  478. cpp_quote(" virtual HRESULT WINAPI SetHwndPropServer(HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope) = 0;")
  479. cpp_quote(" virtual HRESULT WINAPI ClearHwndProps(HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps) = 0;")
  480. cpp_quote(" virtual HRESULT WINAPI ComposeHwndIdentityString(HWND hwnd,DWORD idObject,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen) = 0;")
  481. cpp_quote(" virtual HRESULT WINAPI DecomposeHwndIdentityString(const BYTE *pIDString,DWORD dwIDStringLen,HWND *phwnd,DWORD *pidObject,DWORD *pidChild) = 0;")
  482. cpp_quote(" virtual HRESULT WINAPI SetHmenuProp(HMENU hmenu,DWORD idChild,MSAAPROPID idProp,VARIANT var) = 0;")
  483. cpp_quote(" virtual HRESULT WINAPI SetHmenuPropStr(HMENU hmenu,DWORD idChild,MSAAPROPID idProp,LPCWSTR str) = 0;")
  484. cpp_quote(" virtual HRESULT WINAPI SetHmenuPropServer(HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope) = 0;")
  485. cpp_quote(" virtual HRESULT WINAPI ClearHmenuProps(HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps) = 0;")
  486. cpp_quote(" virtual HRESULT WINAPI ComposeHmenuIdentityString(HMENU hmenu,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen) = 0;")
  487. cpp_quote(" virtual HRESULT WINAPI DecomposeHmenuIdentityString(const BYTE *pIDString,DWORD dwIDStringLen,HMENU *phmenu,DWORD *pidChild) = 0;")
  488. cpp_quote(" };")
  489. cpp_quote("#else")
  490. cpp_quote(" typedef struct IAccPropServicesVtbl {")
  491. cpp_quote(" BEGIN_INTERFACE")
  492. cpp_quote(" HRESULT (WINAPI *QueryInterface)(IAccPropServices *This,REFIID riid,void **ppvObject);")
  493. cpp_quote(" ULONG (WINAPI *AddRef)(IAccPropServices *This);")
  494. cpp_quote(" ULONG (WINAPI *Release)(IAccPropServices *This);")
  495. cpp_quote(" HRESULT (WINAPI *SetPropValue)(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT var);")
  496. cpp_quote(" HRESULT (WINAPI *SetPropServer)(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  497. cpp_quote(" HRESULT (WINAPI *ClearProps)(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps);")
  498. cpp_quote(" HRESULT (WINAPI *SetHwndProp)(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,VARIANT var);")
  499. cpp_quote(" HRESULT (WINAPI *SetHwndPropStr)(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,LPCWSTR str);")
  500. cpp_quote(" HRESULT (WINAPI *SetHwndPropServer)(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  501. cpp_quote(" HRESULT (WINAPI *ClearHwndProps)(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps);")
  502. cpp_quote(" HRESULT (WINAPI *ComposeHwndIdentityString)(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  503. cpp_quote(" HRESULT (WINAPI *DecomposeHwndIdentityString)(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,HWND *phwnd,DWORD *pidObject,DWORD *pidChild);")
  504. cpp_quote(" HRESULT (WINAPI *SetHmenuProp)(IAccPropServices *This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,VARIANT var);")
  505. cpp_quote(" HRESULT (WINAPI *SetHmenuPropStr)(IAccPropServices *This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,LPCWSTR str);")
  506. cpp_quote(" HRESULT (WINAPI *SetHmenuPropServer)(IAccPropServices *This,HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  507. cpp_quote(" HRESULT (WINAPI *ClearHmenuProps)(IAccPropServices *This,HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps);")
  508. cpp_quote(" HRESULT (WINAPI *ComposeHmenuIdentityString)(IAccPropServices *This,HMENU hmenu,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  509. cpp_quote(" HRESULT (WINAPI *DecomposeHmenuIdentityString)(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,HMENU *phmenu,DWORD *pidChild);")
  510. cpp_quote(" END_INTERFACE")
  511. cpp_quote(" } IAccPropServicesVtbl;")
  512. cpp_quote(" struct IAccPropServices {")
  513. cpp_quote(" CONST_VTBL struct IAccPropServicesVtbl *lpVtbl;")
  514. cpp_quote(" };")
  515. cpp_quote("#ifdef COBJMACROS")
  516. cpp_quote("#define IAccPropServices_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)")
  517. cpp_quote("#define IAccPropServices_AddRef(This) (This)->lpVtbl->AddRef(This)")
  518. cpp_quote("#define IAccPropServices_Release(This) (This)->lpVtbl->Release(This)")
  519. cpp_quote("#define IAccPropServices_SetPropValue(This,pIDString,dwIDStringLen,idProp,var) (This)->lpVtbl->SetPropValue(This,pIDString,dwIDStringLen,idProp,var)")
  520. cpp_quote("#define IAccPropServices_SetPropServer(This,pIDString,dwIDStringLen,paProps,cProps,pServer,annoScope) (This)->lpVtbl->SetPropServer(This,pIDString,dwIDStringLen,paProps,cProps,pServer,annoScope)")
  521. cpp_quote("#define IAccPropServices_ClearProps(This,pIDString,dwIDStringLen,paProps,cProps) (This)->lpVtbl->ClearProps(This,pIDString,dwIDStringLen,paProps,cProps)")
  522. cpp_quote("#define IAccPropServices_SetHwndProp(This,hwnd,idObject,idChild,idProp,var) (This)->lpVtbl->SetHwndProp(This,hwnd,idObject,idChild,idProp,var)")
  523. cpp_quote("#define IAccPropServices_SetHwndPropStr(This,hwnd,idObject,idChild,idProp,str) (This)->lpVtbl->SetHwndPropStr(This,hwnd,idObject,idChild,idProp,str)")
  524. cpp_quote("#define IAccPropServices_SetHwndPropServer(This,hwnd,idObject,idChild,paProps,cProps,pServer,annoScope) (This)->lpVtbl->SetHwndPropServer(This,hwnd,idObject,idChild,paProps,cProps,pServer,annoScope)")
  525. cpp_quote("#define IAccPropServices_ClearHwndProps(This,hwnd,idObject,idChild,paProps,cProps) (This)->lpVtbl->ClearHwndProps(This,hwnd,idObject,idChild,paProps,cProps)")
  526. cpp_quote("#define IAccPropServices_ComposeHwndIdentityString(This,hwnd,idObject,idChild,ppIDString,pdwIDStringLen) (This)->lpVtbl->ComposeHwndIdentityString(This,hwnd,idObject,idChild,ppIDString,pdwIDStringLen)")
  527. cpp_quote("#define IAccPropServices_DecomposeHwndIdentityString(This,pIDString,dwIDStringLen,phwnd,pidObject,pidChild) (This)->lpVtbl->DecomposeHwndIdentityString(This,pIDString,dwIDStringLen,phwnd,pidObject,pidChild)")
  528. cpp_quote("#define IAccPropServices_SetHmenuProp(This,hmenu,idChild,idProp,var) (This)->lpVtbl->SetHmenuProp(This,hmenu,idChild,idProp,var)")
  529. cpp_quote("#define IAccPropServices_SetHmenuPropStr(This,hmenu,idChild,idProp,str) (This)->lpVtbl->SetHmenuPropStr(This,hmenu,idChild,idProp,str)")
  530. cpp_quote("#define IAccPropServices_SetHmenuPropServer(This,hmenu,idChild,paProps,cProps,pServer,annoScope) (This)->lpVtbl->SetHmenuPropServer(This,hmenu,idChild,paProps,cProps,pServer,annoScope)")
  531. cpp_quote("#define IAccPropServices_ClearHmenuProps(This,hmenu,idChild,paProps,cProps) (This)->lpVtbl->ClearHmenuProps(This,hmenu,idChild,paProps,cProps)")
  532. cpp_quote("#define IAccPropServices_ComposeHmenuIdentityString(This,hmenu,idChild,ppIDString,pdwIDStringLen) (This)->lpVtbl->ComposeHmenuIdentityString(This,hmenu,idChild,ppIDString,pdwIDStringLen)")
  533. cpp_quote("#define IAccPropServices_DecomposeHmenuIdentityString(This,pIDString,dwIDStringLen,phmenu,pidChild) (This)->lpVtbl->DecomposeHmenuIdentityString(This,pIDString,dwIDStringLen,phmenu,pidChild)")
  534. cpp_quote("#endif")
  535. cpp_quote("#endif")
  536. cpp_quote(" HRESULT WINAPI IAccPropServices_SetPropValue_Proxy(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,MSAAPROPID idProp,VARIANT var);")
  537. cpp_quote(" void __RPC_STUB IAccPropServices_SetPropValue_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  538. cpp_quote(" HRESULT WINAPI IAccPropServices_SetPropServer_Proxy(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  539. cpp_quote(" void __RPC_STUB IAccPropServices_SetPropServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  540. cpp_quote(" HRESULT WINAPI IAccPropServices_ClearProps_Proxy(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,const MSAAPROPID *paProps,int cProps);")
  541. cpp_quote(" void __RPC_STUB IAccPropServices_ClearProps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  542. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHwndProp_Proxy(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,VARIANT var);")
  543. cpp_quote(" void __RPC_STUB IAccPropServices_SetHwndProp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  544. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHwndPropStr_Proxy(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,MSAAPROPID idProp,LPCWSTR str);")
  545. cpp_quote(" void __RPC_STUB IAccPropServices_SetHwndPropStr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  546. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHwndPropServer_Proxy(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  547. cpp_quote(" void __RPC_STUB IAccPropServices_SetHwndPropServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  548. cpp_quote(" HRESULT WINAPI IAccPropServices_ClearHwndProps_Proxy(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,const MSAAPROPID *paProps,int cProps);")
  549. cpp_quote(" void __RPC_STUB IAccPropServices_ClearHwndProps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  550. cpp_quote(" HRESULT WINAPI IAccPropServices_ComposeHwndIdentityString_Proxy(IAccPropServices *This,HWND hwnd,DWORD idObject,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  551. cpp_quote(" void __RPC_STUB IAccPropServices_ComposeHwndIdentityString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  552. cpp_quote(" HRESULT WINAPI IAccPropServices_DecomposeHwndIdentityString_Proxy(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,HWND *phwnd,DWORD *pidObject,DWORD *pidChild);")
  553. cpp_quote(" void __RPC_STUB IAccPropServices_DecomposeHwndIdentityString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  554. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHmenuProp_Proxy(IAccPropServices *This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,VARIANT var);")
  555. cpp_quote(" void __RPC_STUB IAccPropServices_SetHmenuProp_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  556. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHmenuPropStr_Proxy(IAccPropServices *This,HMENU hmenu,DWORD idChild,MSAAPROPID idProp,LPCWSTR str);")
  557. cpp_quote(" void __RPC_STUB IAccPropServices_SetHmenuPropStr_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  558. cpp_quote(" HRESULT WINAPI IAccPropServices_SetHmenuPropServer_Proxy(IAccPropServices *This,HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps,IAccPropServer *pServer,AnnoScope annoScope);")
  559. cpp_quote(" void __RPC_STUB IAccPropServices_SetHmenuPropServer_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  560. cpp_quote(" HRESULT WINAPI IAccPropServices_ClearHmenuProps_Proxy(IAccPropServices *This,HMENU hmenu,DWORD idChild,const MSAAPROPID *paProps,int cProps);")
  561. cpp_quote(" void __RPC_STUB IAccPropServices_ClearHmenuProps_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  562. cpp_quote(" HRESULT WINAPI IAccPropServices_ComposeHmenuIdentityString_Proxy(IAccPropServices *This,HMENU hmenu,DWORD idChild,BYTE **ppIDString,DWORD *pdwIDStringLen);")
  563. cpp_quote(" void __RPC_STUB IAccPropServices_ComposeHmenuIdentityString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  564. cpp_quote(" HRESULT WINAPI IAccPropServices_DecomposeHmenuIdentityString_Proxy(IAccPropServices *This,const BYTE *pIDString,DWORD dwIDStringLen,HMENU *phmenu,DWORD *pidChild);")
  565. cpp_quote(" void __RPC_STUB IAccPropServices_DecomposeHmenuIdentityString_Stub(IRpcStubBuffer *This,IRpcChannelBuffer *_pRpcChannelBuffer,PRPC_MESSAGE _pRpcMessage,DWORD *_pdwStubPhase);")
  566. cpp_quote("#endif")
  567. cpp_quote("")
  568. cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_oleacc_0119_v0_0_c_ifspec;")
  569. cpp_quote(" extern RPC_IF_HANDLE __MIDL_itf_oleacc_0119_v0_0_s_ifspec;")
  570. cpp_quote("#ifndef __Accessibility_LIBRARY_DEFINED__")
  571. cpp_quote("#define __Accessibility_LIBRARY_DEFINED__")
  572. cpp_quote(" EXTERN_C const IID LIBID_Accessibility;")
  573. cpp_quote(" EXTERN_C const CLSID CLSID_CAccPropServices;")
  574. cpp_quote("#ifdef __cplusplus")
  575. cpp_quote(" class CAccPropServices;")
  576. cpp_quote("#endif")
  577. cpp_quote("#endif")
  578. cpp_quote("")
  579. cpp_quote(" ULONG __RPC_API BSTR_UserSize(ULONG *,ULONG,BSTR *);")
  580. cpp_quote(" unsigned char *__RPC_API BSTR_UserMarshal(ULONG *,unsigned char *,BSTR *);")
  581. cpp_quote(" unsigned char *__RPC_API BSTR_UserUnmarshal(ULONG *,unsigned char *,BSTR *);")
  582. cpp_quote(" void __RPC_API BSTR_UserFree(ULONG *,BSTR *);")
  583. cpp_quote(" ULONG __RPC_API HMENU_UserSize(ULONG *,ULONG,HMENU *);")
  584. cpp_quote(" unsigned char *__RPC_API HMENU_UserMarshal(ULONG *,unsigned char *,HMENU *);")
  585. cpp_quote(" unsigned char *__RPC_API HMENU_UserUnmarshal(ULONG *,unsigned char *,HMENU *);")
  586. cpp_quote(" void __RPC_API HMENU_UserFree(ULONG *,HMENU *);")
  587. cpp_quote(" ULONG __RPC_API HWND_UserSize(ULONG *,ULONG,HWND *);")
  588. cpp_quote(" unsigned char *__RPC_API HWND_UserMarshal(ULONG *,unsigned char *,HWND *);")
  589. cpp_quote(" unsigned char *__RPC_API HWND_UserUnmarshal(ULONG *,unsigned char *,HWND *);")
  590. cpp_quote(" void __RPC_API HWND_UserFree(ULONG *,HWND *);")
  591. cpp_quote(" ULONG __RPC_API VARIANT_UserSize(ULONG *,ULONG,VARIANT *);")
  592. cpp_quote(" unsigned char *__RPC_API VARIANT_UserMarshal(ULONG *,unsigned char *,VARIANT *);")
  593. cpp_quote(" unsigned char *__RPC_API VARIANT_UserUnmarshal(ULONG *,unsigned char *,VARIANT *);")
  594. cpp_quote(" void __RPC_API VARIANT_UserFree(ULONG *,VARIANT *);")