| 1 | /*** Autogenerated by WIDL 11.6 from include/activaut.idl - Do not edit ***/ |
| 2 | |
| 3 | #ifdef _WIN32 |
| 4 | #ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 5 | #define __REQUIRED_RPCNDR_H_VERSION__ 475 |
| 6 | #endif |
| 7 | #include <rpc.h> |
| 8 | #include <rpcndr.h> |
| 9 | #endif |
| 10 | |
| 11 | #ifndef COM_NO_WINDOWS_H |
| 12 | #include <windows.h> |
| 13 | #include <ole2.h> |
| 14 | #endif |
| 15 | |
| 16 | #ifndef __activaut_h__ |
| 17 | #define __activaut_h__ |
| 18 | |
| 19 | /* Forward declarations */ |
| 20 | |
| 21 | #ifndef __IScriptNode_FWD_DEFINED__ |
| 22 | #define __IScriptNode_FWD_DEFINED__ |
| 23 | typedef interface IScriptNode IScriptNode; |
| 24 | #ifdef __cplusplus |
| 25 | interface IScriptNode; |
| 26 | #endif /* __cplusplus */ |
| 27 | #endif |
| 28 | |
| 29 | #ifndef __IScriptEntry_FWD_DEFINED__ |
| 30 | #define __IScriptEntry_FWD_DEFINED__ |
| 31 | typedef interface IScriptEntry IScriptEntry; |
| 32 | #ifdef __cplusplus |
| 33 | interface IScriptEntry; |
| 34 | #endif /* __cplusplus */ |
| 35 | #endif |
| 36 | |
| 37 | #ifndef __IScriptScriptlet_FWD_DEFINED__ |
| 38 | #define __IScriptScriptlet_FWD_DEFINED__ |
| 39 | typedef interface IScriptScriptlet IScriptScriptlet; |
| 40 | #ifdef __cplusplus |
| 41 | interface IScriptScriptlet; |
| 42 | #endif /* __cplusplus */ |
| 43 | #endif |
| 44 | |
| 45 | #ifndef __IActiveScriptAuthor_FWD_DEFINED__ |
| 46 | #define __IActiveScriptAuthor_FWD_DEFINED__ |
| 47 | typedef interface IActiveScriptAuthor IActiveScriptAuthor; |
| 48 | #ifdef __cplusplus |
| 49 | interface IActiveScriptAuthor; |
| 50 | #endif /* __cplusplus */ |
| 51 | #endif |
| 52 | |
| 53 | #ifndef __IActiveScriptAuthorProcedure_FWD_DEFINED__ |
| 54 | #define __IActiveScriptAuthorProcedure_FWD_DEFINED__ |
| 55 | typedef interface IActiveScriptAuthorProcedure IActiveScriptAuthorProcedure; |
| 56 | #ifdef __cplusplus |
| 57 | interface IActiveScriptAuthorProcedure; |
| 58 | #endif /* __cplusplus */ |
| 59 | #endif |
| 60 | |
| 61 | /* Headers for imported files */ |
| 62 | |
| 63 | #include <ocidl.h> |
| 64 | #include <oleidl.h> |
| 65 | #include <oaidl.h> |
| 66 | |
| 67 | #ifdef __cplusplus |
| 68 | extern "C" { |
| 69 | #endif |
| 70 | |
| 71 | /** |
| 72 | * This file is part of the mingw-w64 runtime package. |
| 73 | * No warranty is given; refer to the file DISCLAIMER within this package. |
| 74 | */ |
| 75 | |
| 76 | #include <winapifamily.h> |
| 77 | |
| 78 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| 79 | |
| 80 | #ifndef __ActivAut_h |
| 81 | #define __ActivAut_h |
| 82 | |
| 83 | |
| 84 | #ifndef _NO_AUTHOR_GUIDS |
| 85 | DEFINE_GUID(CATID_ActiveScriptAuthor, 0xaee2a92, 0xbcbb, 0x11d0, 0x8c, 0x72, 0x0, 0xc0, 0x4f, 0xc2, 0xb0, 0x85); |
| 86 | #endif |
| 87 | |
| 88 | const DWORD fasaPreferInternalHandler = 1; |
| 89 | const DWORD fasaSupportInternalHandler = 2; |
| 90 | const DWORD fasaCaseSensitive = 4; |
| 91 | |
| 92 | const DWORD SCRIPT_CMPL_NOLIST = 0; |
| 93 | const DWORD SCRIPT_CMPL_MEMBERLIST = 1; |
| 94 | const DWORD SCRIPT_CMPL_ENUMLIST = 2; |
| 95 | const DWORD SCRIPT_CMPL_PARAMTIP = 4; |
| 96 | const DWORD SCRIPT_CMPL_GLOBALLIST = 8; |
| 97 | |
| 98 | const DWORD SCRIPT_CMPL_ENUM_TRIGGER = 1; |
| 99 | const DWORD SCRIPT_CMPL_MEMBER_TRIGGER = 2; |
| 100 | const DWORD SCRIPT_CMPL_PARAM_TRIGGER = 3; |
| 101 | const DWORD SCRIPT_CMPL_COMMIT = 4; |
| 102 | |
| 103 | const DWORD GETATTRTYPE_NORMAL = 0; |
| 104 | const DWORD GETATTRTYPE_DEPSCAN = 1; |
| 105 | |
| 106 | const DWORD GETATTRFLAG_THIS = 0x100; |
| 107 | const DWORD GETATTRFLAG_HUMANTEXT = 0x8000; |
| 108 | |
| 109 | const DWORD SOURCETEXT_ATTR_IDENTIFIER = 0x100; |
| 110 | const DWORD SOURCETEXT_ATTR_MEMBERLOOKUP = 0x200; |
| 111 | const DWORD SOURCETEXT_ATTR_THIS = 0x400; |
| 112 | const DWORD SOURCETEXT_ATTR_HUMANTEXT = 0x8000; |
| 113 | |
| 114 | #ifndef __IActiveScriptAuthor_FWD_DEFINED__ |
| 115 | #define __IActiveScriptAuthor_FWD_DEFINED__ |
| 116 | typedef interface IActiveScriptAuthor IActiveScriptAuthor; |
| 117 | #ifdef __cplusplus |
| 118 | interface IActiveScriptAuthor; |
| 119 | #endif /* __cplusplus */ |
| 120 | #endif |
| 121 | |
| 122 | #ifndef __IScriptNode_FWD_DEFINED__ |
| 123 | #define __IScriptNode_FWD_DEFINED__ |
| 124 | typedef interface IScriptNode IScriptNode; |
| 125 | #ifdef __cplusplus |
| 126 | interface IScriptNode; |
| 127 | #endif /* __cplusplus */ |
| 128 | #endif |
| 129 | |
| 130 | #ifndef __IScriptEntry_FWD_DEFINED__ |
| 131 | #define __IScriptEntry_FWD_DEFINED__ |
| 132 | typedef interface IScriptEntry IScriptEntry; |
| 133 | #ifdef __cplusplus |
| 134 | interface IScriptEntry; |
| 135 | #endif /* __cplusplus */ |
| 136 | #endif |
| 137 | |
| 138 | #ifndef __IScriptScriptlet_FWD_DEFINED__ |
| 139 | #define __IScriptScriptlet_FWD_DEFINED__ |
| 140 | typedef interface IScriptScriptlet IScriptScriptlet; |
| 141 | #ifdef __cplusplus |
| 142 | interface IScriptScriptlet; |
| 143 | #endif /* __cplusplus */ |
| 144 | #endif |
| 145 | |
| 146 | typedef WORD SOURCE_TEXT_ATTR; |
| 147 | /***************************************************************************** |
| 148 | * IScriptNode interface |
| 149 | */ |
| 150 | #ifndef __IScriptNode_INTERFACE_DEFINED__ |
| 151 | #define __IScriptNode_INTERFACE_DEFINED__ |
| 152 | |
| 153 | DEFINE_GUID(IID_IScriptNode, 0x0aee2a94, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85); |
| 154 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 155 | MIDL_INTERFACE("0aee2a94-bcbb-11d0-8c72-00c04fc2b085") |
| 156 | IScriptNode : public IUnknown |
| 157 | { |
| 158 | virtual HRESULT STDMETHODCALLTYPE Alive( |
| 159 | ) = 0; |
| 160 | |
| 161 | virtual HRESULT STDMETHODCALLTYPE Delete( |
| 162 | ) = 0; |
| 163 | |
| 164 | virtual HRESULT STDMETHODCALLTYPE GetParent( |
| 165 | IScriptNode **ppsnParent) = 0; |
| 166 | |
| 167 | virtual HRESULT STDMETHODCALLTYPE GetIndexInParent( |
| 168 | ULONG *pisn) = 0; |
| 169 | |
| 170 | virtual HRESULT STDMETHODCALLTYPE GetCookie( |
| 171 | DWORD *pdwCookie) = 0; |
| 172 | |
| 173 | virtual HRESULT STDMETHODCALLTYPE GetNumberOfChildren( |
| 174 | ULONG *pcsn) = 0; |
| 175 | |
| 176 | virtual HRESULT STDMETHODCALLTYPE GetChild( |
| 177 | ULONG isn, |
| 178 | IScriptNode **ppsn) = 0; |
| 179 | |
| 180 | virtual HRESULT STDMETHODCALLTYPE GetLanguage( |
| 181 | BSTR *pbstr) = 0; |
| 182 | |
| 183 | virtual HRESULT STDMETHODCALLTYPE CreateChildEntry( |
| 184 | ULONG isn, |
| 185 | DWORD dwCookie, |
| 186 | LPCOLESTR pszDelimiter, |
| 187 | IScriptEntry **ppse) = 0; |
| 188 | |
| 189 | virtual HRESULT STDMETHODCALLTYPE CreateChildHandler( |
| 190 | LPCOLESTR pszDefaultName, |
| 191 | LPCOLESTR *prgpszNames, |
| 192 | ULONG cpszNames, |
| 193 | LPCOLESTR pszEvent, |
| 194 | LPCOLESTR pszDelimiter, |
| 195 | ITypeInfo *ptiSignature, |
| 196 | ULONG iMethodSignature, |
| 197 | ULONG isn, |
| 198 | DWORD dwCookie, |
| 199 | IScriptEntry **ppse) = 0; |
| 200 | |
| 201 | }; |
| 202 | #ifdef __CRT_UUID_DECL |
| 203 | __CRT_UUID_DECL(IScriptNode, 0x0aee2a94, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85) |
| 204 | #endif |
| 205 | #else |
| 206 | typedef struct IScriptNodeVtbl { |
| 207 | BEGIN_INTERFACE |
| 208 | |
| 209 | /*** IUnknown methods ***/ |
| 210 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 211 | IScriptNode *This, |
| 212 | REFIID riid, |
| 213 | void **ppvObject); |
| 214 | |
| 215 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 216 | IScriptNode *This); |
| 217 | |
| 218 | ULONG (STDMETHODCALLTYPE *Release)( |
| 219 | IScriptNode *This); |
| 220 | |
| 221 | /*** IScriptNode methods ***/ |
| 222 | HRESULT (STDMETHODCALLTYPE *Alive)( |
| 223 | IScriptNode *This); |
| 224 | |
| 225 | HRESULT (STDMETHODCALLTYPE *Delete)( |
| 226 | IScriptNode *This); |
| 227 | |
| 228 | HRESULT (STDMETHODCALLTYPE *GetParent)( |
| 229 | IScriptNode *This, |
| 230 | IScriptNode **ppsnParent); |
| 231 | |
| 232 | HRESULT (STDMETHODCALLTYPE *GetIndexInParent)( |
| 233 | IScriptNode *This, |
| 234 | ULONG *pisn); |
| 235 | |
| 236 | HRESULT (STDMETHODCALLTYPE *GetCookie)( |
| 237 | IScriptNode *This, |
| 238 | DWORD *pdwCookie); |
| 239 | |
| 240 | HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)( |
| 241 | IScriptNode *This, |
| 242 | ULONG *pcsn); |
| 243 | |
| 244 | HRESULT (STDMETHODCALLTYPE *GetChild)( |
| 245 | IScriptNode *This, |
| 246 | ULONG isn, |
| 247 | IScriptNode **ppsn); |
| 248 | |
| 249 | HRESULT (STDMETHODCALLTYPE *GetLanguage)( |
| 250 | IScriptNode *This, |
| 251 | BSTR *pbstr); |
| 252 | |
| 253 | HRESULT (STDMETHODCALLTYPE *CreateChildEntry)( |
| 254 | IScriptNode *This, |
| 255 | ULONG isn, |
| 256 | DWORD dwCookie, |
| 257 | LPCOLESTR pszDelimiter, |
| 258 | IScriptEntry **ppse); |
| 259 | |
| 260 | HRESULT (STDMETHODCALLTYPE *CreateChildHandler)( |
| 261 | IScriptNode *This, |
| 262 | LPCOLESTR pszDefaultName, |
| 263 | LPCOLESTR *prgpszNames, |
| 264 | ULONG cpszNames, |
| 265 | LPCOLESTR pszEvent, |
| 266 | LPCOLESTR pszDelimiter, |
| 267 | ITypeInfo *ptiSignature, |
| 268 | ULONG iMethodSignature, |
| 269 | ULONG isn, |
| 270 | DWORD dwCookie, |
| 271 | IScriptEntry **ppse); |
| 272 | |
| 273 | END_INTERFACE |
| 274 | } IScriptNodeVtbl; |
| 275 | |
| 276 | interface IScriptNode { |
| 277 | CONST_VTBL IScriptNodeVtbl* lpVtbl; |
| 278 | }; |
| 279 | |
| 280 | #ifdef COBJMACROS |
| 281 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 282 | /*** IUnknown methods ***/ |
| 283 | #define IScriptNode_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 284 | #define IScriptNode_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 285 | #define IScriptNode_Release(This) (This)->lpVtbl->Release(This) |
| 286 | /*** IScriptNode methods ***/ |
| 287 | #define IScriptNode_Alive(This) (This)->lpVtbl->Alive(This) |
| 288 | #define IScriptNode_Delete(This) (This)->lpVtbl->Delete(This) |
| 289 | #define IScriptNode_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent) |
| 290 | #define IScriptNode_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn) |
| 291 | #define IScriptNode_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie) |
| 292 | #define IScriptNode_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn) |
| 293 | #define IScriptNode_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn) |
| 294 | #define IScriptNode_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr) |
| 295 | #define IScriptNode_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) |
| 296 | #define IScriptNode_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) |
| 297 | #else |
| 298 | /*** IUnknown methods ***/ |
| 299 | static inline HRESULT IScriptNode_QueryInterface(IScriptNode* This,REFIID riid,void **ppvObject) { |
| 300 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 301 | } |
| 302 | static inline ULONG IScriptNode_AddRef(IScriptNode* This) { |
| 303 | return This->lpVtbl->AddRef(This); |
| 304 | } |
| 305 | static inline ULONG IScriptNode_Release(IScriptNode* This) { |
| 306 | return This->lpVtbl->Release(This); |
| 307 | } |
| 308 | /*** IScriptNode methods ***/ |
| 309 | static inline HRESULT IScriptNode_Alive(IScriptNode* This) { |
| 310 | return This->lpVtbl->Alive(This); |
| 311 | } |
| 312 | static inline HRESULT IScriptNode_Delete(IScriptNode* This) { |
| 313 | return This->lpVtbl->Delete(This); |
| 314 | } |
| 315 | static inline HRESULT IScriptNode_GetParent(IScriptNode* This,IScriptNode **ppsnParent) { |
| 316 | return This->lpVtbl->GetParent(This,ppsnParent); |
| 317 | } |
| 318 | static inline HRESULT IScriptNode_GetIndexInParent(IScriptNode* This,ULONG *pisn) { |
| 319 | return This->lpVtbl->GetIndexInParent(This,pisn); |
| 320 | } |
| 321 | static inline HRESULT IScriptNode_GetCookie(IScriptNode* This,DWORD *pdwCookie) { |
| 322 | return This->lpVtbl->GetCookie(This,pdwCookie); |
| 323 | } |
| 324 | static inline HRESULT IScriptNode_GetNumberOfChildren(IScriptNode* This,ULONG *pcsn) { |
| 325 | return This->lpVtbl->GetNumberOfChildren(This,pcsn); |
| 326 | } |
| 327 | static inline HRESULT IScriptNode_GetChild(IScriptNode* This,ULONG isn,IScriptNode **ppsn) { |
| 328 | return This->lpVtbl->GetChild(This,isn,ppsn); |
| 329 | } |
| 330 | static inline HRESULT IScriptNode_GetLanguage(IScriptNode* This,BSTR *pbstr) { |
| 331 | return This->lpVtbl->GetLanguage(This,pbstr); |
| 332 | } |
| 333 | static inline HRESULT IScriptNode_CreateChildEntry(IScriptNode* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) { |
| 334 | return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse); |
| 335 | } |
| 336 | static inline HRESULT IScriptNode_CreateChildHandler(IScriptNode* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) { |
| 337 | return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse); |
| 338 | } |
| 339 | #endif |
| 340 | #endif |
| 341 | |
| 342 | #endif |
| 343 | |
| 344 | |
| 345 | #endif /* __IScriptNode_INTERFACE_DEFINED__ */ |
| 346 | |
| 347 | /***************************************************************************** |
| 348 | * IScriptEntry interface |
| 349 | */ |
| 350 | #ifndef __IScriptEntry_INTERFACE_DEFINED__ |
| 351 | #define __IScriptEntry_INTERFACE_DEFINED__ |
| 352 | |
| 353 | DEFINE_GUID(IID_IScriptEntry, 0x0aee2a95, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85); |
| 354 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 355 | MIDL_INTERFACE("0aee2a95-bcbb-11d0-8c72-00c04fc2b085") |
| 356 | IScriptEntry : public IScriptNode |
| 357 | { |
| 358 | virtual HRESULT STDMETHODCALLTYPE GetText( |
| 359 | BSTR *pbstr) = 0; |
| 360 | |
| 361 | virtual HRESULT STDMETHODCALLTYPE SetText( |
| 362 | LPCOLESTR psz) = 0; |
| 363 | |
| 364 | virtual HRESULT STDMETHODCALLTYPE GetBody( |
| 365 | BSTR *pbstr) = 0; |
| 366 | |
| 367 | virtual HRESULT STDMETHODCALLTYPE SetBody( |
| 368 | LPCOLESTR psz) = 0; |
| 369 | |
| 370 | virtual HRESULT STDMETHODCALLTYPE GetName( |
| 371 | BSTR *pbstr) = 0; |
| 372 | |
| 373 | virtual HRESULT STDMETHODCALLTYPE SetName( |
| 374 | LPCOLESTR psz) = 0; |
| 375 | |
| 376 | virtual HRESULT STDMETHODCALLTYPE GetItemName( |
| 377 | BSTR *pbstr) = 0; |
| 378 | |
| 379 | virtual HRESULT STDMETHODCALLTYPE SetItemName( |
| 380 | LPCOLESTR psz) = 0; |
| 381 | |
| 382 | virtual HRESULT STDMETHODCALLTYPE GetSignature( |
| 383 | ITypeInfo **ppti, |
| 384 | ULONG *piMethod) = 0; |
| 385 | |
| 386 | virtual HRESULT STDMETHODCALLTYPE SetSignature( |
| 387 | ITypeInfo *pti, |
| 388 | ULONG iMethod) = 0; |
| 389 | |
| 390 | virtual HRESULT STDMETHODCALLTYPE GetRange( |
| 391 | ULONG *pichMin, |
| 392 | ULONG *pcch) = 0; |
| 393 | |
| 394 | }; |
| 395 | #ifdef __CRT_UUID_DECL |
| 396 | __CRT_UUID_DECL(IScriptEntry, 0x0aee2a95, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85) |
| 397 | #endif |
| 398 | #else |
| 399 | typedef struct IScriptEntryVtbl { |
| 400 | BEGIN_INTERFACE |
| 401 | |
| 402 | /*** IUnknown methods ***/ |
| 403 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 404 | IScriptEntry *This, |
| 405 | REFIID riid, |
| 406 | void **ppvObject); |
| 407 | |
| 408 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 409 | IScriptEntry *This); |
| 410 | |
| 411 | ULONG (STDMETHODCALLTYPE *Release)( |
| 412 | IScriptEntry *This); |
| 413 | |
| 414 | /*** IScriptNode methods ***/ |
| 415 | HRESULT (STDMETHODCALLTYPE *Alive)( |
| 416 | IScriptEntry *This); |
| 417 | |
| 418 | HRESULT (STDMETHODCALLTYPE *Delete)( |
| 419 | IScriptEntry *This); |
| 420 | |
| 421 | HRESULT (STDMETHODCALLTYPE *GetParent)( |
| 422 | IScriptEntry *This, |
| 423 | IScriptNode **ppsnParent); |
| 424 | |
| 425 | HRESULT (STDMETHODCALLTYPE *GetIndexInParent)( |
| 426 | IScriptEntry *This, |
| 427 | ULONG *pisn); |
| 428 | |
| 429 | HRESULT (STDMETHODCALLTYPE *GetCookie)( |
| 430 | IScriptEntry *This, |
| 431 | DWORD *pdwCookie); |
| 432 | |
| 433 | HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)( |
| 434 | IScriptEntry *This, |
| 435 | ULONG *pcsn); |
| 436 | |
| 437 | HRESULT (STDMETHODCALLTYPE *GetChild)( |
| 438 | IScriptEntry *This, |
| 439 | ULONG isn, |
| 440 | IScriptNode **ppsn); |
| 441 | |
| 442 | HRESULT (STDMETHODCALLTYPE *GetLanguage)( |
| 443 | IScriptEntry *This, |
| 444 | BSTR *pbstr); |
| 445 | |
| 446 | HRESULT (STDMETHODCALLTYPE *CreateChildEntry)( |
| 447 | IScriptEntry *This, |
| 448 | ULONG isn, |
| 449 | DWORD dwCookie, |
| 450 | LPCOLESTR pszDelimiter, |
| 451 | IScriptEntry **ppse); |
| 452 | |
| 453 | HRESULT (STDMETHODCALLTYPE *CreateChildHandler)( |
| 454 | IScriptEntry *This, |
| 455 | LPCOLESTR pszDefaultName, |
| 456 | LPCOLESTR *prgpszNames, |
| 457 | ULONG cpszNames, |
| 458 | LPCOLESTR pszEvent, |
| 459 | LPCOLESTR pszDelimiter, |
| 460 | ITypeInfo *ptiSignature, |
| 461 | ULONG iMethodSignature, |
| 462 | ULONG isn, |
| 463 | DWORD dwCookie, |
| 464 | IScriptEntry **ppse); |
| 465 | |
| 466 | /*** IScriptEntry methods ***/ |
| 467 | HRESULT (STDMETHODCALLTYPE *GetText)( |
| 468 | IScriptEntry *This, |
| 469 | BSTR *pbstr); |
| 470 | |
| 471 | HRESULT (STDMETHODCALLTYPE *SetText)( |
| 472 | IScriptEntry *This, |
| 473 | LPCOLESTR psz); |
| 474 | |
| 475 | HRESULT (STDMETHODCALLTYPE *GetBody)( |
| 476 | IScriptEntry *This, |
| 477 | BSTR *pbstr); |
| 478 | |
| 479 | HRESULT (STDMETHODCALLTYPE *SetBody)( |
| 480 | IScriptEntry *This, |
| 481 | LPCOLESTR psz); |
| 482 | |
| 483 | HRESULT (STDMETHODCALLTYPE *GetName)( |
| 484 | IScriptEntry *This, |
| 485 | BSTR *pbstr); |
| 486 | |
| 487 | HRESULT (STDMETHODCALLTYPE *SetName)( |
| 488 | IScriptEntry *This, |
| 489 | LPCOLESTR psz); |
| 490 | |
| 491 | HRESULT (STDMETHODCALLTYPE *GetItemName)( |
| 492 | IScriptEntry *This, |
| 493 | BSTR *pbstr); |
| 494 | |
| 495 | HRESULT (STDMETHODCALLTYPE *SetItemName)( |
| 496 | IScriptEntry *This, |
| 497 | LPCOLESTR psz); |
| 498 | |
| 499 | HRESULT (STDMETHODCALLTYPE *GetSignature)( |
| 500 | IScriptEntry *This, |
| 501 | ITypeInfo **ppti, |
| 502 | ULONG *piMethod); |
| 503 | |
| 504 | HRESULT (STDMETHODCALLTYPE *SetSignature)( |
| 505 | IScriptEntry *This, |
| 506 | ITypeInfo *pti, |
| 507 | ULONG iMethod); |
| 508 | |
| 509 | HRESULT (STDMETHODCALLTYPE *GetRange)( |
| 510 | IScriptEntry *This, |
| 511 | ULONG *pichMin, |
| 512 | ULONG *pcch); |
| 513 | |
| 514 | END_INTERFACE |
| 515 | } IScriptEntryVtbl; |
| 516 | |
| 517 | interface IScriptEntry { |
| 518 | CONST_VTBL IScriptEntryVtbl* lpVtbl; |
| 519 | }; |
| 520 | |
| 521 | #ifdef COBJMACROS |
| 522 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 523 | /*** IUnknown methods ***/ |
| 524 | #define IScriptEntry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 525 | #define IScriptEntry_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 526 | #define IScriptEntry_Release(This) (This)->lpVtbl->Release(This) |
| 527 | /*** IScriptNode methods ***/ |
| 528 | #define IScriptEntry_Alive(This) (This)->lpVtbl->Alive(This) |
| 529 | #define IScriptEntry_Delete(This) (This)->lpVtbl->Delete(This) |
| 530 | #define IScriptEntry_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent) |
| 531 | #define IScriptEntry_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn) |
| 532 | #define IScriptEntry_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie) |
| 533 | #define IScriptEntry_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn) |
| 534 | #define IScriptEntry_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn) |
| 535 | #define IScriptEntry_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr) |
| 536 | #define IScriptEntry_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) |
| 537 | #define IScriptEntry_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) |
| 538 | /*** IScriptEntry methods ***/ |
| 539 | #define IScriptEntry_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr) |
| 540 | #define IScriptEntry_SetText(This,psz) (This)->lpVtbl->SetText(This,psz) |
| 541 | #define IScriptEntry_GetBody(This,pbstr) (This)->lpVtbl->GetBody(This,pbstr) |
| 542 | #define IScriptEntry_SetBody(This,psz) (This)->lpVtbl->SetBody(This,psz) |
| 543 | #define IScriptEntry_GetName(This,pbstr) (This)->lpVtbl->GetName(This,pbstr) |
| 544 | #define IScriptEntry_SetName(This,psz) (This)->lpVtbl->SetName(This,psz) |
| 545 | #define IScriptEntry_GetItemName(This,pbstr) (This)->lpVtbl->GetItemName(This,pbstr) |
| 546 | #define IScriptEntry_SetItemName(This,psz) (This)->lpVtbl->SetItemName(This,psz) |
| 547 | #define IScriptEntry_GetSignature(This,ppti,piMethod) (This)->lpVtbl->GetSignature(This,ppti,piMethod) |
| 548 | #define IScriptEntry_SetSignature(This,pti,iMethod) (This)->lpVtbl->SetSignature(This,pti,iMethod) |
| 549 | #define IScriptEntry_GetRange(This,pichMin,pcch) (This)->lpVtbl->GetRange(This,pichMin,pcch) |
| 550 | #else |
| 551 | /*** IUnknown methods ***/ |
| 552 | static inline HRESULT IScriptEntry_QueryInterface(IScriptEntry* This,REFIID riid,void **ppvObject) { |
| 553 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 554 | } |
| 555 | static inline ULONG IScriptEntry_AddRef(IScriptEntry* This) { |
| 556 | return This->lpVtbl->AddRef(This); |
| 557 | } |
| 558 | static inline ULONG IScriptEntry_Release(IScriptEntry* This) { |
| 559 | return This->lpVtbl->Release(This); |
| 560 | } |
| 561 | /*** IScriptNode methods ***/ |
| 562 | static inline HRESULT IScriptEntry_Alive(IScriptEntry* This) { |
| 563 | return This->lpVtbl->Alive(This); |
| 564 | } |
| 565 | static inline HRESULT IScriptEntry_Delete(IScriptEntry* This) { |
| 566 | return This->lpVtbl->Delete(This); |
| 567 | } |
| 568 | static inline HRESULT IScriptEntry_GetParent(IScriptEntry* This,IScriptNode **ppsnParent) { |
| 569 | return This->lpVtbl->GetParent(This,ppsnParent); |
| 570 | } |
| 571 | static inline HRESULT IScriptEntry_GetIndexInParent(IScriptEntry* This,ULONG *pisn) { |
| 572 | return This->lpVtbl->GetIndexInParent(This,pisn); |
| 573 | } |
| 574 | static inline HRESULT IScriptEntry_GetCookie(IScriptEntry* This,DWORD *pdwCookie) { |
| 575 | return This->lpVtbl->GetCookie(This,pdwCookie); |
| 576 | } |
| 577 | static inline HRESULT IScriptEntry_GetNumberOfChildren(IScriptEntry* This,ULONG *pcsn) { |
| 578 | return This->lpVtbl->GetNumberOfChildren(This,pcsn); |
| 579 | } |
| 580 | static inline HRESULT IScriptEntry_GetChild(IScriptEntry* This,ULONG isn,IScriptNode **ppsn) { |
| 581 | return This->lpVtbl->GetChild(This,isn,ppsn); |
| 582 | } |
| 583 | static inline HRESULT IScriptEntry_GetLanguage(IScriptEntry* This,BSTR *pbstr) { |
| 584 | return This->lpVtbl->GetLanguage(This,pbstr); |
| 585 | } |
| 586 | static inline HRESULT IScriptEntry_CreateChildEntry(IScriptEntry* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) { |
| 587 | return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse); |
| 588 | } |
| 589 | static inline HRESULT IScriptEntry_CreateChildHandler(IScriptEntry* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) { |
| 590 | return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse); |
| 591 | } |
| 592 | /*** IScriptEntry methods ***/ |
| 593 | static inline HRESULT IScriptEntry_GetText(IScriptEntry* This,BSTR *pbstr) { |
| 594 | return This->lpVtbl->GetText(This,pbstr); |
| 595 | } |
| 596 | static inline HRESULT IScriptEntry_SetText(IScriptEntry* This,LPCOLESTR psz) { |
| 597 | return This->lpVtbl->SetText(This,psz); |
| 598 | } |
| 599 | static inline HRESULT IScriptEntry_GetBody(IScriptEntry* This,BSTR *pbstr) { |
| 600 | return This->lpVtbl->GetBody(This,pbstr); |
| 601 | } |
| 602 | static inline HRESULT IScriptEntry_SetBody(IScriptEntry* This,LPCOLESTR psz) { |
| 603 | return This->lpVtbl->SetBody(This,psz); |
| 604 | } |
| 605 | static inline HRESULT IScriptEntry_GetName(IScriptEntry* This,BSTR *pbstr) { |
| 606 | return This->lpVtbl->GetName(This,pbstr); |
| 607 | } |
| 608 | static inline HRESULT IScriptEntry_SetName(IScriptEntry* This,LPCOLESTR psz) { |
| 609 | return This->lpVtbl->SetName(This,psz); |
| 610 | } |
| 611 | static inline HRESULT IScriptEntry_GetItemName(IScriptEntry* This,BSTR *pbstr) { |
| 612 | return This->lpVtbl->GetItemName(This,pbstr); |
| 613 | } |
| 614 | static inline HRESULT IScriptEntry_SetItemName(IScriptEntry* This,LPCOLESTR psz) { |
| 615 | return This->lpVtbl->SetItemName(This,psz); |
| 616 | } |
| 617 | static inline HRESULT IScriptEntry_GetSignature(IScriptEntry* This,ITypeInfo **ppti,ULONG *piMethod) { |
| 618 | return This->lpVtbl->GetSignature(This,ppti,piMethod); |
| 619 | } |
| 620 | static inline HRESULT IScriptEntry_SetSignature(IScriptEntry* This,ITypeInfo *pti,ULONG iMethod) { |
| 621 | return This->lpVtbl->SetSignature(This,pti,iMethod); |
| 622 | } |
| 623 | static inline HRESULT IScriptEntry_GetRange(IScriptEntry* This,ULONG *pichMin,ULONG *pcch) { |
| 624 | return This->lpVtbl->GetRange(This,pichMin,pcch); |
| 625 | } |
| 626 | #endif |
| 627 | #endif |
| 628 | |
| 629 | #endif |
| 630 | |
| 631 | |
| 632 | #endif /* __IScriptEntry_INTERFACE_DEFINED__ */ |
| 633 | |
| 634 | /***************************************************************************** |
| 635 | * IScriptScriptlet interface |
| 636 | */ |
| 637 | #ifndef __IScriptScriptlet_INTERFACE_DEFINED__ |
| 638 | #define __IScriptScriptlet_INTERFACE_DEFINED__ |
| 639 | |
| 640 | DEFINE_GUID(IID_IScriptScriptlet, 0x0aee2a96, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85); |
| 641 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 642 | MIDL_INTERFACE("0aee2a96-bcbb-11d0-8c72-00c04fc2b085") |
| 643 | IScriptScriptlet : public IScriptEntry |
| 644 | { |
| 645 | virtual HRESULT STDMETHODCALLTYPE GetSubItemName( |
| 646 | BSTR *pbstr) = 0; |
| 647 | |
| 648 | virtual HRESULT STDMETHODCALLTYPE SetSubItemName( |
| 649 | LPCOLESTR psz) = 0; |
| 650 | |
| 651 | virtual HRESULT STDMETHODCALLTYPE GetEventName( |
| 652 | BSTR *pbstr) = 0; |
| 653 | |
| 654 | virtual HRESULT STDMETHODCALLTYPE SetEventName( |
| 655 | LPCOLESTR psz) = 0; |
| 656 | |
| 657 | virtual HRESULT STDMETHODCALLTYPE GetSimpleEventName( |
| 658 | BSTR *pbstr) = 0; |
| 659 | |
| 660 | virtual HRESULT STDMETHODCALLTYPE SetSimpleEventName( |
| 661 | LPCOLESTR psz) = 0; |
| 662 | |
| 663 | }; |
| 664 | #ifdef __CRT_UUID_DECL |
| 665 | __CRT_UUID_DECL(IScriptScriptlet, 0x0aee2a96, 0xbcbb, 0x11d0, 0x8c,0x72, 0x00,0xc0,0x4f,0xc2,0xb0,0x85) |
| 666 | #endif |
| 667 | #else |
| 668 | typedef struct IScriptScriptletVtbl { |
| 669 | BEGIN_INTERFACE |
| 670 | |
| 671 | /*** IUnknown methods ***/ |
| 672 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 673 | IScriptScriptlet *This, |
| 674 | REFIID riid, |
| 675 | void **ppvObject); |
| 676 | |
| 677 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 678 | IScriptScriptlet *This); |
| 679 | |
| 680 | ULONG (STDMETHODCALLTYPE *Release)( |
| 681 | IScriptScriptlet *This); |
| 682 | |
| 683 | /*** IScriptNode methods ***/ |
| 684 | HRESULT (STDMETHODCALLTYPE *Alive)( |
| 685 | IScriptScriptlet *This); |
| 686 | |
| 687 | HRESULT (STDMETHODCALLTYPE *Delete)( |
| 688 | IScriptScriptlet *This); |
| 689 | |
| 690 | HRESULT (STDMETHODCALLTYPE *GetParent)( |
| 691 | IScriptScriptlet *This, |
| 692 | IScriptNode **ppsnParent); |
| 693 | |
| 694 | HRESULT (STDMETHODCALLTYPE *GetIndexInParent)( |
| 695 | IScriptScriptlet *This, |
| 696 | ULONG *pisn); |
| 697 | |
| 698 | HRESULT (STDMETHODCALLTYPE *GetCookie)( |
| 699 | IScriptScriptlet *This, |
| 700 | DWORD *pdwCookie); |
| 701 | |
| 702 | HRESULT (STDMETHODCALLTYPE *GetNumberOfChildren)( |
| 703 | IScriptScriptlet *This, |
| 704 | ULONG *pcsn); |
| 705 | |
| 706 | HRESULT (STDMETHODCALLTYPE *GetChild)( |
| 707 | IScriptScriptlet *This, |
| 708 | ULONG isn, |
| 709 | IScriptNode **ppsn); |
| 710 | |
| 711 | HRESULT (STDMETHODCALLTYPE *GetLanguage)( |
| 712 | IScriptScriptlet *This, |
| 713 | BSTR *pbstr); |
| 714 | |
| 715 | HRESULT (STDMETHODCALLTYPE *CreateChildEntry)( |
| 716 | IScriptScriptlet *This, |
| 717 | ULONG isn, |
| 718 | DWORD dwCookie, |
| 719 | LPCOLESTR pszDelimiter, |
| 720 | IScriptEntry **ppse); |
| 721 | |
| 722 | HRESULT (STDMETHODCALLTYPE *CreateChildHandler)( |
| 723 | IScriptScriptlet *This, |
| 724 | LPCOLESTR pszDefaultName, |
| 725 | LPCOLESTR *prgpszNames, |
| 726 | ULONG cpszNames, |
| 727 | LPCOLESTR pszEvent, |
| 728 | LPCOLESTR pszDelimiter, |
| 729 | ITypeInfo *ptiSignature, |
| 730 | ULONG iMethodSignature, |
| 731 | ULONG isn, |
| 732 | DWORD dwCookie, |
| 733 | IScriptEntry **ppse); |
| 734 | |
| 735 | /*** IScriptEntry methods ***/ |
| 736 | HRESULT (STDMETHODCALLTYPE *GetText)( |
| 737 | IScriptScriptlet *This, |
| 738 | BSTR *pbstr); |
| 739 | |
| 740 | HRESULT (STDMETHODCALLTYPE *SetText)( |
| 741 | IScriptScriptlet *This, |
| 742 | LPCOLESTR psz); |
| 743 | |
| 744 | HRESULT (STDMETHODCALLTYPE *GetBody)( |
| 745 | IScriptScriptlet *This, |
| 746 | BSTR *pbstr); |
| 747 | |
| 748 | HRESULT (STDMETHODCALLTYPE *SetBody)( |
| 749 | IScriptScriptlet *This, |
| 750 | LPCOLESTR psz); |
| 751 | |
| 752 | HRESULT (STDMETHODCALLTYPE *GetName)( |
| 753 | IScriptScriptlet *This, |
| 754 | BSTR *pbstr); |
| 755 | |
| 756 | HRESULT (STDMETHODCALLTYPE *SetName)( |
| 757 | IScriptScriptlet *This, |
| 758 | LPCOLESTR psz); |
| 759 | |
| 760 | HRESULT (STDMETHODCALLTYPE *GetItemName)( |
| 761 | IScriptScriptlet *This, |
| 762 | BSTR *pbstr); |
| 763 | |
| 764 | HRESULT (STDMETHODCALLTYPE *SetItemName)( |
| 765 | IScriptScriptlet *This, |
| 766 | LPCOLESTR psz); |
| 767 | |
| 768 | HRESULT (STDMETHODCALLTYPE *GetSignature)( |
| 769 | IScriptScriptlet *This, |
| 770 | ITypeInfo **ppti, |
| 771 | ULONG *piMethod); |
| 772 | |
| 773 | HRESULT (STDMETHODCALLTYPE *SetSignature)( |
| 774 | IScriptScriptlet *This, |
| 775 | ITypeInfo *pti, |
| 776 | ULONG iMethod); |
| 777 | |
| 778 | HRESULT (STDMETHODCALLTYPE *GetRange)( |
| 779 | IScriptScriptlet *This, |
| 780 | ULONG *pichMin, |
| 781 | ULONG *pcch); |
| 782 | |
| 783 | /*** IScriptScriptlet methods ***/ |
| 784 | HRESULT (STDMETHODCALLTYPE *GetSubItemName)( |
| 785 | IScriptScriptlet *This, |
| 786 | BSTR *pbstr); |
| 787 | |
| 788 | HRESULT (STDMETHODCALLTYPE *SetSubItemName)( |
| 789 | IScriptScriptlet *This, |
| 790 | LPCOLESTR psz); |
| 791 | |
| 792 | HRESULT (STDMETHODCALLTYPE *GetEventName)( |
| 793 | IScriptScriptlet *This, |
| 794 | BSTR *pbstr); |
| 795 | |
| 796 | HRESULT (STDMETHODCALLTYPE *SetEventName)( |
| 797 | IScriptScriptlet *This, |
| 798 | LPCOLESTR psz); |
| 799 | |
| 800 | HRESULT (STDMETHODCALLTYPE *GetSimpleEventName)( |
| 801 | IScriptScriptlet *This, |
| 802 | BSTR *pbstr); |
| 803 | |
| 804 | HRESULT (STDMETHODCALLTYPE *SetSimpleEventName)( |
| 805 | IScriptScriptlet *This, |
| 806 | LPCOLESTR psz); |
| 807 | |
| 808 | END_INTERFACE |
| 809 | } IScriptScriptletVtbl; |
| 810 | |
| 811 | interface IScriptScriptlet { |
| 812 | CONST_VTBL IScriptScriptletVtbl* lpVtbl; |
| 813 | }; |
| 814 | |
| 815 | #ifdef COBJMACROS |
| 816 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 817 | /*** IUnknown methods ***/ |
| 818 | #define IScriptScriptlet_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 819 | #define IScriptScriptlet_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 820 | #define IScriptScriptlet_Release(This) (This)->lpVtbl->Release(This) |
| 821 | /*** IScriptNode methods ***/ |
| 822 | #define IScriptScriptlet_Alive(This) (This)->lpVtbl->Alive(This) |
| 823 | #define IScriptScriptlet_Delete(This) (This)->lpVtbl->Delete(This) |
| 824 | #define IScriptScriptlet_GetParent(This,ppsnParent) (This)->lpVtbl->GetParent(This,ppsnParent) |
| 825 | #define IScriptScriptlet_GetIndexInParent(This,pisn) (This)->lpVtbl->GetIndexInParent(This,pisn) |
| 826 | #define IScriptScriptlet_GetCookie(This,pdwCookie) (This)->lpVtbl->GetCookie(This,pdwCookie) |
| 827 | #define IScriptScriptlet_GetNumberOfChildren(This,pcsn) (This)->lpVtbl->GetNumberOfChildren(This,pcsn) |
| 828 | #define IScriptScriptlet_GetChild(This,isn,ppsn) (This)->lpVtbl->GetChild(This,isn,ppsn) |
| 829 | #define IScriptScriptlet_GetLanguage(This,pbstr) (This)->lpVtbl->GetLanguage(This,pbstr) |
| 830 | #define IScriptScriptlet_CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) (This)->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse) |
| 831 | #define IScriptScriptlet_CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) (This)->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse) |
| 832 | /*** IScriptEntry methods ***/ |
| 833 | #define IScriptScriptlet_GetText(This,pbstr) (This)->lpVtbl->GetText(This,pbstr) |
| 834 | #define IScriptScriptlet_SetText(This,psz) (This)->lpVtbl->SetText(This,psz) |
| 835 | #define IScriptScriptlet_GetBody(This,pbstr) (This)->lpVtbl->GetBody(This,pbstr) |
| 836 | #define IScriptScriptlet_SetBody(This,psz) (This)->lpVtbl->SetBody(This,psz) |
| 837 | #define IScriptScriptlet_GetName(This,pbstr) (This)->lpVtbl->GetName(This,pbstr) |
| 838 | #define IScriptScriptlet_SetName(This,psz) (This)->lpVtbl->SetName(This,psz) |
| 839 | #define IScriptScriptlet_GetItemName(This,pbstr) (This)->lpVtbl->GetItemName(This,pbstr) |
| 840 | #define IScriptScriptlet_SetItemName(This,psz) (This)->lpVtbl->SetItemName(This,psz) |
| 841 | #define IScriptScriptlet_GetSignature(This,ppti,piMethod) (This)->lpVtbl->GetSignature(This,ppti,piMethod) |
| 842 | #define IScriptScriptlet_SetSignature(This,pti,iMethod) (This)->lpVtbl->SetSignature(This,pti,iMethod) |
| 843 | #define IScriptScriptlet_GetRange(This,pichMin,pcch) (This)->lpVtbl->GetRange(This,pichMin,pcch) |
| 844 | /*** IScriptScriptlet methods ***/ |
| 845 | #define IScriptScriptlet_GetSubItemName(This,pbstr) (This)->lpVtbl->GetSubItemName(This,pbstr) |
| 846 | #define IScriptScriptlet_SetSubItemName(This,psz) (This)->lpVtbl->SetSubItemName(This,psz) |
| 847 | #define IScriptScriptlet_GetEventName(This,pbstr) (This)->lpVtbl->GetEventName(This,pbstr) |
| 848 | #define IScriptScriptlet_SetEventName(This,psz) (This)->lpVtbl->SetEventName(This,psz) |
| 849 | #define IScriptScriptlet_GetSimpleEventName(This,pbstr) (This)->lpVtbl->GetSimpleEventName(This,pbstr) |
| 850 | #define IScriptScriptlet_SetSimpleEventName(This,psz) (This)->lpVtbl->SetSimpleEventName(This,psz) |
| 851 | #else |
| 852 | /*** IUnknown methods ***/ |
| 853 | static inline HRESULT IScriptScriptlet_QueryInterface(IScriptScriptlet* This,REFIID riid,void **ppvObject) { |
| 854 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 855 | } |
| 856 | static inline ULONG IScriptScriptlet_AddRef(IScriptScriptlet* This) { |
| 857 | return This->lpVtbl->AddRef(This); |
| 858 | } |
| 859 | static inline ULONG IScriptScriptlet_Release(IScriptScriptlet* This) { |
| 860 | return This->lpVtbl->Release(This); |
| 861 | } |
| 862 | /*** IScriptNode methods ***/ |
| 863 | static inline HRESULT IScriptScriptlet_Alive(IScriptScriptlet* This) { |
| 864 | return This->lpVtbl->Alive(This); |
| 865 | } |
| 866 | static inline HRESULT IScriptScriptlet_Delete(IScriptScriptlet* This) { |
| 867 | return This->lpVtbl->Delete(This); |
| 868 | } |
| 869 | static inline HRESULT IScriptScriptlet_GetParent(IScriptScriptlet* This,IScriptNode **ppsnParent) { |
| 870 | return This->lpVtbl->GetParent(This,ppsnParent); |
| 871 | } |
| 872 | static inline HRESULT IScriptScriptlet_GetIndexInParent(IScriptScriptlet* This,ULONG *pisn) { |
| 873 | return This->lpVtbl->GetIndexInParent(This,pisn); |
| 874 | } |
| 875 | static inline HRESULT IScriptScriptlet_GetCookie(IScriptScriptlet* This,DWORD *pdwCookie) { |
| 876 | return This->lpVtbl->GetCookie(This,pdwCookie); |
| 877 | } |
| 878 | static inline HRESULT IScriptScriptlet_GetNumberOfChildren(IScriptScriptlet* This,ULONG *pcsn) { |
| 879 | return This->lpVtbl->GetNumberOfChildren(This,pcsn); |
| 880 | } |
| 881 | static inline HRESULT IScriptScriptlet_GetChild(IScriptScriptlet* This,ULONG isn,IScriptNode **ppsn) { |
| 882 | return This->lpVtbl->GetChild(This,isn,ppsn); |
| 883 | } |
| 884 | static inline HRESULT IScriptScriptlet_GetLanguage(IScriptScriptlet* This,BSTR *pbstr) { |
| 885 | return This->lpVtbl->GetLanguage(This,pbstr); |
| 886 | } |
| 887 | static inline HRESULT IScriptScriptlet_CreateChildEntry(IScriptScriptlet* This,ULONG isn,DWORD dwCookie,LPCOLESTR pszDelimiter,IScriptEntry **ppse) { |
| 888 | return This->lpVtbl->CreateChildEntry(This,isn,dwCookie,pszDelimiter,ppse); |
| 889 | } |
| 890 | static inline HRESULT IScriptScriptlet_CreateChildHandler(IScriptScriptlet* This,LPCOLESTR pszDefaultName,LPCOLESTR *prgpszNames,ULONG cpszNames,LPCOLESTR pszEvent,LPCOLESTR pszDelimiter,ITypeInfo *ptiSignature,ULONG iMethodSignature,ULONG isn,DWORD dwCookie,IScriptEntry **ppse) { |
| 891 | return This->lpVtbl->CreateChildHandler(This,pszDefaultName,prgpszNames,cpszNames,pszEvent,pszDelimiter,ptiSignature,iMethodSignature,isn,dwCookie,ppse); |
| 892 | } |
| 893 | /*** IScriptEntry methods ***/ |
| 894 | static inline HRESULT IScriptScriptlet_GetText(IScriptScriptlet* This,BSTR *pbstr) { |
| 895 | return This->lpVtbl->GetText(This,pbstr); |
| 896 | } |
| 897 | static inline HRESULT IScriptScriptlet_SetText(IScriptScriptlet* This,LPCOLESTR psz) { |
| 898 | return This->lpVtbl->SetText(This,psz); |
| 899 | } |
| 900 | static inline HRESULT IScriptScriptlet_GetBody(IScriptScriptlet* This,BSTR *pbstr) { |
| 901 | return This->lpVtbl->GetBody(This,pbstr); |
| 902 | } |
| 903 | static inline HRESULT IScriptScriptlet_SetBody(IScriptScriptlet* This,LPCOLESTR psz) { |
| 904 | return This->lpVtbl->SetBody(This,psz); |
| 905 | } |
| 906 | static inline HRESULT IScriptScriptlet_GetName(IScriptScriptlet* This,BSTR *pbstr) { |
| 907 | return This->lpVtbl->GetName(This,pbstr); |
| 908 | } |
| 909 | static inline HRESULT IScriptScriptlet_SetName(IScriptScriptlet* This,LPCOLESTR psz) { |
| 910 | return This->lpVtbl->SetName(This,psz); |
| 911 | } |
| 912 | static inline HRESULT IScriptScriptlet_GetItemName(IScriptScriptlet* This,BSTR *pbstr) { |
| 913 | return This->lpVtbl->GetItemName(This,pbstr); |
| 914 | } |
| 915 | static inline HRESULT IScriptScriptlet_SetItemName(IScriptScriptlet* This,LPCOLESTR psz) { |
| 916 | return This->lpVtbl->SetItemName(This,psz); |
| 917 | } |
| 918 | static inline HRESULT IScriptScriptlet_GetSignature(IScriptScriptlet* This,ITypeInfo **ppti,ULONG *piMethod) { |
| 919 | return This->lpVtbl->GetSignature(This,ppti,piMethod); |
| 920 | } |
| 921 | static inline HRESULT IScriptScriptlet_SetSignature(IScriptScriptlet* This,ITypeInfo *pti,ULONG iMethod) { |
| 922 | return This->lpVtbl->SetSignature(This,pti,iMethod); |
| 923 | } |
| 924 | static inline HRESULT IScriptScriptlet_GetRange(IScriptScriptlet* This,ULONG *pichMin,ULONG *pcch) { |
| 925 | return This->lpVtbl->GetRange(This,pichMin,pcch); |
| 926 | } |
| 927 | /*** IScriptScriptlet methods ***/ |
| 928 | static inline HRESULT IScriptScriptlet_GetSubItemName(IScriptScriptlet* This,BSTR *pbstr) { |
| 929 | return This->lpVtbl->GetSubItemName(This,pbstr); |
| 930 | } |
| 931 | static inline HRESULT IScriptScriptlet_SetSubItemName(IScriptScriptlet* This,LPCOLESTR psz) { |
| 932 | return This->lpVtbl->SetSubItemName(This,psz); |
| 933 | } |
| 934 | static inline HRESULT IScriptScriptlet_GetEventName(IScriptScriptlet* This,BSTR *pbstr) { |
| 935 | return This->lpVtbl->GetEventName(This,pbstr); |
| 936 | } |
| 937 | static inline HRESULT IScriptScriptlet_SetEventName(IScriptScriptlet* This,LPCOLESTR psz) { |
| 938 | return This->lpVtbl->SetEventName(This,psz); |
| 939 | } |
| 940 | static inline HRESULT IScriptScriptlet_GetSimpleEventName(IScriptScriptlet* This,BSTR *pbstr) { |
| 941 | return This->lpVtbl->GetSimpleEventName(This,pbstr); |
| 942 | } |
| 943 | static inline HRESULT IScriptScriptlet_SetSimpleEventName(IScriptScriptlet* This,LPCOLESTR psz) { |
| 944 | return This->lpVtbl->SetSimpleEventName(This,psz); |
| 945 | } |
| 946 | #endif |
| 947 | #endif |
| 948 | |
| 949 | #endif |
| 950 | |
| 951 | |
| 952 | #endif /* __IScriptScriptlet_INTERFACE_DEFINED__ */ |
| 953 | |
| 954 | /***************************************************************************** |
| 955 | * IActiveScriptAuthor interface |
| 956 | */ |
| 957 | #ifndef __IActiveScriptAuthor_INTERFACE_DEFINED__ |
| 958 | #define __IActiveScriptAuthor_INTERFACE_DEFINED__ |
| 959 | |
| 960 | DEFINE_GUID(IID_IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3,0x6c, 0x00,0xa0,0xc9,0x11,0xe8,0xb2); |
| 961 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 962 | MIDL_INTERFACE("9c109da0-7006-11d1-b36c-00a0c911e8b2") |
| 963 | IActiveScriptAuthor : public IUnknown |
| 964 | { |
| 965 | virtual HRESULT STDMETHODCALLTYPE AddNamedItem( |
| 966 | LPCOLESTR pszName, |
| 967 | DWORD dwFlags, |
| 968 | IDispatch *pdisp) = 0; |
| 969 | |
| 970 | virtual HRESULT STDMETHODCALLTYPE AddScriptlet( |
| 971 | LPCOLESTR pszDefaultName, |
| 972 | LPCOLESTR pszCode, |
| 973 | LPCOLESTR pszItemName, |
| 974 | LPCOLESTR pszSubItemName, |
| 975 | LPCOLESTR pszEventName, |
| 976 | LPCOLESTR pszDelimiter, |
| 977 | DWORD dwCookie, |
| 978 | DWORD dwFlags) = 0; |
| 979 | |
| 980 | virtual HRESULT STDMETHODCALLTYPE ParseScriptText( |
| 981 | LPCOLESTR pszCode, |
| 982 | LPCOLESTR pszItemName, |
| 983 | LPCOLESTR pszDelimiter, |
| 984 | DWORD dwCookie, |
| 985 | DWORD dwFlags) = 0; |
| 986 | |
| 987 | virtual HRESULT STDMETHODCALLTYPE GetScriptTextAttributes( |
| 988 | LPCOLESTR pszCode, |
| 989 | ULONG cch, |
| 990 | LPCOLESTR pszDelimiter, |
| 991 | DWORD dwFlags, |
| 992 | SOURCE_TEXT_ATTR *pattr) = 0; |
| 993 | |
| 994 | virtual HRESULT STDMETHODCALLTYPE GetScriptletTextAttributes( |
| 995 | LPCOLESTR pszCode, |
| 996 | ULONG cch, |
| 997 | LPCOLESTR pszDelimiter, |
| 998 | DWORD dwFlags, |
| 999 | SOURCE_TEXT_ATTR *pattr) = 0; |
| 1000 | |
| 1001 | virtual HRESULT STDMETHODCALLTYPE GetRoot( |
| 1002 | IScriptNode **ppsp) = 0; |
| 1003 | |
| 1004 | virtual HRESULT STDMETHODCALLTYPE GetLanguageFlags( |
| 1005 | DWORD *pgrfasa) = 0; |
| 1006 | |
| 1007 | virtual HRESULT STDMETHODCALLTYPE GetEventHandler( |
| 1008 | IDispatch *pdisp, |
| 1009 | LPCOLESTR pszItem, |
| 1010 | LPCOLESTR pszSubItem, |
| 1011 | LPCOLESTR pszEvent, |
| 1012 | IScriptEntry **ppse) = 0; |
| 1013 | |
| 1014 | virtual HRESULT STDMETHODCALLTYPE RemoveNamedItem( |
| 1015 | LPCOLESTR pszName) = 0; |
| 1016 | |
| 1017 | virtual HRESULT STDMETHODCALLTYPE AddTypeLib( |
| 1018 | REFGUID rguidTypeLib, |
| 1019 | DWORD dwMajor, |
| 1020 | DWORD dwMinor, |
| 1021 | DWORD dwFlags) = 0; |
| 1022 | |
| 1023 | virtual HRESULT STDMETHODCALLTYPE RemoveTypeLib( |
| 1024 | REFGUID rguidTypeLib, |
| 1025 | DWORD dwMajor, |
| 1026 | DWORD dwMinor) = 0; |
| 1027 | |
| 1028 | virtual HRESULT STDMETHODCALLTYPE GetChars( |
| 1029 | DWORD fRequestedList, |
| 1030 | BSTR *pbstrChars) = 0; |
| 1031 | |
| 1032 | virtual HRESULT STDMETHODCALLTYPE GetInfoFromContext( |
| 1033 | LPCOLESTR pszCode, |
| 1034 | ULONG cchCode, |
| 1035 | ULONG ichCurrentPosition, |
| 1036 | DWORD dwListTypesRequested, |
| 1037 | DWORD *pdwListTypesProvided, |
| 1038 | ULONG *pichListAnchorPosition, |
| 1039 | ULONG *pichFuncAnchorPosition, |
| 1040 | MEMBERID *pmemid, |
| 1041 | LONG *piCurrentParameter, |
| 1042 | IUnknown **ppunk) = 0; |
| 1043 | |
| 1044 | virtual HRESULT STDMETHODCALLTYPE IsCommitChar( |
| 1045 | OLECHAR ch, |
| 1046 | WINBOOL *pfcommit) = 0; |
| 1047 | |
| 1048 | }; |
| 1049 | #ifdef __CRT_UUID_DECL |
| 1050 | __CRT_UUID_DECL(IActiveScriptAuthor, 0x9c109da0, 0x7006, 0x11d1, 0xb3,0x6c, 0x00,0xa0,0xc9,0x11,0xe8,0xb2) |
| 1051 | #endif |
| 1052 | #else |
| 1053 | typedef struct IActiveScriptAuthorVtbl { |
| 1054 | BEGIN_INTERFACE |
| 1055 | |
| 1056 | /*** IUnknown methods ***/ |
| 1057 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1058 | IActiveScriptAuthor *This, |
| 1059 | REFIID riid, |
| 1060 | void **ppvObject); |
| 1061 | |
| 1062 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1063 | IActiveScriptAuthor *This); |
| 1064 | |
| 1065 | ULONG (STDMETHODCALLTYPE *Release)( |
| 1066 | IActiveScriptAuthor *This); |
| 1067 | |
| 1068 | /*** IActiveScriptAuthor methods ***/ |
| 1069 | HRESULT (STDMETHODCALLTYPE *AddNamedItem)( |
| 1070 | IActiveScriptAuthor *This, |
| 1071 | LPCOLESTR pszName, |
| 1072 | DWORD dwFlags, |
| 1073 | IDispatch *pdisp); |
| 1074 | |
| 1075 | HRESULT (STDMETHODCALLTYPE *AddScriptlet)( |
| 1076 | IActiveScriptAuthor *This, |
| 1077 | LPCOLESTR pszDefaultName, |
| 1078 | LPCOLESTR pszCode, |
| 1079 | LPCOLESTR pszItemName, |
| 1080 | LPCOLESTR pszSubItemName, |
| 1081 | LPCOLESTR pszEventName, |
| 1082 | LPCOLESTR pszDelimiter, |
| 1083 | DWORD dwCookie, |
| 1084 | DWORD dwFlags); |
| 1085 | |
| 1086 | HRESULT (STDMETHODCALLTYPE *ParseScriptText)( |
| 1087 | IActiveScriptAuthor *This, |
| 1088 | LPCOLESTR pszCode, |
| 1089 | LPCOLESTR pszItemName, |
| 1090 | LPCOLESTR pszDelimiter, |
| 1091 | DWORD dwCookie, |
| 1092 | DWORD dwFlags); |
| 1093 | |
| 1094 | HRESULT (STDMETHODCALLTYPE *GetScriptTextAttributes)( |
| 1095 | IActiveScriptAuthor *This, |
| 1096 | LPCOLESTR pszCode, |
| 1097 | ULONG cch, |
| 1098 | LPCOLESTR pszDelimiter, |
| 1099 | DWORD dwFlags, |
| 1100 | SOURCE_TEXT_ATTR *pattr); |
| 1101 | |
| 1102 | HRESULT (STDMETHODCALLTYPE *GetScriptletTextAttributes)( |
| 1103 | IActiveScriptAuthor *This, |
| 1104 | LPCOLESTR pszCode, |
| 1105 | ULONG cch, |
| 1106 | LPCOLESTR pszDelimiter, |
| 1107 | DWORD dwFlags, |
| 1108 | SOURCE_TEXT_ATTR *pattr); |
| 1109 | |
| 1110 | HRESULT (STDMETHODCALLTYPE *GetRoot)( |
| 1111 | IActiveScriptAuthor *This, |
| 1112 | IScriptNode **ppsp); |
| 1113 | |
| 1114 | HRESULT (STDMETHODCALLTYPE *GetLanguageFlags)( |
| 1115 | IActiveScriptAuthor *This, |
| 1116 | DWORD *pgrfasa); |
| 1117 | |
| 1118 | HRESULT (STDMETHODCALLTYPE *GetEventHandler)( |
| 1119 | IActiveScriptAuthor *This, |
| 1120 | IDispatch *pdisp, |
| 1121 | LPCOLESTR pszItem, |
| 1122 | LPCOLESTR pszSubItem, |
| 1123 | LPCOLESTR pszEvent, |
| 1124 | IScriptEntry **ppse); |
| 1125 | |
| 1126 | HRESULT (STDMETHODCALLTYPE *RemoveNamedItem)( |
| 1127 | IActiveScriptAuthor *This, |
| 1128 | LPCOLESTR pszName); |
| 1129 | |
| 1130 | HRESULT (STDMETHODCALLTYPE *AddTypeLib)( |
| 1131 | IActiveScriptAuthor *This, |
| 1132 | REFGUID rguidTypeLib, |
| 1133 | DWORD dwMajor, |
| 1134 | DWORD dwMinor, |
| 1135 | DWORD dwFlags); |
| 1136 | |
| 1137 | HRESULT (STDMETHODCALLTYPE *RemoveTypeLib)( |
| 1138 | IActiveScriptAuthor *This, |
| 1139 | REFGUID rguidTypeLib, |
| 1140 | DWORD dwMajor, |
| 1141 | DWORD dwMinor); |
| 1142 | |
| 1143 | HRESULT (STDMETHODCALLTYPE *GetChars)( |
| 1144 | IActiveScriptAuthor *This, |
| 1145 | DWORD fRequestedList, |
| 1146 | BSTR *pbstrChars); |
| 1147 | |
| 1148 | HRESULT (STDMETHODCALLTYPE *GetInfoFromContext)( |
| 1149 | IActiveScriptAuthor *This, |
| 1150 | LPCOLESTR pszCode, |
| 1151 | ULONG cchCode, |
| 1152 | ULONG ichCurrentPosition, |
| 1153 | DWORD dwListTypesRequested, |
| 1154 | DWORD *pdwListTypesProvided, |
| 1155 | ULONG *pichListAnchorPosition, |
| 1156 | ULONG *pichFuncAnchorPosition, |
| 1157 | MEMBERID *pmemid, |
| 1158 | LONG *piCurrentParameter, |
| 1159 | IUnknown **ppunk); |
| 1160 | |
| 1161 | HRESULT (STDMETHODCALLTYPE *IsCommitChar)( |
| 1162 | IActiveScriptAuthor *This, |
| 1163 | OLECHAR ch, |
| 1164 | WINBOOL *pfcommit); |
| 1165 | |
| 1166 | END_INTERFACE |
| 1167 | } IActiveScriptAuthorVtbl; |
| 1168 | |
| 1169 | interface IActiveScriptAuthor { |
| 1170 | CONST_VTBL IActiveScriptAuthorVtbl* lpVtbl; |
| 1171 | }; |
| 1172 | |
| 1173 | #ifdef COBJMACROS |
| 1174 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 1175 | /*** IUnknown methods ***/ |
| 1176 | #define IActiveScriptAuthor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1177 | #define IActiveScriptAuthor_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1178 | #define IActiveScriptAuthor_Release(This) (This)->lpVtbl->Release(This) |
| 1179 | /*** IActiveScriptAuthor methods ***/ |
| 1180 | #define IActiveScriptAuthor_AddNamedItem(This,pszName,dwFlags,pdisp) (This)->lpVtbl->AddNamedItem(This,pszName,dwFlags,pdisp) |
| 1181 | #define IActiveScriptAuthor_AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags) (This)->lpVtbl->AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags) |
| 1182 | #define IActiveScriptAuthor_ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags) (This)->lpVtbl->ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags) |
| 1183 | #define IActiveScriptAuthor_GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) |
| 1184 | #define IActiveScriptAuthor_GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) (This)->lpVtbl->GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr) |
| 1185 | #define IActiveScriptAuthor_GetRoot(This,ppsp) (This)->lpVtbl->GetRoot(This,ppsp) |
| 1186 | #define IActiveScriptAuthor_GetLanguageFlags(This,pgrfasa) (This)->lpVtbl->GetLanguageFlags(This,pgrfasa) |
| 1187 | #define IActiveScriptAuthor_GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse) (This)->lpVtbl->GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse) |
| 1188 | #define IActiveScriptAuthor_RemoveNamedItem(This,pszName) (This)->lpVtbl->RemoveNamedItem(This,pszName) |
| 1189 | #define IActiveScriptAuthor_AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) (This)->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags) |
| 1190 | #define IActiveScriptAuthor_RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor) (This)->lpVtbl->RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor) |
| 1191 | #define IActiveScriptAuthor_GetChars(This,fRequestedList,pbstrChars) (This)->lpVtbl->GetChars(This,fRequestedList,pbstrChars) |
| 1192 | #define IActiveScriptAuthor_GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk) (This)->lpVtbl->GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk) |
| 1193 | #define IActiveScriptAuthor_IsCommitChar(This,ch,pfcommit) (This)->lpVtbl->IsCommitChar(This,ch,pfcommit) |
| 1194 | #else |
| 1195 | /*** IUnknown methods ***/ |
| 1196 | static inline HRESULT IActiveScriptAuthor_QueryInterface(IActiveScriptAuthor* This,REFIID riid,void **ppvObject) { |
| 1197 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1198 | } |
| 1199 | static inline ULONG IActiveScriptAuthor_AddRef(IActiveScriptAuthor* This) { |
| 1200 | return This->lpVtbl->AddRef(This); |
| 1201 | } |
| 1202 | static inline ULONG IActiveScriptAuthor_Release(IActiveScriptAuthor* This) { |
| 1203 | return This->lpVtbl->Release(This); |
| 1204 | } |
| 1205 | /*** IActiveScriptAuthor methods ***/ |
| 1206 | static inline HRESULT IActiveScriptAuthor_AddNamedItem(IActiveScriptAuthor* This,LPCOLESTR pszName,DWORD dwFlags,IDispatch *pdisp) { |
| 1207 | return This->lpVtbl->AddNamedItem(This,pszName,dwFlags,pdisp); |
| 1208 | } |
| 1209 | static inline HRESULT IActiveScriptAuthor_AddScriptlet(IActiveScriptAuthor* This,LPCOLESTR pszDefaultName,LPCOLESTR pszCode,LPCOLESTR pszItemName,LPCOLESTR pszSubItemName,LPCOLESTR pszEventName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags) { |
| 1210 | return This->lpVtbl->AddScriptlet(This,pszDefaultName,pszCode,pszItemName,pszSubItemName,pszEventName,pszDelimiter,dwCookie,dwFlags); |
| 1211 | } |
| 1212 | static inline HRESULT IActiveScriptAuthor_ParseScriptText(IActiveScriptAuthor* This,LPCOLESTR pszCode,LPCOLESTR pszItemName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags) { |
| 1213 | return This->lpVtbl->ParseScriptText(This,pszCode,pszItemName,pszDelimiter,dwCookie,dwFlags); |
| 1214 | } |
| 1215 | static inline HRESULT IActiveScriptAuthor_GetScriptTextAttributes(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cch,LPCOLESTR pszDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { |
| 1216 | return This->lpVtbl->GetScriptTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr); |
| 1217 | } |
| 1218 | static inline HRESULT IActiveScriptAuthor_GetScriptletTextAttributes(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cch,LPCOLESTR pszDelimiter,DWORD dwFlags,SOURCE_TEXT_ATTR *pattr) { |
| 1219 | return This->lpVtbl->GetScriptletTextAttributes(This,pszCode,cch,pszDelimiter,dwFlags,pattr); |
| 1220 | } |
| 1221 | static inline HRESULT IActiveScriptAuthor_GetRoot(IActiveScriptAuthor* This,IScriptNode **ppsp) { |
| 1222 | return This->lpVtbl->GetRoot(This,ppsp); |
| 1223 | } |
| 1224 | static inline HRESULT IActiveScriptAuthor_GetLanguageFlags(IActiveScriptAuthor* This,DWORD *pgrfasa) { |
| 1225 | return This->lpVtbl->GetLanguageFlags(This,pgrfasa); |
| 1226 | } |
| 1227 | static inline HRESULT IActiveScriptAuthor_GetEventHandler(IActiveScriptAuthor* This,IDispatch *pdisp,LPCOLESTR pszItem,LPCOLESTR pszSubItem,LPCOLESTR pszEvent,IScriptEntry **ppse) { |
| 1228 | return This->lpVtbl->GetEventHandler(This,pdisp,pszItem,pszSubItem,pszEvent,ppse); |
| 1229 | } |
| 1230 | static inline HRESULT IActiveScriptAuthor_RemoveNamedItem(IActiveScriptAuthor* This,LPCOLESTR pszName) { |
| 1231 | return This->lpVtbl->RemoveNamedItem(This,pszName); |
| 1232 | } |
| 1233 | static inline HRESULT IActiveScriptAuthor_AddTypeLib(IActiveScriptAuthor* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor,DWORD dwFlags) { |
| 1234 | return This->lpVtbl->AddTypeLib(This,rguidTypeLib,dwMajor,dwMinor,dwFlags); |
| 1235 | } |
| 1236 | static inline HRESULT IActiveScriptAuthor_RemoveTypeLib(IActiveScriptAuthor* This,REFGUID rguidTypeLib,DWORD dwMajor,DWORD dwMinor) { |
| 1237 | return This->lpVtbl->RemoveTypeLib(This,rguidTypeLib,dwMajor,dwMinor); |
| 1238 | } |
| 1239 | static inline HRESULT IActiveScriptAuthor_GetChars(IActiveScriptAuthor* This,DWORD fRequestedList,BSTR *pbstrChars) { |
| 1240 | return This->lpVtbl->GetChars(This,fRequestedList,pbstrChars); |
| 1241 | } |
| 1242 | static inline HRESULT IActiveScriptAuthor_GetInfoFromContext(IActiveScriptAuthor* This,LPCOLESTR pszCode,ULONG cchCode,ULONG ichCurrentPosition,DWORD dwListTypesRequested,DWORD *pdwListTypesProvided,ULONG *pichListAnchorPosition,ULONG *pichFuncAnchorPosition,MEMBERID *pmemid,LONG *piCurrentParameter,IUnknown **ppunk) { |
| 1243 | return This->lpVtbl->GetInfoFromContext(This,pszCode,cchCode,ichCurrentPosition,dwListTypesRequested,pdwListTypesProvided,pichListAnchorPosition,pichFuncAnchorPosition,pmemid,piCurrentParameter,ppunk); |
| 1244 | } |
| 1245 | static inline HRESULT IActiveScriptAuthor_IsCommitChar(IActiveScriptAuthor* This,OLECHAR ch,WINBOOL *pfcommit) { |
| 1246 | return This->lpVtbl->IsCommitChar(This,ch,pfcommit); |
| 1247 | } |
| 1248 | #endif |
| 1249 | #endif |
| 1250 | |
| 1251 | #endif |
| 1252 | |
| 1253 | |
| 1254 | #endif /* __IActiveScriptAuthor_INTERFACE_DEFINED__ */ |
| 1255 | |
| 1256 | /***************************************************************************** |
| 1257 | * IActiveScriptAuthorProcedure interface |
| 1258 | */ |
| 1259 | #ifndef __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__ |
| 1260 | #define __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__ |
| 1261 | |
| 1262 | DEFINE_GUID(IID_IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9); |
| 1263 | #if defined(__cplusplus) && !defined(CINTERFACE) |
| 1264 | MIDL_INTERFACE("7e2d4b70-bd9a-11d0-9336-00a0c90dcaa9") |
| 1265 | IActiveScriptAuthorProcedure : public IUnknown |
| 1266 | { |
| 1267 | virtual HRESULT STDMETHODCALLTYPE ParseProcedureText( |
| 1268 | LPCOLESTR pszCode, |
| 1269 | LPCOLESTR pszFormalParams, |
| 1270 | LPCOLESTR pszProcedureName, |
| 1271 | LPCOLESTR pszItemName, |
| 1272 | LPCOLESTR pszDelimiter, |
| 1273 | DWORD dwCookie, |
| 1274 | DWORD dwFlags, |
| 1275 | IDispatch *pdispFor) = 0; |
| 1276 | |
| 1277 | }; |
| 1278 | #ifdef __CRT_UUID_DECL |
| 1279 | __CRT_UUID_DECL(IActiveScriptAuthorProcedure, 0x7e2d4b70, 0xbd9a, 0x11d0, 0x93,0x36, 0x00,0xa0,0xc9,0x0d,0xca,0xa9) |
| 1280 | #endif |
| 1281 | #else |
| 1282 | typedef struct IActiveScriptAuthorProcedureVtbl { |
| 1283 | BEGIN_INTERFACE |
| 1284 | |
| 1285 | /*** IUnknown methods ***/ |
| 1286 | HRESULT (STDMETHODCALLTYPE *QueryInterface)( |
| 1287 | IActiveScriptAuthorProcedure *This, |
| 1288 | REFIID riid, |
| 1289 | void **ppvObject); |
| 1290 | |
| 1291 | ULONG (STDMETHODCALLTYPE *AddRef)( |
| 1292 | IActiveScriptAuthorProcedure *This); |
| 1293 | |
| 1294 | ULONG (STDMETHODCALLTYPE *Release)( |
| 1295 | IActiveScriptAuthorProcedure *This); |
| 1296 | |
| 1297 | /*** IActiveScriptAuthorProcedure methods ***/ |
| 1298 | HRESULT (STDMETHODCALLTYPE *ParseProcedureText)( |
| 1299 | IActiveScriptAuthorProcedure *This, |
| 1300 | LPCOLESTR pszCode, |
| 1301 | LPCOLESTR pszFormalParams, |
| 1302 | LPCOLESTR pszProcedureName, |
| 1303 | LPCOLESTR pszItemName, |
| 1304 | LPCOLESTR pszDelimiter, |
| 1305 | DWORD dwCookie, |
| 1306 | DWORD dwFlags, |
| 1307 | IDispatch *pdispFor); |
| 1308 | |
| 1309 | END_INTERFACE |
| 1310 | } IActiveScriptAuthorProcedureVtbl; |
| 1311 | |
| 1312 | interface IActiveScriptAuthorProcedure { |
| 1313 | CONST_VTBL IActiveScriptAuthorProcedureVtbl* lpVtbl; |
| 1314 | }; |
| 1315 | |
| 1316 | #ifdef COBJMACROS |
| 1317 | #ifndef WIDL_C_INLINE_WRAPPERS |
| 1318 | /*** IUnknown methods ***/ |
| 1319 | #define IActiveScriptAuthorProcedure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject) |
| 1320 | #define IActiveScriptAuthorProcedure_AddRef(This) (This)->lpVtbl->AddRef(This) |
| 1321 | #define IActiveScriptAuthorProcedure_Release(This) (This)->lpVtbl->Release(This) |
| 1322 | /*** IActiveScriptAuthorProcedure methods ***/ |
| 1323 | #define IActiveScriptAuthorProcedure_ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor) (This)->lpVtbl->ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor) |
| 1324 | #else |
| 1325 | /*** IUnknown methods ***/ |
| 1326 | static inline HRESULT IActiveScriptAuthorProcedure_QueryInterface(IActiveScriptAuthorProcedure* This,REFIID riid,void **ppvObject) { |
| 1327 | return This->lpVtbl->QueryInterface(This,riid,ppvObject); |
| 1328 | } |
| 1329 | static inline ULONG IActiveScriptAuthorProcedure_AddRef(IActiveScriptAuthorProcedure* This) { |
| 1330 | return This->lpVtbl->AddRef(This); |
| 1331 | } |
| 1332 | static inline ULONG IActiveScriptAuthorProcedure_Release(IActiveScriptAuthorProcedure* This) { |
| 1333 | return This->lpVtbl->Release(This); |
| 1334 | } |
| 1335 | /*** IActiveScriptAuthorProcedure methods ***/ |
| 1336 | static inline HRESULT IActiveScriptAuthorProcedure_ParseProcedureText(IActiveScriptAuthorProcedure* This,LPCOLESTR pszCode,LPCOLESTR pszFormalParams,LPCOLESTR pszProcedureName,LPCOLESTR pszItemName,LPCOLESTR pszDelimiter,DWORD dwCookie,DWORD dwFlags,IDispatch *pdispFor) { |
| 1337 | return This->lpVtbl->ParseProcedureText(This,pszCode,pszFormalParams,pszProcedureName,pszItemName,pszDelimiter,dwCookie,dwFlags,pdispFor); |
| 1338 | } |
| 1339 | #endif |
| 1340 | #endif |
| 1341 | |
| 1342 | #endif |
| 1343 | |
| 1344 | |
| 1345 | #endif /* __IActiveScriptAuthorProcedure_INTERFACE_DEFINED__ */ |
| 1346 | |
| 1347 | #endif |
| 1348 | |
| 1349 | #endif |
| 1350 | /* Begin additional prototypes for all interfaces */ |
| 1351 | |
| 1352 | ULONG __RPC_USER BSTR_UserSize (ULONG *, ULONG, BSTR *); |
| 1353 | unsigned char * __RPC_USER BSTR_UserMarshal (ULONG *, unsigned char *, BSTR *); |
| 1354 | unsigned char * __RPC_USER BSTR_UserUnmarshal(ULONG *, unsigned char *, BSTR *); |
| 1355 | void __RPC_USER BSTR_UserFree (ULONG *, BSTR *); |
| 1356 | |
| 1357 | /* End additional prototypes */ |
| 1358 | |
| 1359 | #ifdef __cplusplus |
| 1360 | } |
| 1361 | #endif |
| 1362 | |
| 1363 | #endif /* __activaut_h__ */ |