ASPTypeLibrary_TLB.pas 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744
  1. unit ASPTypeLibrary_TLB;
  2. // ************************************************************************ //
  3. // WARNING
  4. // -------
  5. // The types declared in this file were generated from data read from a
  6. // Type Library. If this type library is explicitly or indirectly (via
  7. // another type library referring to this type library) re-imported, or the
  8. // 'Refresh' command of the Type Library Editor activated while editing the
  9. // Type Library, the contents of this file will be regenerated and all
  10. // manual modifications will be lost.
  11. // ************************************************************************ //
  12. // PASTLWTR : 1.2
  13. // File generated on 2006-10-11 11:57:57 from Type Library described below.
  14. // ************************************************************************ //
  15. // Type Lib: C:\WINDOWS\system32\inetsrv\asp.dll (1)
  16. // LIBID: {D97A6DA0-A85C-11CF-83AE-00A0C90C2BD8}
  17. // LCID: 0
  18. // Helpfile:
  19. // HelpString: Microsoft Active Server Pages Object Library
  20. // DepndLst:
  21. // (1) v2.0 stdole, (C:\WINDOWS\system32\stdole2.tlb)
  22. // Errors:
  23. // Hint: Parameter 'Var' of IRequestDictionary.Item changed to 'Var_'
  24. // Hint: Parameter 'Var' of IReadCookie.Item changed to 'Var_'
  25. // Hint: Member 'End' of 'IResponse' changed to 'End_'
  26. // Hint: Member 'File' of 'IASPError' changed to 'File_'
  27. // ************************************************************************ //
  28. // *************************************************************************//
  29. // NOTE:
  30. // Items guarded by $IFDEF_LIVE_SERVER_AT_DESIGN_TIME are used by properties
  31. // which return objects that may need to be explicitly created via a function
  32. // call prior to any access via the property. These items have been disabled
  33. // in order to prevent accidental use from within the object inspector. You
  34. // may enable them by defining LIVE_SERVER_AT_DESIGN_TIME or by selectively
  35. // removing them from the $IFDEF blocks. However, such items must still be
  36. // programmatically created via a method of the appropriate CoClass before
  37. // they can be used.
  38. {$TYPEDADDRESS OFF} // Unit must be compiled without type-checked pointers.
  39. {$WARN SYMBOL_PLATFORM OFF}
  40. {$WRITEABLECONST ON}
  41. {$VARPROPSETTER ON}
  42. interface
  43. uses Windows, ActiveX, Classes, Graphics, OleServer, StdVCL, Variants;
  44. // *********************************************************************//
  45. // GUIDS declared in the TypeLibrary. Following prefixes are used:
  46. // Type Libraries : LIBID_xxxx
  47. // CoClasses : CLASS_xxxx
  48. // DISPInterfaces : DIID_xxxx
  49. // Non-DISP interfaces: IID_xxxx
  50. // *********************************************************************//
  51. const
  52. // TypeLibrary Major and minor versions
  53. ASPTypeLibraryMajorVersion = 3;
  54. ASPTypeLibraryMinorVersion = 0;
  55. LIBID_ASPTypeLibrary: TGUID = '{D97A6DA0-A85C-11CF-83AE-00A0C90C2BD8}';
  56. IID_IStringList: TGUID = '{D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8}';
  57. IID_IRequestDictionary: TGUID = '{D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8}';
  58. IID_IRequest: TGUID = '{D97A6DA0-A861-11CF-93AE-00A0C90C2BD8}';
  59. CLASS_Request: TGUID = '{920C25D0-25D9-11D0-A55F-00A0C90C2091}';
  60. IID_IReadCookie: TGUID = '{71EAF260-0CE0-11D0-A53E-00A0C90C2091}';
  61. IID_IWriteCookie: TGUID = '{D97A6DA0-A862-11CF-84AE-00A0C90C2BD8}';
  62. IID_IResponse: TGUID = '{D97A6DA0-A864-11CF-83BE-00A0C90C2BD8}';
  63. CLASS_Response: TGUID = '{46E19BA0-25DD-11D0-A55F-00A0C90C2091}';
  64. IID_IVariantDictionary: TGUID = '{4A7DEB90-B069-11D0-B373-00A0C90C2BD8}';
  65. IID_ISessionObject: TGUID = '{D97A6DA0-A865-11CF-83AF-00A0C90C2BD8}';
  66. CLASS_Session: TGUID = '{509F8F20-25DE-11D0-A55F-00A0C90C2091}';
  67. IID_IApplicationObject: TGUID = '{D97A6DA0-A866-11CF-83AE-10A0C90C2BD8}';
  68. CLASS_Application: TGUID = '{7C3BAF00-25DE-11D0-A55F-00A0C90C2091}';
  69. IID_IASPError: TGUID = '{F5A6893E-A0F5-11D1-8C4B-00C04FC324A4}';
  70. IID_IServer: TGUID = '{D97A6DA0-A867-11CF-83AE-01A0C90C2BD8}';
  71. CLASS_Server: TGUID = '{A506D160-25E0-11D0-A55F-00A0C90C2091}';
  72. IID_IScriptingContext: TGUID = '{D97A6DA0-A868-11CF-83AE-00B0C90C2BD8}';
  73. CLASS_ScriptingContext: TGUID = '{D97A6DA0-A868-11CF-83AE-11B0C90C2BD8}';
  74. type
  75. // *********************************************************************//
  76. // Forward declaration of types defined in TypeLibrary
  77. // *********************************************************************//
  78. IStringList = interface;
  79. IStringListDisp = dispinterface;
  80. IRequestDictionary = interface;
  81. IRequestDictionaryDisp = dispinterface;
  82. IRequest = interface;
  83. IRequestDisp = dispinterface;
  84. IReadCookie = interface;
  85. IReadCookieDisp = dispinterface;
  86. IWriteCookie = interface;
  87. IWriteCookieDisp = dispinterface;
  88. IResponse = interface;
  89. IResponseDisp = dispinterface;
  90. IVariantDictionary = interface;
  91. IVariantDictionaryDisp = dispinterface;
  92. ISessionObject = interface;
  93. ISessionObjectDisp = dispinterface;
  94. IApplicationObject = interface;
  95. IApplicationObjectDisp = dispinterface;
  96. IASPError = interface;
  97. IASPErrorDisp = dispinterface;
  98. IServer = interface;
  99. IServerDisp = dispinterface;
  100. IScriptingContext = interface;
  101. IScriptingContextDisp = dispinterface;
  102. // *********************************************************************//
  103. // Declaration of CoClasses defined in Type Library
  104. // (NOTE: Here we map each CoClass to its Default Interface)
  105. // *********************************************************************//
  106. Request = IRequest;
  107. Response = IResponse;
  108. Session = ISessionObject;
  109. Application = IApplicationObject;
  110. Server = IServer;
  111. ScriptingContext = IScriptingContext;
  112. // *********************************************************************//
  113. // Interface: IStringList
  114. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  115. // GUID: {D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8}
  116. // *********************************************************************//
  117. IStringList = interface(IDispatch)
  118. ['{D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8}']
  119. function Get_Item(i: OleVariant): OleVariant; safecall;
  120. function Get_Count: SYSINT; safecall;
  121. function Get__NewEnum: IUnknown; safecall;
  122. property Item[i: OleVariant]: OleVariant read Get_Item; default;
  123. property Count: SYSINT read Get_Count;
  124. property _NewEnum: IUnknown read Get__NewEnum;
  125. end;
  126. // *********************************************************************//
  127. // DispIntf: IStringListDisp
  128. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  129. // GUID: {D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8}
  130. // *********************************************************************//
  131. IStringListDisp = dispinterface
  132. ['{D97A6DA0-A85D-11CF-83AE-00A0C90C2BD8}']
  133. property Item[i: OleVariant]: OleVariant readonly dispid 0; default;
  134. property Count: SYSINT readonly dispid 1610743809;
  135. property _NewEnum: IUnknown readonly dispid -4;
  136. end;
  137. // *********************************************************************//
  138. // Interface: IRequestDictionary
  139. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  140. // GUID: {D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8}
  141. // *********************************************************************//
  142. IRequestDictionary = interface(IDispatch)
  143. ['{D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8}']
  144. function Get_Item(Var_: OleVariant): OleVariant; safecall;
  145. function Get__NewEnum: IUnknown; safecall;
  146. function Get_Count: SYSINT; safecall;
  147. function Get_Key(VarKey: OleVariant): OleVariant; safecall;
  148. property Item[Var_: OleVariant]: OleVariant read Get_Item; default;
  149. property _NewEnum: IUnknown read Get__NewEnum;
  150. property Count: SYSINT read Get_Count;
  151. property Key[VarKey: OleVariant]: OleVariant read Get_Key;
  152. end;
  153. // *********************************************************************//
  154. // DispIntf: IRequestDictionaryDisp
  155. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  156. // GUID: {D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8}
  157. // *********************************************************************//
  158. IRequestDictionaryDisp = dispinterface
  159. ['{D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8}']
  160. property Item[Var_: OleVariant]: OleVariant readonly dispid 0; default;
  161. property _NewEnum: IUnknown readonly dispid -4;
  162. property Count: SYSINT readonly dispid 1610743810;
  163. property Key[VarKey: OleVariant]: OleVariant readonly dispid 1610743811;
  164. end;
  165. // *********************************************************************//
  166. // Interface: IRequest
  167. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  168. // GUID: {D97A6DA0-A861-11CF-93AE-00A0C90C2BD8}
  169. // *********************************************************************//
  170. IRequest = interface(IDispatch)
  171. ['{D97A6DA0-A861-11CF-93AE-00A0C90C2BD8}']
  172. function Get_Item(const bstrVar: WideString): IDispatch; safecall;
  173. function Get_QueryString: IRequestDictionary; safecall;
  174. function Get_Form: IRequestDictionary; safecall;
  175. function Get_Body: IRequestDictionary; safecall;
  176. function Get_ServerVariables: IRequestDictionary; safecall;
  177. function Get_ClientCertificate: IRequestDictionary; safecall;
  178. function Get_Cookies: IRequestDictionary; safecall;
  179. function Get_TotalBytes: Integer; safecall;
  180. function BinaryRead(var pvarCountToRead: OleVariant): OleVariant; safecall;
  181. property Item[const bstrVar: WideString]: IDispatch read Get_Item; default;
  182. property QueryString: IRequestDictionary read Get_QueryString;
  183. property Form: IRequestDictionary read Get_Form;
  184. property Body: IRequestDictionary read Get_Body;
  185. property ServerVariables: IRequestDictionary read Get_ServerVariables;
  186. property ClientCertificate: IRequestDictionary read Get_ClientCertificate;
  187. property Cookies: IRequestDictionary read Get_Cookies;
  188. property TotalBytes: Integer read Get_TotalBytes;
  189. end;
  190. // *********************************************************************//
  191. // DispIntf: IRequestDisp
  192. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  193. // GUID: {D97A6DA0-A861-11CF-93AE-00A0C90C2BD8}
  194. // *********************************************************************//
  195. IRequestDisp = dispinterface
  196. ['{D97A6DA0-A861-11CF-93AE-00A0C90C2BD8}']
  197. property Item[const bstrVar: WideString]: IDispatch readonly dispid 0; default;
  198. property QueryString: IRequestDictionary readonly dispid 1610743809;
  199. property Form: IRequestDictionary readonly dispid 1610743810;
  200. property Body: IRequestDictionary readonly dispid 1610743811;
  201. property ServerVariables: IRequestDictionary readonly dispid 1610743812;
  202. property ClientCertificate: IRequestDictionary readonly dispid 1610743813;
  203. property Cookies: IRequestDictionary readonly dispid 1610743814;
  204. property TotalBytes: Integer readonly dispid 1610743815;
  205. function BinaryRead(var pvarCountToRead: OleVariant): OleVariant; dispid 1610743816;
  206. end;
  207. // *********************************************************************//
  208. // Interface: IReadCookie
  209. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  210. // GUID: {71EAF260-0CE0-11D0-A53E-00A0C90C2091}
  211. // *********************************************************************//
  212. IReadCookie = interface(IDispatch)
  213. ['{71EAF260-0CE0-11D0-A53E-00A0C90C2091}']
  214. function Get_Item(Var_: OleVariant): OleVariant; safecall;
  215. function Get_HasKeys: WordBool; safecall;
  216. function Get__NewEnum: IUnknown; safecall;
  217. function Get_Count: SYSINT; safecall;
  218. function Get_Key(VarKey: OleVariant): OleVariant; safecall;
  219. property Item[Var_: OleVariant]: OleVariant read Get_Item; default;
  220. property HasKeys: WordBool read Get_HasKeys;
  221. property _NewEnum: IUnknown read Get__NewEnum;
  222. property Count: SYSINT read Get_Count;
  223. property Key[VarKey: OleVariant]: OleVariant read Get_Key;
  224. end;
  225. // *********************************************************************//
  226. // DispIntf: IReadCookieDisp
  227. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  228. // GUID: {71EAF260-0CE0-11D0-A53E-00A0C90C2091}
  229. // *********************************************************************//
  230. IReadCookieDisp = dispinterface
  231. ['{71EAF260-0CE0-11D0-A53E-00A0C90C2091}']
  232. property Item[Var_: OleVariant]: OleVariant readonly dispid 0; default;
  233. property HasKeys: WordBool readonly dispid 1610743809;
  234. property _NewEnum: IUnknown readonly dispid -4;
  235. property Count: SYSINT readonly dispid 1610743811;
  236. property Key[VarKey: OleVariant]: OleVariant readonly dispid 1610743812;
  237. end;
  238. // *********************************************************************//
  239. // Interface: IWriteCookie
  240. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  241. // GUID: {D97A6DA0-A862-11CF-84AE-00A0C90C2BD8}
  242. // *********************************************************************//
  243. IWriteCookie = interface(IDispatch)
  244. ['{D97A6DA0-A862-11CF-84AE-00A0C90C2BD8}']
  245. procedure Set_Item(Key: OleVariant; const Param2: WideString); safecall;
  246. procedure Set_Expires(Param1: TDateTime); safecall;
  247. procedure Set_Domain(const Param1: WideString); safecall;
  248. procedure Set_Path(const Param1: WideString); safecall;
  249. procedure Set_Secure(Param1: WordBool); safecall;
  250. function Get_HasKeys: WordBool; safecall;
  251. function Get__NewEnum: IUnknown; safecall;
  252. property Item[Key: OleVariant]: WideString write Set_Item; default;
  253. property Expires: TDateTime write Set_Expires;
  254. property Domain: WideString write Set_Domain;
  255. property Path: WideString write Set_Path;
  256. property Secure: WordBool write Set_Secure;
  257. property HasKeys: WordBool read Get_HasKeys;
  258. property _NewEnum: IUnknown read Get__NewEnum;
  259. end;
  260. // *********************************************************************//
  261. // DispIntf: IWriteCookieDisp
  262. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  263. // GUID: {D97A6DA0-A862-11CF-84AE-00A0C90C2BD8}
  264. // *********************************************************************//
  265. IWriteCookieDisp = dispinterface
  266. ['{D97A6DA0-A862-11CF-84AE-00A0C90C2BD8}']
  267. property Item[Key: OleVariant]: WideString writeonly dispid 0; default;
  268. property Expires: TDateTime writeonly dispid 1610743809;
  269. property Domain: WideString writeonly dispid 1610743810;
  270. property Path: WideString writeonly dispid 1610743811;
  271. property Secure: WordBool writeonly dispid 1610743812;
  272. property HasKeys: WordBool readonly dispid 1610743813;
  273. property _NewEnum: IUnknown readonly dispid -4;
  274. end;
  275. // *********************************************************************//
  276. // Interface: IResponse
  277. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  278. // GUID: {D97A6DA0-A864-11CF-83BE-00A0C90C2BD8}
  279. // *********************************************************************//
  280. IResponse = interface(IDispatch)
  281. ['{D97A6DA0-A864-11CF-83BE-00A0C90C2BD8}']
  282. function Get_Buffer: WordBool; safecall;
  283. procedure Set_Buffer(fIsBuffering: WordBool); safecall;
  284. function Get_ContentType: WideString; safecall;
  285. procedure Set_ContentType(const pbstrContentTypeRet: WideString); safecall;
  286. function Get_Expires: OleVariant; safecall;
  287. procedure Set_Expires(pvarExpiresMinutesRet: Integer); safecall;
  288. function Get_ExpiresAbsolute: OleVariant; safecall;
  289. procedure Set_ExpiresAbsolute(pvarExpiresRet: TDateTime); safecall;
  290. function Get_Cookies: IRequestDictionary; safecall;
  291. function Get_Status: WideString; safecall;
  292. procedure Set_Status(const pbstrStatusRet: WideString); safecall;
  293. procedure Add(const bstrHeaderValue: WideString; const bstrHeaderName: WideString); safecall;
  294. procedure AddHeader(const bstrHeaderName: WideString; const bstrHeaderValue: WideString); safecall;
  295. procedure AppendToLog(const bstrLogEntry: WideString); safecall;
  296. procedure BinaryWrite(varInput: OleVariant); safecall;
  297. procedure Clear; safecall;
  298. procedure End_; safecall;
  299. procedure Flush; safecall;
  300. procedure Redirect(const bstrURL: WideString); safecall;
  301. procedure Write(varText: OleVariant); safecall;
  302. procedure WriteBlock(iBlockNumber: Smallint); safecall;
  303. function IsClientConnected: WordBool; safecall;
  304. function Get_CharSet: WideString; safecall;
  305. procedure Set_CharSet(const pbstrCharSetRet: WideString); safecall;
  306. procedure Pics(const bstrHeaderValue: WideString); safecall;
  307. function Get_CacheControl: WideString; safecall;
  308. procedure Set_CacheControl(const pbstrCacheControl: WideString); safecall;
  309. function Get_CodePage: Integer; safecall;
  310. procedure Set_CodePage(plvar: Integer); safecall;
  311. function Get_LCID: Integer; safecall;
  312. procedure Set_LCID(plvar: Integer); safecall;
  313. property Buffer: WordBool read Get_Buffer write Set_Buffer;
  314. property ContentType: WideString read Get_ContentType write Set_ContentType;
  315. property Cookies: IRequestDictionary read Get_Cookies;
  316. property Status: WideString read Get_Status write Set_Status;
  317. property CharSet: WideString read Get_CharSet write Set_CharSet;
  318. property CacheControl: WideString read Get_CacheControl write Set_CacheControl;
  319. property CodePage: Integer read Get_CodePage write Set_CodePage;
  320. property LCID: Integer read Get_LCID write Set_LCID;
  321. end;
  322. // *********************************************************************//
  323. // DispIntf: IResponseDisp
  324. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  325. // GUID: {D97A6DA0-A864-11CF-83BE-00A0C90C2BD8}
  326. // *********************************************************************//
  327. IResponseDisp = dispinterface
  328. ['{D97A6DA0-A864-11CF-83BE-00A0C90C2BD8}']
  329. property Buffer: WordBool dispid 1610743808;
  330. property ContentType: WideString dispid 1610743810;
  331. function Expires: OleVariant; dispid 1610743812;
  332. function ExpiresAbsolute: OleVariant; dispid 1610743814;
  333. property Cookies: IRequestDictionary readonly dispid 1610743816;
  334. property Status: WideString dispid 1610743817;
  335. procedure Add(const bstrHeaderValue: WideString; const bstrHeaderName: WideString); dispid 1610743819;
  336. procedure AddHeader(const bstrHeaderName: WideString; const bstrHeaderValue: WideString); dispid 1610743820;
  337. procedure AppendToLog(const bstrLogEntry: WideString); dispid 1610743821;
  338. procedure BinaryWrite(varInput: OleVariant); dispid 1610743822;
  339. procedure Clear; dispid 1610743823;
  340. procedure End_; dispid 1610743824;
  341. procedure Flush; dispid 1610743825;
  342. procedure Redirect(const bstrURL: WideString); dispid 1610743826;
  343. procedure Write(varText: OleVariant); dispid 1610743827;
  344. procedure WriteBlock(iBlockNumber: Smallint); dispid 1610743828;
  345. function IsClientConnected: WordBool; dispid 1610743829;
  346. property CharSet: WideString dispid 1610743830;
  347. procedure Pics(const bstrHeaderValue: WideString); dispid 1610743832;
  348. property CacheControl: WideString dispid 1610743833;
  349. property CodePage: Integer dispid 1610743835;
  350. property LCID: Integer dispid 1610743837;
  351. end;
  352. // *********************************************************************//
  353. // Interface: IVariantDictionary
  354. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  355. // GUID: {4A7DEB90-B069-11D0-B373-00A0C90C2BD8}
  356. // *********************************************************************//
  357. IVariantDictionary = interface(IDispatch)
  358. ['{4A7DEB90-B069-11D0-B373-00A0C90C2BD8}']
  359. function Get_Item(VarKey: OleVariant): OleVariant; safecall;
  360. procedure Set_Item(VarKey: OleVariant; pvar: OleVariant); safecall;
  361. procedure _Set_Item(VarKey: OleVariant; pvar: OleVariant); safecall;
  362. function Get_Key(VarKey: OleVariant): OleVariant; safecall;
  363. function Get_Count: SYSINT; safecall;
  364. function Get__NewEnum: IUnknown; safecall;
  365. procedure Remove(VarKey: OleVariant); safecall;
  366. procedure RemoveAll; safecall;
  367. property Item[VarKey: OleVariant]: OleVariant read Get_Item write Set_Item; default;
  368. property Key[VarKey: OleVariant]: OleVariant read Get_Key;
  369. property Count: SYSINT read Get_Count;
  370. property _NewEnum: IUnknown read Get__NewEnum;
  371. end;
  372. // *********************************************************************//
  373. // DispIntf: IVariantDictionaryDisp
  374. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  375. // GUID: {4A7DEB90-B069-11D0-B373-00A0C90C2BD8}
  376. // *********************************************************************//
  377. IVariantDictionaryDisp = dispinterface
  378. ['{4A7DEB90-B069-11D0-B373-00A0C90C2BD8}']
  379. property Item[VarKey: OleVariant]: OleVariant dispid 0; default;
  380. property Key[VarKey: OleVariant]: OleVariant readonly dispid 1610743811;
  381. property Count: SYSINT readonly dispid 1610743812;
  382. property _NewEnum: IUnknown readonly dispid -4;
  383. procedure Remove(VarKey: OleVariant); dispid 1610743814;
  384. procedure RemoveAll; dispid 1610743815;
  385. end;
  386. // *********************************************************************//
  387. // Interface: ISessionObject
  388. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  389. // GUID: {D97A6DA0-A865-11CF-83AF-00A0C90C2BD8}
  390. // *********************************************************************//
  391. ISessionObject = interface(IDispatch)
  392. ['{D97A6DA0-A865-11CF-83AF-00A0C90C2BD8}']
  393. function Get_SessionID: WideString; safecall;
  394. function Get_Value(const bstrValue: WideString): OleVariant; safecall;
  395. procedure Set_Value(const bstrValue: WideString; pvar: OleVariant); safecall;
  396. procedure _Set_Value(const bstrValue: WideString; pvar: OleVariant); safecall;
  397. function Get_Timeout: Integer; safecall;
  398. procedure Set_Timeout(plvar: Integer); safecall;
  399. procedure Abandon; safecall;
  400. function Get_CodePage: Integer; safecall;
  401. procedure Set_CodePage(plvar: Integer); safecall;
  402. function Get_LCID: Integer; safecall;
  403. procedure Set_LCID(plvar: Integer); safecall;
  404. function Get_StaticObjects: IVariantDictionary; safecall;
  405. function Get_Contents: IVariantDictionary; safecall;
  406. property SessionID: WideString read Get_SessionID;
  407. property Value[const bstrValue: WideString]: OleVariant read Get_Value write Set_Value; default;
  408. property Timeout: Integer read Get_Timeout write Set_Timeout;
  409. property CodePage: Integer read Get_CodePage write Set_CodePage;
  410. property LCID: Integer read Get_LCID write Set_LCID;
  411. property StaticObjects: IVariantDictionary read Get_StaticObjects;
  412. property Contents: IVariantDictionary read Get_Contents;
  413. end;
  414. // *********************************************************************//
  415. // DispIntf: ISessionObjectDisp
  416. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  417. // GUID: {D97A6DA0-A865-11CF-83AF-00A0C90C2BD8}
  418. // *********************************************************************//
  419. ISessionObjectDisp = dispinterface
  420. ['{D97A6DA0-A865-11CF-83AF-00A0C90C2BD8}']
  421. property SessionID: WideString readonly dispid 1610743808;
  422. property Value[const bstrValue: WideString]: OleVariant dispid 0; default;
  423. property Timeout: Integer dispid 1610743812;
  424. procedure Abandon; dispid 1610743814;
  425. property CodePage: Integer dispid 1610743815;
  426. property LCID: Integer dispid 1610743817;
  427. property StaticObjects: IVariantDictionary readonly dispid 1610743819;
  428. property Contents: IVariantDictionary readonly dispid 1610743820;
  429. end;
  430. // *********************************************************************//
  431. // Interface: IApplicationObject
  432. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  433. // GUID: {D97A6DA0-A866-11CF-83AE-10A0C90C2BD8}
  434. // *********************************************************************//
  435. IApplicationObject = interface(IDispatch)
  436. ['{D97A6DA0-A866-11CF-83AE-10A0C90C2BD8}']
  437. function Get_Value(const bstrValue: WideString): OleVariant; safecall;
  438. procedure Set_Value(const bstrValue: WideString; pvar: OleVariant); safecall;
  439. procedure _Set_Value(const bstrValue: WideString; pvar: OleVariant); safecall;
  440. procedure Lock; safecall;
  441. procedure UnLock; safecall;
  442. function Get_StaticObjects: IVariantDictionary; safecall;
  443. function Get_Contents: IVariantDictionary; safecall;
  444. property Value[const bstrValue: WideString]: OleVariant read Get_Value write Set_Value; default;
  445. property StaticObjects: IVariantDictionary read Get_StaticObjects;
  446. property Contents: IVariantDictionary read Get_Contents;
  447. end;
  448. // *********************************************************************//
  449. // DispIntf: IApplicationObjectDisp
  450. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  451. // GUID: {D97A6DA0-A866-11CF-83AE-10A0C90C2BD8}
  452. // *********************************************************************//
  453. IApplicationObjectDisp = dispinterface
  454. ['{D97A6DA0-A866-11CF-83AE-10A0C90C2BD8}']
  455. property Value[const bstrValue: WideString]: OleVariant dispid 0; default;
  456. procedure Lock; dispid 1610743811;
  457. procedure UnLock; dispid 1610743812;
  458. property StaticObjects: IVariantDictionary readonly dispid 1610743813;
  459. property Contents: IVariantDictionary readonly dispid 1610743814;
  460. end;
  461. // *********************************************************************//
  462. // Interface: IASPError
  463. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  464. // GUID: {F5A6893E-A0F5-11D1-8C4B-00C04FC324A4}
  465. // *********************************************************************//
  466. IASPError = interface(IDispatch)
  467. ['{F5A6893E-A0F5-11D1-8C4B-00C04FC324A4}']
  468. function Get_ASPCode: WideString; safecall;
  469. function Get_Number: Integer; safecall;
  470. function Get_Category: WideString; safecall;
  471. function Get_File_: WideString; safecall;
  472. function Get_Line: Integer; safecall;
  473. function Get_Description: WideString; safecall;
  474. function Get_ASPDescription: WideString; safecall;
  475. function Get_Column: Integer; safecall;
  476. function Get_Source: WideString; safecall;
  477. property ASPCode: WideString read Get_ASPCode;
  478. property Number: Integer read Get_Number;
  479. property Category: WideString read Get_Category;
  480. property File_: WideString read Get_File_;
  481. property Line: Integer read Get_Line;
  482. property Description: WideString read Get_Description;
  483. property ASPDescription: WideString read Get_ASPDescription;
  484. property Column: Integer read Get_Column;
  485. property Source: WideString read Get_Source;
  486. end;
  487. // *********************************************************************//
  488. // DispIntf: IASPErrorDisp
  489. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  490. // GUID: {F5A6893E-A0F5-11D1-8C4B-00C04FC324A4}
  491. // *********************************************************************//
  492. IASPErrorDisp = dispinterface
  493. ['{F5A6893E-A0F5-11D1-8C4B-00C04FC324A4}']
  494. property ASPCode: WideString readonly dispid 1610743808;
  495. property Number: Integer readonly dispid 1610743809;
  496. property Category: WideString readonly dispid 1610743810;
  497. property File_: WideString readonly dispid 1610743811;
  498. property Line: Integer readonly dispid 1610743812;
  499. property Description: WideString readonly dispid 1610743813;
  500. property ASPDescription: WideString readonly dispid 1610743814;
  501. property Column: Integer readonly dispid 1610743815;
  502. property Source: WideString readonly dispid 1610743816;
  503. end;
  504. // *********************************************************************//
  505. // Interface: IServer
  506. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  507. // GUID: {D97A6DA0-A867-11CF-83AE-01A0C90C2BD8}
  508. // *********************************************************************//
  509. IServer = interface(IDispatch)
  510. ['{D97A6DA0-A867-11CF-83AE-01A0C90C2BD8}']
  511. function Get_ScriptTimeout: Integer; safecall;
  512. procedure Set_ScriptTimeout(plTimeoutSeconds: Integer); safecall;
  513. function CreateObject(const bstrProgID: WideString): IDispatch; safecall;
  514. function HTMLEncode(const bstrIn: WideString): WideString; safecall;
  515. function MapPath(const bstrLogicalPath: WideString): WideString; safecall;
  516. function URLEncode(const bstrIn: WideString): WideString; safecall;
  517. function URLPathEncode(const bstrIn: WideString): WideString; safecall;
  518. procedure Execute(const bstrLogicalPath: WideString); safecall;
  519. procedure Transfer(const bstrLogicalPath: WideString); safecall;
  520. function GetLastError: IASPError; safecall;
  521. property ScriptTimeout: Integer read Get_ScriptTimeout write Set_ScriptTimeout;
  522. end;
  523. // *********************************************************************//
  524. // DispIntf: IServerDisp
  525. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  526. // GUID: {D97A6DA0-A867-11CF-83AE-01A0C90C2BD8}
  527. // *********************************************************************//
  528. IServerDisp = dispinterface
  529. ['{D97A6DA0-A867-11CF-83AE-01A0C90C2BD8}']
  530. property ScriptTimeout: Integer dispid 1610743808;
  531. function CreateObject(const bstrProgID: WideString): IDispatch; dispid 1610743810;
  532. function HTMLEncode(const bstrIn: WideString): WideString; dispid 1610743811;
  533. function MapPath(const bstrLogicalPath: WideString): WideString; dispid 1610743812;
  534. function URLEncode(const bstrIn: WideString): WideString; dispid 1610743813;
  535. function URLPathEncode(const bstrIn: WideString): WideString; dispid 1610743814;
  536. procedure Execute(const bstrLogicalPath: WideString); dispid 1610743815;
  537. procedure Transfer(const bstrLogicalPath: WideString); dispid 1610743816;
  538. function GetLastError: IASPError; dispid 1610743817;
  539. end;
  540. // *********************************************************************//
  541. // Interface: IScriptingContext
  542. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  543. // GUID: {D97A6DA0-A868-11CF-83AE-00B0C90C2BD8}
  544. // *********************************************************************//
  545. IScriptingContext = interface(IDispatch)
  546. ['{D97A6DA0-A868-11CF-83AE-00B0C90C2BD8}']
  547. function Get_Request: IRequest; safecall;
  548. function Get_Response: IResponse; safecall;
  549. function Get_Server: IServer; safecall;
  550. function Get_Session: ISessionObject; safecall;
  551. function Get_Application: IApplicationObject; safecall;
  552. property Request: IRequest read Get_Request;
  553. property Response: IResponse read Get_Response;
  554. property Server: IServer read Get_Server;
  555. property Session: ISessionObject read Get_Session;
  556. property Application: IApplicationObject read Get_Application;
  557. end;
  558. // *********************************************************************//
  559. // DispIntf: IScriptingContextDisp
  560. // Flags: (4432) Hidden Dual OleAutomation Dispatchable
  561. // GUID: {D97A6DA0-A868-11CF-83AE-00B0C90C2BD8}
  562. // *********************************************************************//
  563. IScriptingContextDisp = dispinterface
  564. ['{D97A6DA0-A868-11CF-83AE-00B0C90C2BD8}']
  565. property Request: IRequest readonly dispid 1610743808;
  566. property Response: IResponse readonly dispid 1610743809;
  567. property Server: IServer readonly dispid 1610743810;
  568. property Session: ISessionObject readonly dispid 1610743811;
  569. property Application: IApplicationObject readonly dispid 1610743812;
  570. end;
  571. // *********************************************************************//
  572. // The Class CoRequest provides a Create and CreateRemote method to
  573. // create instances of the default interface IRequest exposed by
  574. // the CoClass Request. The functions are intended to be used by
  575. // clients wishing to automate the CoClass objects exposed by the
  576. // server of this typelibrary.
  577. // *********************************************************************//
  578. CoRequest = class
  579. class function Create: IRequest;
  580. class function CreateRemote(const MachineName: string): IRequest;
  581. end;
  582. // *********************************************************************//
  583. // The Class CoResponse provides a Create and CreateRemote method to
  584. // create instances of the default interface IResponse exposed by
  585. // the CoClass Response. The functions are intended to be used by
  586. // clients wishing to automate the CoClass objects exposed by the
  587. // server of this typelibrary.
  588. // *********************************************************************//
  589. CoResponse = class
  590. class function Create: IResponse;
  591. class function CreateRemote(const MachineName: string): IResponse;
  592. end;
  593. // *********************************************************************//
  594. // The Class CoSession provides a Create and CreateRemote method to
  595. // create instances of the default interface ISessionObject exposed by
  596. // the CoClass Session. The functions are intended to be used by
  597. // clients wishing to automate the CoClass objects exposed by the
  598. // server of this typelibrary.
  599. // *********************************************************************//
  600. CoSession = class
  601. class function Create: ISessionObject;
  602. class function CreateRemote(const MachineName: string): ISessionObject;
  603. end;
  604. // *********************************************************************//
  605. // The Class CoApplication provides a Create and CreateRemote method to
  606. // create instances of the default interface IApplicationObject exposed by
  607. // the CoClass Application. The functions are intended to be used by
  608. // clients wishing to automate the CoClass objects exposed by the
  609. // server of this typelibrary.
  610. // *********************************************************************//
  611. CoApplication = class
  612. class function Create: IApplicationObject;
  613. class function CreateRemote(const MachineName: string): IApplicationObject;
  614. end;
  615. // *********************************************************************//
  616. // The Class CoServer provides a Create and CreateRemote method to
  617. // create instances of the default interface IServer exposed by
  618. // the CoClass Server. The functions are intended to be used by
  619. // clients wishing to automate the CoClass objects exposed by the
  620. // server of this typelibrary.
  621. // *********************************************************************//
  622. CoServer = class
  623. class function Create: IServer;
  624. class function CreateRemote(const MachineName: string): IServer;
  625. end;
  626. // *********************************************************************//
  627. // The Class CoScriptingContext provides a Create and CreateRemote method to
  628. // create instances of the default interface IScriptingContext exposed by
  629. // the CoClass ScriptingContext. The functions are intended to be used by
  630. // clients wishing to automate the CoClass objects exposed by the
  631. // server of this typelibrary.
  632. // *********************************************************************//
  633. CoScriptingContext = class
  634. class function Create: IScriptingContext;
  635. class function CreateRemote(const MachineName: string): IScriptingContext;
  636. end;
  637. implementation
  638. uses ComObj;
  639. class function CoRequest.Create: IRequest;
  640. begin
  641. Result := CreateComObject(CLASS_Request) as IRequest;
  642. end;
  643. class function CoRequest.CreateRemote(const MachineName: string): IRequest;
  644. begin
  645. Result := CreateRemoteComObject(MachineName, CLASS_Request) as IRequest;
  646. end;
  647. class function CoResponse.Create: IResponse;
  648. begin
  649. Result := CreateComObject(CLASS_Response) as IResponse;
  650. end;
  651. class function CoResponse.CreateRemote(const MachineName: string): IResponse;
  652. begin
  653. Result := CreateRemoteComObject(MachineName, CLASS_Response) as IResponse;
  654. end;
  655. class function CoSession.Create: ISessionObject;
  656. begin
  657. Result := CreateComObject(CLASS_Session) as ISessionObject;
  658. end;
  659. class function CoSession.CreateRemote(const MachineName: string): ISessionObject;
  660. begin
  661. Result := CreateRemoteComObject(MachineName, CLASS_Session) as ISessionObject;
  662. end;
  663. class function CoApplication.Create: IApplicationObject;
  664. begin
  665. Result := CreateComObject(CLASS_Application) as IApplicationObject;
  666. end;
  667. class function CoApplication.CreateRemote(const MachineName: string): IApplicationObject;
  668. begin
  669. Result := CreateRemoteComObject(MachineName, CLASS_Application) as IApplicationObject;
  670. end;
  671. class function CoServer.Create: IServer;
  672. begin
  673. Result := CreateComObject(CLASS_Server) as IServer;
  674. end;
  675. class function CoServer.CreateRemote(const MachineName: string): IServer;
  676. begin
  677. Result := CreateRemoteComObject(MachineName, CLASS_Server) as IServer;
  678. end;
  679. class function CoScriptingContext.Create: IScriptingContext;
  680. begin
  681. Result := CreateComObject(CLASS_ScriptingContext) as IScriptingContext;
  682. end;
  683. class function CoScriptingContext.CreateRemote(const MachineName: string): IScriptingContext;
  684. begin
  685. Result := CreateRemoteComObject(MachineName, CLASS_ScriptingContext) as IScriptingContext;
  686. end;
  687. end.