Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

594 lines
17 KiB

  1. /* This header file machine-generated by mktyplib.exe */
  2. /* Interface to type library: ASPTypeLibrary */
  3. #ifndef _ASPTypeLibrary_H_
  4. #define _ASPTypeLibrary_H_
  5. DEFINE_GUID(LIBID_ASPTypeLibrary,0xD97A6DA0L,0xA85C,0x11CF,0x83,0xAE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  6. #ifndef BEGIN_INTERFACE
  7. #define BEGIN_INTERFACE
  8. #endif
  9. DEFINE_GUID(IID_IStringList,0xD97A6DA0L,0xA85D,0x11CF,0x83,0xAE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  10. /* Definition of interface: IStringList */
  11. #undef INTERFACE
  12. #define INTERFACE IStringList
  13. DECLARE_INTERFACE_(IStringList, IDispatch)
  14. {
  15. BEGIN_INTERFACE
  16. #ifndef NO_BASEINTERFACE_FUNCS
  17. /* IUnknown methods */
  18. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  19. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  20. STDMETHOD_(ULONG, Release)(THIS) PURE;
  21. /* IDispatch methods */
  22. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  23. STDMETHOD(GetTypeInfo)(
  24. THIS_
  25. UINT itinfo,
  26. LCID lcid,
  27. ITypeInfo FAR* FAR* pptinfo) PURE;
  28. STDMETHOD(GetIDsOfNames)(
  29. THIS_
  30. REFIID riid,
  31. OLECHAR FAR* FAR* rgszNames,
  32. UINT cNames,
  33. LCID lcid,
  34. DISPID FAR* rgdispid) PURE;
  35. STDMETHOD(Invoke)(
  36. THIS_
  37. DISPID dispidMember,
  38. REFIID riid,
  39. LCID lcid,
  40. WORD wFlags,
  41. DISPPARAMS FAR* pdispparams,
  42. VARIANT FAR* pvarResult,
  43. EXCEPINFO FAR* pexcepinfo,
  44. UINT FAR* puArgErr) PURE;
  45. #endif
  46. /* IStringList methods */
  47. STDMETHOD(get_Item)(THIS_ VARIANT i, VARIANT FAR* pVariantReturn) PURE;
  48. STDMETHOD(get_Count)(THIS_ int FAR* cStrRet) PURE;
  49. STDMETHOD(get__NewEnum)(THIS_ IUnknown * FAR* ppEnumReturn) PURE;
  50. };
  51. DEFINE_GUID(IID_IRequestDictionary,0xD97A6DA0L,0xA85F,0x11DF,0x83,0xAE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  52. /* Definition of interface: IRequestDictionary */
  53. #undef INTERFACE
  54. #define INTERFACE IRequestDictionary
  55. DECLARE_INTERFACE_(IRequestDictionary, IDispatch)
  56. {
  57. BEGIN_INTERFACE
  58. #ifndef NO_BASEINTERFACE_FUNCS
  59. /* IUnknown methods */
  60. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  61. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  62. STDMETHOD_(ULONG, Release)(THIS) PURE;
  63. /* IDispatch methods */
  64. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  65. STDMETHOD(GetTypeInfo)(
  66. THIS_
  67. UINT itinfo,
  68. LCID lcid,
  69. ITypeInfo FAR* FAR* pptinfo) PURE;
  70. STDMETHOD(GetIDsOfNames)(
  71. THIS_
  72. REFIID riid,
  73. OLECHAR FAR* FAR* rgszNames,
  74. UINT cNames,
  75. LCID lcid,
  76. DISPID FAR* rgdispid) PURE;
  77. STDMETHOD(Invoke)(
  78. THIS_
  79. DISPID dispidMember,
  80. REFIID riid,
  81. LCID lcid,
  82. WORD wFlags,
  83. DISPPARAMS FAR* pdispparams,
  84. VARIANT FAR* pvarResult,
  85. EXCEPINFO FAR* pexcepinfo,
  86. UINT FAR* puArgErr) PURE;
  87. #endif
  88. /* IRequestDictionary methods */
  89. STDMETHOD(get_Item)(THIS_ VARIANT Var, VARIANT FAR* pVariantReturn) PURE;
  90. STDMETHOD(get__NewEnum)(THIS_ IUnknown * FAR* ppEnumReturn) PURE;
  91. };
  92. DEFINE_GUID(IID_IRequest,0xD97A6DA0L,0xA861,0x11CF,0x93,0xAE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  93. /* Definition of interface: IRequest */
  94. #undef INTERFACE
  95. #define INTERFACE IRequest
  96. DECLARE_INTERFACE_(IRequest, IDispatch)
  97. {
  98. BEGIN_INTERFACE
  99. #ifndef NO_BASEINTERFACE_FUNCS
  100. /* IUnknown methods */
  101. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  102. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  103. STDMETHOD_(ULONG, Release)(THIS) PURE;
  104. /* IDispatch methods */
  105. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  106. STDMETHOD(GetTypeInfo)(
  107. THIS_
  108. UINT itinfo,
  109. LCID lcid,
  110. ITypeInfo FAR* FAR* pptinfo) PURE;
  111. STDMETHOD(GetIDsOfNames)(
  112. THIS_
  113. REFIID riid,
  114. OLECHAR FAR* FAR* rgszNames,
  115. UINT cNames,
  116. LCID lcid,
  117. DISPID FAR* rgdispid) PURE;
  118. STDMETHOD(Invoke)(
  119. THIS_
  120. DISPID dispidMember,
  121. REFIID riid,
  122. LCID lcid,
  123. WORD wFlags,
  124. DISPPARAMS FAR* pdispparams,
  125. VARIANT FAR* pvarResult,
  126. EXCEPINFO FAR* pexcepinfo,
  127. UINT FAR* puArgErr) PURE;
  128. #endif
  129. /* IRequest methods */
  130. STDMETHOD(get_Item)(THIS_ BSTR bstrVar, IDispatch * FAR* ppObjReturn) PURE;
  131. STDMETHOD(get_QueryString)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  132. STDMETHOD(get_Form)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  133. STDMETHOD(get_Body)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  134. STDMETHOD(get_ServerVariables)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  135. STDMETHOD(get_ClientCertificate)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  136. STDMETHOD(get_Cookies)(THIS_ IRequestDictionary FAR* FAR* ppDictReturn) PURE;
  137. };
  138. DEFINE_GUID(CLSID_Request,0x920C25D0L,0x25D9,0x11D0,0xA5,0x5F,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  139. #ifdef __cplusplus
  140. class Request;
  141. #endif
  142. DEFINE_GUID(IID_IReadCookie,0x71EAF260L,0x0CE0,0x11D0,0xA5,0x3E,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  143. /* Definition of interface: IReadCookie */
  144. #undef INTERFACE
  145. #define INTERFACE IReadCookie
  146. DECLARE_INTERFACE_(IReadCookie, IDispatch)
  147. {
  148. BEGIN_INTERFACE
  149. #ifndef NO_BASEINTERFACE_FUNCS
  150. /* IUnknown methods */
  151. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  152. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  153. STDMETHOD_(ULONG, Release)(THIS) PURE;
  154. /* IDispatch methods */
  155. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  156. STDMETHOD(GetTypeInfo)(
  157. THIS_
  158. UINT itinfo,
  159. LCID lcid,
  160. ITypeInfo FAR* FAR* pptinfo) PURE;
  161. STDMETHOD(GetIDsOfNames)(
  162. THIS_
  163. REFIID riid,
  164. OLECHAR FAR* FAR* rgszNames,
  165. UINT cNames,
  166. LCID lcid,
  167. DISPID FAR* rgdispid) PURE;
  168. STDMETHOD(Invoke)(
  169. THIS_
  170. DISPID dispidMember,
  171. REFIID riid,
  172. LCID lcid,
  173. WORD wFlags,
  174. DISPPARAMS FAR* pdispparams,
  175. VARIANT FAR* pvarResult,
  176. EXCEPINFO FAR* pexcepinfo,
  177. UINT FAR* puArgErr) PURE;
  178. #endif
  179. /* IReadCookie methods */
  180. STDMETHOD(get_Item)(THIS_ VARIANT Var, VARIANT FAR* pVariantReturn) PURE;
  181. STDMETHOD(get_HasKeys)(THIS_ VARIANT_BOOL FAR* pfHasKeys) PURE;
  182. STDMETHOD(get__NewEnum)(THIS_ IUnknown * FAR* ppEnumReturn) PURE;
  183. };
  184. DEFINE_GUID(IID_IWriteCookie,0xD97A6DA0L,0xA862,0x11CF,0x84,0xAE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  185. /* Definition of interface: IWriteCookie */
  186. #undef INTERFACE
  187. #define INTERFACE IWriteCookie
  188. DECLARE_INTERFACE_(IWriteCookie, IDispatch)
  189. {
  190. BEGIN_INTERFACE
  191. #ifndef NO_BASEINTERFACE_FUNCS
  192. /* IUnknown methods */
  193. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  194. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  195. STDMETHOD_(ULONG, Release)(THIS) PURE;
  196. /* IDispatch methods */
  197. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  198. STDMETHOD(GetTypeInfo)(
  199. THIS_
  200. UINT itinfo,
  201. LCID lcid,
  202. ITypeInfo FAR* FAR* pptinfo) PURE;
  203. STDMETHOD(GetIDsOfNames)(
  204. THIS_
  205. REFIID riid,
  206. OLECHAR FAR* FAR* rgszNames,
  207. UINT cNames,
  208. LCID lcid,
  209. DISPID FAR* rgdispid) PURE;
  210. STDMETHOD(Invoke)(
  211. THIS_
  212. DISPID dispidMember,
  213. REFIID riid,
  214. LCID lcid,
  215. WORD wFlags,
  216. DISPPARAMS FAR* pdispparams,
  217. VARIANT FAR* pvarResult,
  218. EXCEPINFO FAR* pexcepinfo,
  219. UINT FAR* puArgErr) PURE;
  220. #endif
  221. /* IWriteCookie methods */
  222. STDMETHOD(put_Item)(THIS_ VARIANT key, BSTR bstrValue) PURE;
  223. STDMETHOD(put_Expires)(THIS_ DATE dtExpires) PURE;
  224. STDMETHOD(put_Domain)(THIS_ BSTR bstrDomain) PURE;
  225. STDMETHOD(put_Path)(THIS_ BSTR bstrPath) PURE;
  226. STDMETHOD(put_Secure)(THIS_ VARIANT_BOOL fSecure) PURE;
  227. STDMETHOD(get_HasKeys)(THIS_ VARIANT_BOOL FAR* pfHasKeys) PURE;
  228. STDMETHOD(get__NewEnum)(THIS_ IUnknown * FAR* ppEnumReturn) PURE;
  229. };
  230. DEFINE_GUID(IID_IResponse,0xD97A6DA0L,0xA864,0x11CF,0x83,0xBE,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  231. /* Definition of interface: IResponse */
  232. #undef INTERFACE
  233. #define INTERFACE IResponse
  234. DECLARE_INTERFACE_(IResponse, IDispatch)
  235. {
  236. BEGIN_INTERFACE
  237. #ifndef NO_BASEINTERFACE_FUNCS
  238. /* IUnknown methods */
  239. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  240. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  241. STDMETHOD_(ULONG, Release)(THIS) PURE;
  242. /* IDispatch methods */
  243. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  244. STDMETHOD(GetTypeInfo)(
  245. THIS_
  246. UINT itinfo,
  247. LCID lcid,
  248. ITypeInfo FAR* FAR* pptinfo) PURE;
  249. STDMETHOD(GetIDsOfNames)(
  250. THIS_
  251. REFIID riid,
  252. OLECHAR FAR* FAR* rgszNames,
  253. UINT cNames,
  254. LCID lcid,
  255. DISPID FAR* rgdispid) PURE;
  256. STDMETHOD(Invoke)(
  257. THIS_
  258. DISPID dispidMember,
  259. REFIID riid,
  260. LCID lcid,
  261. WORD wFlags,
  262. DISPPARAMS FAR* pdispparams,
  263. VARIANT FAR* pvarResult,
  264. EXCEPINFO FAR* pexcepinfo,
  265. UINT FAR* puArgErr) PURE;
  266. #endif
  267. /* IResponse methods */
  268. STDMETHOD(get_Buffer)(THIS_ VARIANT_BOOL FAR* fIsBuffering) PURE;
  269. STDMETHOD(put_Buffer)(THIS_ VARIANT_BOOL fIsBuffering) PURE;
  270. STDMETHOD(get_ContentType)(THIS_ BSTR FAR* pbstrContentTypeRet) PURE;
  271. STDMETHOD(put_ContentType)(THIS_ BSTR bstrContentType) PURE;
  272. STDMETHOD(get_Expires)(THIS_ VARIANT FAR* pvarExpiresMinutesRet) PURE;
  273. STDMETHOD(put_Expires)(THIS_ long lExpiresMinutes) PURE;
  274. STDMETHOD(get_ExpiresAbsolute)(THIS_ VARIANT FAR* pvarExpiresRet) PURE;
  275. STDMETHOD(put_ExpiresAbsolute)(THIS_ DATE dtExpires) PURE;
  276. STDMETHOD(get_Cookies)(THIS_ IRequestDictionary FAR* FAR* ppCookies) PURE;
  277. STDMETHOD(get_Status)(THIS_ BSTR FAR* pbstrStatusRet) PURE;
  278. STDMETHOD(put_Status)(THIS_ BSTR bstrStatus) PURE;
  279. STDMETHOD(Add)(THIS_ BSTR bstrHeaderValue, BSTR bstrHeaderName) PURE;
  280. STDMETHOD(AddHeader)(THIS_ BSTR bstrHeaderName, BSTR bstrHeaderValue) PURE;
  281. STDMETHOD(AppendToLog)(THIS_ BSTR bstrLogEntry) PURE;
  282. STDMETHOD(BinaryWrite)(THIS_ VARIANT varInput) PURE;
  283. STDMETHOD(Clear)(THIS) PURE;
  284. STDMETHOD(End)(THIS) PURE;
  285. STDMETHOD(Flush)(THIS) PURE;
  286. STDMETHOD(Redirect)(THIS_ BSTR bstrURL) PURE;
  287. STDMETHOD(Write)(THIS_ VARIANT varText) PURE;
  288. STDMETHOD(WriteBlock)(THIS_ short iBlockNumber) PURE;
  289. };
  290. DEFINE_GUID(CLSID_Response,0x46E19BA0L,0x25DD,0x11D0,0xA5,0x5F,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  291. #ifdef __cplusplus
  292. class Response;
  293. #endif
  294. DEFINE_GUID(IID_ISessionObject,0xD97A6DA0L,0xA865,0x11CF,0x83,0xAF,0x00,0xA0,0xC9,0x0C,0x2B,0xD8);
  295. /* Definition of interface: ISessionObject */
  296. #undef INTERFACE
  297. #define INTERFACE ISessionObject
  298. DECLARE_INTERFACE_(ISessionObject, IDispatch)
  299. {
  300. BEGIN_INTERFACE
  301. #ifndef NO_BASEINTERFACE_FUNCS
  302. /* IUnknown methods */
  303. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  304. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  305. STDMETHOD_(ULONG, Release)(THIS) PURE;
  306. /* IDispatch methods */
  307. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  308. STDMETHOD(GetTypeInfo)(
  309. THIS_
  310. UINT itinfo,
  311. LCID lcid,
  312. ITypeInfo FAR* FAR* pptinfo) PURE;
  313. STDMETHOD(GetIDsOfNames)(
  314. THIS_
  315. REFIID riid,
  316. OLECHAR FAR* FAR* rgszNames,
  317. UINT cNames,
  318. LCID lcid,
  319. DISPID FAR* rgdispid) PURE;
  320. STDMETHOD(Invoke)(
  321. THIS_
  322. DISPID dispidMember,
  323. REFIID riid,
  324. LCID lcid,
  325. WORD wFlags,
  326. DISPPARAMS FAR* pdispparams,
  327. VARIANT FAR* pvarResult,
  328. EXCEPINFO FAR* pexcepinfo,
  329. UINT FAR* puArgErr) PURE;
  330. #endif
  331. /* ISessionObject methods */
  332. STDMETHOD(get_SessionID)(THIS_ BSTR FAR* pbstrRet) PURE;
  333. STDMETHOD(get_Value)(THIS_ BSTR bstrValue, VARIANT FAR* pvar) PURE;
  334. STDMETHOD(put_Value)(THIS_ BSTR bstrValue, VARIANT var) PURE;
  335. STDMETHOD(putref_Value)(THIS_ BSTR bstrValue, VARIANT var) PURE;
  336. STDMETHOD(get_Timeout)(THIS_ long FAR* plvar) PURE;
  337. STDMETHOD(put_Timeout)(THIS_ long lvar) PURE;
  338. STDMETHOD(Abandon)(THIS) PURE;
  339. };
  340. DEFINE_GUID(CLSID_Session,0x509F8F20L,0x25DE,0x11D0,0xA5,0x5F,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  341. #ifdef __cplusplus
  342. class Session;
  343. #endif
  344. DEFINE_GUID(IID_IApplicationObject,0xD97A6DA0L,0xA866,0x11CF,0x83,0xAE,0x10,0xA0,0xC9,0x0C,0x2B,0xD8);
  345. /* Definition of interface: IApplicationObject */
  346. #undef INTERFACE
  347. #define INTERFACE IApplicationObject
  348. DECLARE_INTERFACE_(IApplicationObject, IDispatch)
  349. {
  350. BEGIN_INTERFACE
  351. #ifndef NO_BASEINTERFACE_FUNCS
  352. /* IUnknown methods */
  353. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  354. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  355. STDMETHOD_(ULONG, Release)(THIS) PURE;
  356. /* IDispatch methods */
  357. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  358. STDMETHOD(GetTypeInfo)(
  359. THIS_
  360. UINT itinfo,
  361. LCID lcid,
  362. ITypeInfo FAR* FAR* pptinfo) PURE;
  363. STDMETHOD(GetIDsOfNames)(
  364. THIS_
  365. REFIID riid,
  366. OLECHAR FAR* FAR* rgszNames,
  367. UINT cNames,
  368. LCID lcid,
  369. DISPID FAR* rgdispid) PURE;
  370. STDMETHOD(Invoke)(
  371. THIS_
  372. DISPID dispidMember,
  373. REFIID riid,
  374. LCID lcid,
  375. WORD wFlags,
  376. DISPPARAMS FAR* pdispparams,
  377. VARIANT FAR* pvarResult,
  378. EXCEPINFO FAR* pexcepinfo,
  379. UINT FAR* puArgErr) PURE;
  380. #endif
  381. /* IApplicationObject methods */
  382. STDMETHOD(get_Value)(THIS_ BSTR bstrValue, VARIANT FAR* pvar) PURE;
  383. STDMETHOD(put_Value)(THIS_ BSTR bstrValue, VARIANT var) PURE;
  384. STDMETHOD(putref_Value)(THIS_ BSTR bstrValue, VARIANT var) PURE;
  385. STDMETHOD(Lock)(THIS) PURE;
  386. STDMETHOD(UnLock)(THIS) PURE;
  387. };
  388. DEFINE_GUID(CLSID_Application,0x7C3BAF00L,0x25DE,0x11D0,0xA5,0x5F,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  389. #ifdef __cplusplus
  390. class Application;
  391. #endif
  392. DEFINE_GUID(IID_IServer,0xD97A6DA0L,0xA867,0x11CF,0x83,0xAE,0x01,0xA0,0xC9,0x0C,0x2B,0xD8);
  393. /* Definition of interface: IServer */
  394. #undef INTERFACE
  395. #define INTERFACE IServer
  396. DECLARE_INTERFACE_(IServer, IDispatch)
  397. {
  398. BEGIN_INTERFACE
  399. #ifndef NO_BASEINTERFACE_FUNCS
  400. /* IUnknown methods */
  401. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  402. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  403. STDMETHOD_(ULONG, Release)(THIS) PURE;
  404. /* IDispatch methods */
  405. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  406. STDMETHOD(GetTypeInfo)(
  407. THIS_
  408. UINT itinfo,
  409. LCID lcid,
  410. ITypeInfo FAR* FAR* pptinfo) PURE;
  411. STDMETHOD(GetIDsOfNames)(
  412. THIS_
  413. REFIID riid,
  414. OLECHAR FAR* FAR* rgszNames,
  415. UINT cNames,
  416. LCID lcid,
  417. DISPID FAR* rgdispid) PURE;
  418. STDMETHOD(Invoke)(
  419. THIS_
  420. DISPID dispidMember,
  421. REFIID riid,
  422. LCID lcid,
  423. WORD wFlags,
  424. DISPPARAMS FAR* pdispparams,
  425. VARIANT FAR* pvarResult,
  426. EXCEPINFO FAR* pexcepinfo,
  427. UINT FAR* puArgErr) PURE;
  428. #endif
  429. /* IServer methods */
  430. STDMETHOD(get_ScriptTimeout)(THIS_ long FAR* plTimeoutSeconds) PURE;
  431. STDMETHOD(put_ScriptTimeout)(THIS_ long lTimeoutSeconds) PURE;
  432. STDMETHOD(CreateObject)(THIS_ BSTR bstrProgID, IDispatch * FAR* ppDispObject) PURE;
  433. STDMETHOD(HTMLEncode)(THIS_ BSTR bstrIn, BSTR FAR* pbstrEncoded) PURE;
  434. STDMETHOD(MapPath)(THIS_ BSTR bstrLogicalPath, BSTR FAR* pbstrPhysicalPath) PURE;
  435. STDMETHOD(URLEncode)(THIS_ BSTR bstrIn, BSTR FAR* pbstrEncoded) PURE;
  436. };
  437. DEFINE_GUID(CLSID_Server,0xA506D160L,0x25E0,0x11D0,0xA5,0x5F,0x00,0xA0,0xC9,0x0C,0x20,0x91);
  438. #ifdef __cplusplus
  439. class Server;
  440. #endif
  441. DEFINE_GUID(IID_IScriptingContext,0xD97A6DA0L,0xA868,0x11CF,0x83,0xAE,0x00,0xB0,0xC9,0x0C,0x2B,0xD8);
  442. /* Definition of interface: IScriptingContext */
  443. #undef INTERFACE
  444. #define INTERFACE IScriptingContext
  445. DECLARE_INTERFACE_(IScriptingContext, IDispatch)
  446. {
  447. BEGIN_INTERFACE
  448. #ifndef NO_BASEINTERFACE_FUNCS
  449. /* IUnknown methods */
  450. STDMETHOD(QueryInterface)(THIS_ REFIID riid, LPVOID FAR* ppvObj) PURE;
  451. STDMETHOD_(ULONG, AddRef)(THIS) PURE;
  452. STDMETHOD_(ULONG, Release)(THIS) PURE;
  453. /* IDispatch methods */
  454. STDMETHOD(GetTypeInfoCount)(THIS_ UINT FAR* pctinfo) PURE;
  455. STDMETHOD(GetTypeInfo)(
  456. THIS_
  457. UINT itinfo,
  458. LCID lcid,
  459. ITypeInfo FAR* FAR* pptinfo) PURE;
  460. STDMETHOD(GetIDsOfNames)(
  461. THIS_
  462. REFIID riid,
  463. OLECHAR FAR* FAR* rgszNames,
  464. UINT cNames,
  465. LCID lcid,
  466. DISPID FAR* rgdispid) PURE;
  467. STDMETHOD(Invoke)(
  468. THIS_
  469. DISPID dispidMember,
  470. REFIID riid,
  471. LCID lcid,
  472. WORD wFlags,
  473. DISPPARAMS FAR* pdispparams,
  474. VARIANT FAR* pvarResult,
  475. EXCEPINFO FAR* pexcepinfo,
  476. UINT FAR* puArgErr) PURE;
  477. #endif
  478. /* IScriptingContext methods */
  479. STDMETHOD(get_Request)(THIS_ IRequest FAR* FAR* ppRequest) PURE;
  480. STDMETHOD(get_Response)(THIS_ IResponse FAR* FAR* ppResponse) PURE;
  481. STDMETHOD(get_Server)(THIS_ IServer FAR* FAR* ppServer) PURE;
  482. STDMETHOD(get_Session)(THIS_ ISessionObject FAR* FAR* ppSession) PURE;
  483. STDMETHOD(get_Application)(THIS_ IApplicationObject FAR* FAR* ppApplication) PURE;
  484. };
  485. DEFINE_GUID(CLSID_ScriptingContext,0xD97A6DA0L,0xA868,0x11CF,0x83,0xAE,0x11,0xB0,0xC9,0x0C,0x2B,0xD8);
  486. #ifdef __cplusplus
  487. class ScriptingContext;
  488. #endif
  489. #endif