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.

766 lines
24 KiB

  1. // Created by Microsoft (R) C/C++ Compiler Version 13.00.9176 (915640eb).
  2. //
  3. // e:\nt\ds\security\passport\passportmanager\obj\i386\asp.tlh
  4. //
  5. // C++ source equivalent of Win32 type library asp.dll
  6. // compiler-generated file created 03/07/02 at 20:41:23 - DO NOT EDIT!
  7. #pragma once
  8. #pragma pack(push, 8)
  9. #include <comdef.h>
  10. //
  11. // Forward references and typedefs
  12. //
  13. struct __declspec(uuid("d97a6da0-a85c-11cf-83ae-00a0c90c2bd8"))
  14. /* LIBID */ __ASPTypeLibrary;
  15. struct __declspec(uuid("d97a6da0-a85d-11cf-83ae-00a0c90c2bd8"))
  16. /* dual interface */ IStringList;
  17. struct __declspec(uuid("d97a6da0-a85f-11df-83ae-00a0c90c2bd8"))
  18. /* dual interface */ IRequestDictionary;
  19. struct __declspec(uuid("d97a6da0-a861-11cf-93ae-00a0c90c2bd8"))
  20. /* dual interface */ IRequest;
  21. struct /* coclass */ Request;
  22. struct __declspec(uuid("71eaf260-0ce0-11d0-a53e-00a0c90c2091"))
  23. /* dual interface */ IReadCookie;
  24. struct __declspec(uuid("d97a6da0-a862-11cf-84ae-00a0c90c2bd8"))
  25. /* dual interface */ IWriteCookie;
  26. struct __declspec(uuid("d97a6da0-a864-11cf-83be-00a0c90c2bd8"))
  27. /* dual interface */ IResponse;
  28. struct /* coclass */ Response;
  29. struct __declspec(uuid("4a7deb90-b069-11d0-b373-00a0c90c2bd8"))
  30. /* dual interface */ IVariantDictionary;
  31. struct __declspec(uuid("d97a6da0-a865-11cf-83af-00a0c90c2bd8"))
  32. /* dual interface */ ISessionObject;
  33. struct /* coclass */ Session;
  34. struct __declspec(uuid("d97a6da0-a866-11cf-83ae-10a0c90c2bd8"))
  35. /* dual interface */ IApplicationObject;
  36. struct /* coclass */ Application;
  37. struct __declspec(uuid("d97a6da0-a867-11cf-83ae-01a0c90c2bd8"))
  38. /* dual interface */ IServer;
  39. struct /* coclass */ Server;
  40. struct __declspec(uuid("d97a6da0-a868-11cf-83ae-00b0c90c2bd8"))
  41. /* dual interface */ IScriptingContext;
  42. struct /* coclass */ ScriptingContext;
  43. //
  44. // Smart pointer typedef declarations
  45. //
  46. _COM_SMARTPTR_TYPEDEF(IStringList, __uuidof(IStringList));
  47. _COM_SMARTPTR_TYPEDEF(IRequestDictionary, __uuidof(IRequestDictionary));
  48. _COM_SMARTPTR_TYPEDEF(IRequest, __uuidof(IRequest));
  49. _COM_SMARTPTR_TYPEDEF(IReadCookie, __uuidof(IReadCookie));
  50. _COM_SMARTPTR_TYPEDEF(IWriteCookie, __uuidof(IWriteCookie));
  51. _COM_SMARTPTR_TYPEDEF(IResponse, __uuidof(IResponse));
  52. _COM_SMARTPTR_TYPEDEF(IVariantDictionary, __uuidof(IVariantDictionary));
  53. _COM_SMARTPTR_TYPEDEF(ISessionObject, __uuidof(ISessionObject));
  54. _COM_SMARTPTR_TYPEDEF(IApplicationObject, __uuidof(IApplicationObject));
  55. _COM_SMARTPTR_TYPEDEF(IServer, __uuidof(IServer));
  56. _COM_SMARTPTR_TYPEDEF(IScriptingContext, __uuidof(IScriptingContext));
  57. //
  58. // Type library items
  59. //
  60. struct __declspec(uuid("d97a6da0-a85d-11cf-83ae-00a0c90c2bd8"))
  61. IStringList : IDispatch
  62. {
  63. //
  64. // Property data
  65. //
  66. __declspec(property(get=GetItem))
  67. _variant_t Item[];
  68. __declspec(property(get=GetCount))
  69. int Count;
  70. __declspec(property(get=Get_NewEnum))
  71. IUnknownPtr _NewEnum;
  72. //
  73. // Wrapper methods for error-handling
  74. //
  75. _variant_t GetItem (
  76. const _variant_t & i = vtMissing );
  77. int GetCount ( );
  78. IUnknownPtr Get_NewEnum ( );
  79. //
  80. // Raw methods provided by interface
  81. //
  82. virtual HRESULT __stdcall get_Item (
  83. /*[in]*/ VARIANT i,
  84. /*[out,retval]*/ VARIANT * pVariantReturn ) = 0;
  85. virtual HRESULT __stdcall get_Count (
  86. /*[out,retval]*/ int * cStrRet ) = 0;
  87. virtual HRESULT __stdcall get__NewEnum (
  88. /*[out,retval]*/ IUnknown * * ppEnumReturn ) = 0;
  89. };
  90. struct __declspec(uuid("d97a6da0-a85f-11df-83ae-00a0c90c2bd8"))
  91. IRequestDictionary : IDispatch
  92. {
  93. //
  94. // Property data
  95. //
  96. __declspec(property(get=GetItem))
  97. _variant_t Item[];
  98. __declspec(property(get=GetCount))
  99. int Count;
  100. __declspec(property(get=GetKey))
  101. _variant_t Key[];
  102. __declspec(property(get=Get_NewEnum))
  103. IUnknownPtr _NewEnum;
  104. //
  105. // Wrapper methods for error-handling
  106. //
  107. _variant_t GetItem (
  108. const _variant_t & Var = vtMissing );
  109. IUnknownPtr Get_NewEnum ( );
  110. int GetCount ( );
  111. _variant_t GetKey (
  112. const _variant_t & VarKey );
  113. //
  114. // Raw methods provided by interface
  115. //
  116. virtual HRESULT __stdcall get_Item (
  117. /*[in]*/ VARIANT Var,
  118. /*[out,retval]*/ VARIANT * pVariantReturn ) = 0;
  119. virtual HRESULT __stdcall get__NewEnum (
  120. /*[out,retval]*/ IUnknown * * ppEnumReturn ) = 0;
  121. virtual HRESULT __stdcall get_Count (
  122. /*[out,retval]*/ int * cStrRet ) = 0;
  123. virtual HRESULT __stdcall get_Key (
  124. /*[in]*/ VARIANT VarKey,
  125. /*[out,retval]*/ VARIANT * pvar ) = 0;
  126. };
  127. struct __declspec(uuid("d97a6da0-a861-11cf-93ae-00a0c90c2bd8"))
  128. IRequest : IDispatch
  129. {
  130. //
  131. // Property data
  132. //
  133. __declspec(property(get=GetItem))
  134. IDispatchPtr Item[];
  135. __declspec(property(get=GetQueryString))
  136. IRequestDictionaryPtr QueryString;
  137. __declspec(property(get=GetForm))
  138. IRequestDictionaryPtr Form;
  139. __declspec(property(get=GetBody))
  140. IRequestDictionaryPtr Body;
  141. __declspec(property(get=GetServerVariables))
  142. IRequestDictionaryPtr ServerVariables;
  143. __declspec(property(get=GetClientCertificate))
  144. IRequestDictionaryPtr ClientCertificate;
  145. __declspec(property(get=GetCookies))
  146. IRequestDictionaryPtr Cookies;
  147. __declspec(property(get=GetTotalBytes))
  148. long TotalBytes;
  149. //
  150. // Wrapper methods for error-handling
  151. //
  152. IDispatchPtr GetItem (
  153. _bstr_t bstrVar );
  154. IRequestDictionaryPtr GetQueryString ( );
  155. IRequestDictionaryPtr GetForm ( );
  156. IRequestDictionaryPtr GetBody ( );
  157. IRequestDictionaryPtr GetServerVariables ( );
  158. IRequestDictionaryPtr GetClientCertificate ( );
  159. IRequestDictionaryPtr GetCookies ( );
  160. long GetTotalBytes ( );
  161. _variant_t BinaryRead (
  162. VARIANT * pvarCountToRead );
  163. //
  164. // Raw methods provided by interface
  165. //
  166. virtual HRESULT __stdcall get_Item (
  167. /*[in]*/ BSTR bstrVar,
  168. /*[out,retval]*/ IDispatch * * ppObjReturn ) = 0;
  169. virtual HRESULT __stdcall get_QueryString (
  170. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  171. virtual HRESULT __stdcall get_Form (
  172. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  173. virtual HRESULT __stdcall get_Body (
  174. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  175. virtual HRESULT __stdcall get_ServerVariables (
  176. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  177. virtual HRESULT __stdcall get_ClientCertificate (
  178. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  179. virtual HRESULT __stdcall get_Cookies (
  180. /*[out,retval]*/ struct IRequestDictionary * * ppDictReturn ) = 0;
  181. virtual HRESULT __stdcall get_TotalBytes (
  182. /*[out,retval]*/ long * pcbTotal ) = 0;
  183. virtual HRESULT __stdcall raw_BinaryRead (
  184. /*[in,out]*/ VARIANT * pvarCountToRead,
  185. /*[out,retval]*/ VARIANT * pvarReturn ) = 0;
  186. };
  187. struct __declspec(uuid("920c25d0-25d9-11d0-a55f-00a0c90c2091"))
  188. Request;
  189. // [ default ] interface IRequest
  190. struct __declspec(uuid("71eaf260-0ce0-11d0-a53e-00a0c90c2091"))
  191. IReadCookie : IDispatch
  192. {
  193. //
  194. // Property data
  195. //
  196. __declspec(property(get=GetItem))
  197. _variant_t Item[];
  198. __declspec(property(get=GetHasKeys))
  199. VARIANT_BOOL HasKeys;
  200. __declspec(property(get=GetCount))
  201. int Count;
  202. __declspec(property(get=GetKey))
  203. _variant_t Key[];
  204. __declspec(property(get=Get_NewEnum))
  205. IUnknownPtr _NewEnum;
  206. //
  207. // Wrapper methods for error-handling
  208. //
  209. _variant_t GetItem (
  210. const _variant_t & Var = vtMissing );
  211. VARIANT_BOOL GetHasKeys ( );
  212. IUnknownPtr Get_NewEnum ( );
  213. int GetCount ( );
  214. _variant_t GetKey (
  215. const _variant_t & VarKey );
  216. //
  217. // Raw methods provided by interface
  218. //
  219. virtual HRESULT __stdcall get_Item (
  220. /*[in]*/ VARIANT Var,
  221. /*[out,retval]*/ VARIANT * pVariantReturn ) = 0;
  222. virtual HRESULT __stdcall get_HasKeys (
  223. /*[out,retval]*/ VARIANT_BOOL * pfHasKeys ) = 0;
  224. virtual HRESULT __stdcall get__NewEnum (
  225. /*[out,retval]*/ IUnknown * * ppEnumReturn ) = 0;
  226. virtual HRESULT __stdcall get_Count (
  227. /*[out,retval]*/ int * cStrRet ) = 0;
  228. virtual HRESULT __stdcall get_Key (
  229. /*[in]*/ VARIANT VarKey,
  230. /*[out,retval]*/ VARIANT * pvar ) = 0;
  231. };
  232. struct __declspec(uuid("d97a6da0-a862-11cf-84ae-00a0c90c2bd8"))
  233. IWriteCookie : IDispatch
  234. {
  235. //
  236. // Property data
  237. //
  238. __declspec(property(put=PutItem))
  239. _bstr_t Item[];
  240. __declspec(property(put=PutExpires))
  241. DATE Expires;
  242. __declspec(property(put=PutDomain))
  243. _bstr_t Domain;
  244. __declspec(property(put=PutPath))
  245. _bstr_t Path;
  246. __declspec(property(put=PutSecure))
  247. VARIANT_BOOL Secure;
  248. __declspec(property(get=GetHasKeys))
  249. VARIANT_BOOL HasKeys;
  250. __declspec(property(get=Get_NewEnum))
  251. IUnknownPtr _NewEnum;
  252. //
  253. // Wrapper methods for error-handling
  254. //
  255. void PutItem (
  256. const _variant_t & Key,
  257. _bstr_t _arg2 );
  258. void PutExpires (
  259. DATE _arg1 );
  260. void PutDomain (
  261. _bstr_t _arg1 );
  262. void PutPath (
  263. _bstr_t _arg1 );
  264. void PutSecure (
  265. VARIANT_BOOL _arg1 );
  266. VARIANT_BOOL GetHasKeys ( );
  267. IUnknownPtr Get_NewEnum ( );
  268. //
  269. // Raw methods provided by interface
  270. //
  271. virtual HRESULT __stdcall put_Item (
  272. /*[in]*/ VARIANT Key,
  273. /*[in]*/ BSTR _arg2 ) = 0;
  274. virtual HRESULT __stdcall put_Expires (
  275. /*[in]*/ DATE _arg1 ) = 0;
  276. virtual HRESULT __stdcall put_Domain (
  277. /*[in]*/ BSTR _arg1 ) = 0;
  278. virtual HRESULT __stdcall put_Path (
  279. /*[in]*/ BSTR _arg1 ) = 0;
  280. virtual HRESULT __stdcall put_Secure (
  281. /*[in]*/ VARIANT_BOOL _arg1 ) = 0;
  282. virtual HRESULT __stdcall get_HasKeys (
  283. /*[out,retval]*/ VARIANT_BOOL * pfHasKeys ) = 0;
  284. virtual HRESULT __stdcall get__NewEnum (
  285. /*[out,retval]*/ IUnknown * * ppEnumReturn ) = 0;
  286. };
  287. struct __declspec(uuid("d97a6da0-a864-11cf-83be-00a0c90c2bd8"))
  288. IResponse : IDispatch
  289. {
  290. //
  291. // Property data
  292. //
  293. __declspec(property(get=GetBuffer,put=PutBuffer))
  294. VARIANT_BOOL Buffer;
  295. __declspec(property(get=GetContentType,put=PutContentType))
  296. _bstr_t ContentType;
  297. __declspec(property(get=GetCookies))
  298. IRequestDictionaryPtr Cookies;
  299. __declspec(property(get=GetStatus,put=PutStatus))
  300. _bstr_t Status;
  301. __declspec(property(get=GetCharSet,put=PutCharSet))
  302. _bstr_t CharSet;
  303. __declspec(property(get=GetCacheControl,put=PutCacheControl))
  304. _bstr_t CacheControl;
  305. //
  306. // Wrapper methods for error-handling
  307. //
  308. VARIANT_BOOL GetBuffer ( );
  309. void PutBuffer (
  310. VARIANT_BOOL fIsBuffering );
  311. _bstr_t GetContentType ( );
  312. void PutContentType (
  313. _bstr_t pbstrContentTypeRet );
  314. _variant_t GetExpires ( );
  315. void PutExpires (
  316. long pvarExpiresMinutesRet );
  317. _variant_t GetExpiresAbsolute ( );
  318. void PutExpiresAbsolute (
  319. DATE pvarExpiresRet );
  320. IRequestDictionaryPtr GetCookies ( );
  321. _bstr_t GetStatus ( );
  322. void PutStatus (
  323. _bstr_t pbstrStatusRet );
  324. HRESULT Add (
  325. _bstr_t bstrHeaderValue,
  326. _bstr_t bstrHeaderName );
  327. HRESULT AddHeader (
  328. _bstr_t bstrHeaderName,
  329. _bstr_t bstrHeaderValue );
  330. HRESULT AppendToLog (
  331. _bstr_t bstrLogEntry );
  332. HRESULT BinaryWrite (
  333. const _variant_t & varInput );
  334. HRESULT Clear ( );
  335. HRESULT End ( );
  336. HRESULT Flush ( );
  337. HRESULT Redirect (
  338. _bstr_t bstrURL );
  339. HRESULT Write (
  340. const _variant_t & varText );
  341. HRESULT WriteBlock (
  342. short iBlockNumber );
  343. VARIANT_BOOL IsClientConnected ( );
  344. _bstr_t GetCharSet ( );
  345. void PutCharSet (
  346. _bstr_t pbstrCharSetRet );
  347. HRESULT Pics (
  348. _bstr_t bstrHeaderValue );
  349. _bstr_t GetCacheControl ( );
  350. void PutCacheControl (
  351. _bstr_t pbstrCacheControl );
  352. //
  353. // Raw methods provided by interface
  354. //
  355. virtual HRESULT __stdcall get_Buffer (
  356. /*[out,retval]*/ VARIANT_BOOL * fIsBuffering ) = 0;
  357. virtual HRESULT __stdcall put_Buffer (
  358. /*[in]*/ VARIANT_BOOL fIsBuffering ) = 0;
  359. virtual HRESULT __stdcall get_ContentType (
  360. /*[out,retval]*/ BSTR * pbstrContentTypeRet ) = 0;
  361. virtual HRESULT __stdcall put_ContentType (
  362. /*[in]*/ BSTR pbstrContentTypeRet ) = 0;
  363. virtual HRESULT __stdcall get_Expires (
  364. /*[out,retval]*/ VARIANT * pvarExpiresMinutesRet ) = 0;
  365. virtual HRESULT __stdcall put_Expires (
  366. /*[in]*/ long pvarExpiresMinutesRet ) = 0;
  367. virtual HRESULT __stdcall get_ExpiresAbsolute (
  368. /*[out,retval]*/ VARIANT * pvarExpiresRet ) = 0;
  369. virtual HRESULT __stdcall put_ExpiresAbsolute (
  370. /*[in]*/ DATE pvarExpiresRet ) = 0;
  371. virtual HRESULT __stdcall get_Cookies (
  372. /*[out,retval]*/ struct IRequestDictionary * * ppCookies ) = 0;
  373. virtual HRESULT __stdcall get_Status (
  374. /*[out,retval]*/ BSTR * pbstrStatusRet ) = 0;
  375. virtual HRESULT __stdcall put_Status (
  376. /*[in]*/ BSTR pbstrStatusRet ) = 0;
  377. virtual HRESULT __stdcall raw_Add (
  378. /*[in]*/ BSTR bstrHeaderValue,
  379. /*[in]*/ BSTR bstrHeaderName ) = 0;
  380. virtual HRESULT __stdcall raw_AddHeader (
  381. /*[in]*/ BSTR bstrHeaderName,
  382. /*[in]*/ BSTR bstrHeaderValue ) = 0;
  383. virtual HRESULT __stdcall raw_AppendToLog (
  384. /*[in]*/ BSTR bstrLogEntry ) = 0;
  385. virtual HRESULT __stdcall raw_BinaryWrite (
  386. /*[in]*/ VARIANT varInput ) = 0;
  387. virtual HRESULT __stdcall raw_Clear ( ) = 0;
  388. virtual HRESULT __stdcall raw_End ( ) = 0;
  389. virtual HRESULT __stdcall raw_Flush ( ) = 0;
  390. virtual HRESULT __stdcall raw_Redirect (
  391. /*[in]*/ BSTR bstrURL ) = 0;
  392. virtual HRESULT __stdcall raw_Write (
  393. /*[in]*/ VARIANT varText ) = 0;
  394. virtual HRESULT __stdcall raw_WriteBlock (
  395. /*[in]*/ short iBlockNumber ) = 0;
  396. virtual HRESULT __stdcall raw_IsClientConnected (
  397. /*[out,retval]*/ VARIANT_BOOL * pfIsClientConnected ) = 0;
  398. virtual HRESULT __stdcall get_CharSet (
  399. /*[out,retval]*/ BSTR * pbstrCharSetRet ) = 0;
  400. virtual HRESULT __stdcall put_CharSet (
  401. /*[in]*/ BSTR pbstrCharSetRet ) = 0;
  402. virtual HRESULT __stdcall raw_Pics (
  403. /*[in]*/ BSTR bstrHeaderValue ) = 0;
  404. virtual HRESULT __stdcall get_CacheControl (
  405. /*[out,retval]*/ BSTR * pbstrCacheControl ) = 0;
  406. virtual HRESULT __stdcall put_CacheControl (
  407. /*[in]*/ BSTR pbstrCacheControl ) = 0;
  408. };
  409. struct __declspec(uuid("46e19ba0-25dd-11d0-a55f-00a0c90c2091"))
  410. Response;
  411. // [ default ] interface IResponse
  412. struct __declspec(uuid("4a7deb90-b069-11d0-b373-00a0c90c2bd8"))
  413. IVariantDictionary : IDispatch
  414. {
  415. //
  416. // Property data
  417. //
  418. __declspec(property(get=GetItem,put=PutRefItem))
  419. _variant_t Item[];
  420. __declspec(property(get=GetKey))
  421. _variant_t Key[];
  422. __declspec(property(get=GetCount))
  423. int Count;
  424. __declspec(property(get=Get_NewEnum))
  425. IUnknownPtr _NewEnum;
  426. //
  427. // Wrapper methods for error-handling
  428. //
  429. _variant_t GetItem (
  430. const _variant_t & VarKey );
  431. void PutItem (
  432. const _variant_t & VarKey,
  433. const _variant_t & pvar );
  434. void PutRefItem (
  435. const _variant_t & VarKey,
  436. const _variant_t & pvar );
  437. _variant_t GetKey (
  438. const _variant_t & VarKey );
  439. int GetCount ( );
  440. IUnknownPtr Get_NewEnum ( );
  441. //
  442. // Raw methods provided by interface
  443. //
  444. virtual HRESULT __stdcall get_Item (
  445. /*[in]*/ VARIANT VarKey,
  446. /*[out,retval]*/ VARIANT * pvar ) = 0;
  447. virtual HRESULT __stdcall put_Item (
  448. /*[in]*/ VARIANT VarKey,
  449. /*[in]*/ VARIANT pvar ) = 0;
  450. virtual HRESULT __stdcall putref_Item (
  451. /*[in]*/ VARIANT VarKey,
  452. /*[in]*/ VARIANT pvar ) = 0;
  453. virtual HRESULT __stdcall get_Key (
  454. /*[in]*/ VARIANT VarKey,
  455. /*[out,retval]*/ VARIANT * pvar ) = 0;
  456. virtual HRESULT __stdcall get_Count (
  457. /*[out,retval]*/ int * cStrRet ) = 0;
  458. virtual HRESULT __stdcall get__NewEnum (
  459. /*[out,retval]*/ IUnknown * * ppEnumReturn ) = 0;
  460. };
  461. struct __declspec(uuid("d97a6da0-a865-11cf-83af-00a0c90c2bd8"))
  462. ISessionObject : IDispatch
  463. {
  464. //
  465. // Property data
  466. //
  467. __declspec(property(get=GetSessionID))
  468. _bstr_t SessionID;
  469. __declspec(property(get=GetValue,put=PutRefValue))
  470. _variant_t Value[];
  471. __declspec(property(get=GetTimeout,put=PutTimeout))
  472. long Timeout;
  473. __declspec(property(get=GetCodePage,put=PutCodePage))
  474. long CodePage;
  475. __declspec(property(get=GetLCID,put=PutLCID))
  476. long LCID;
  477. __declspec(property(get=GetStaticObjects))
  478. IVariantDictionaryPtr StaticObjects;
  479. __declspec(property(get=GetContents))
  480. IVariantDictionaryPtr Contents;
  481. //
  482. // Wrapper methods for error-handling
  483. //
  484. _bstr_t GetSessionID ( );
  485. _variant_t GetValue (
  486. _bstr_t bstrValue );
  487. void PutValue (
  488. _bstr_t bstrValue,
  489. const _variant_t & pvar );
  490. void PutRefValue (
  491. _bstr_t bstrValue,
  492. const _variant_t & pvar );
  493. long GetTimeout ( );
  494. void PutTimeout (
  495. long plvar );
  496. HRESULT Abandon ( );
  497. long GetCodePage ( );
  498. void PutCodePage (
  499. long plvar );
  500. long GetLCID ( );
  501. void PutLCID (
  502. long plvar );
  503. IVariantDictionaryPtr GetStaticObjects ( );
  504. IVariantDictionaryPtr GetContents ( );
  505. //
  506. // Raw methods provided by interface
  507. //
  508. virtual HRESULT __stdcall get_SessionID (
  509. /*[out,retval]*/ BSTR * pbstrRet ) = 0;
  510. virtual HRESULT __stdcall get_Value (
  511. /*[in]*/ BSTR bstrValue,
  512. /*[out,retval]*/ VARIANT * pvar ) = 0;
  513. virtual HRESULT __stdcall put_Value (
  514. /*[in]*/ BSTR bstrValue,
  515. /*[in]*/ VARIANT pvar ) = 0;
  516. virtual HRESULT __stdcall putref_Value (
  517. /*[in]*/ BSTR bstrValue,
  518. /*[in]*/ VARIANT pvar ) = 0;
  519. virtual HRESULT __stdcall get_Timeout (
  520. /*[out,retval]*/ long * plvar ) = 0;
  521. virtual HRESULT __stdcall put_Timeout (
  522. /*[in]*/ long plvar ) = 0;
  523. virtual HRESULT __stdcall raw_Abandon ( ) = 0;
  524. virtual HRESULT __stdcall get_CodePage (
  525. /*[out,retval]*/ long * plvar ) = 0;
  526. virtual HRESULT __stdcall put_CodePage (
  527. /*[in]*/ long plvar ) = 0;
  528. virtual HRESULT __stdcall get_LCID (
  529. /*[out,retval]*/ long * plvar ) = 0;
  530. virtual HRESULT __stdcall put_LCID (
  531. /*[in]*/ long plvar ) = 0;
  532. virtual HRESULT __stdcall get_StaticObjects (
  533. /*[out,retval]*/ struct IVariantDictionary * * ppTaggedObjects ) = 0;
  534. virtual HRESULT __stdcall get_Contents (
  535. /*[out,retval]*/ struct IVariantDictionary * * ppProperties ) = 0;
  536. };
  537. struct __declspec(uuid("509f8f20-25de-11d0-a55f-00a0c90c2091"))
  538. Session;
  539. // [ default ] interface ISessionObject
  540. struct __declspec(uuid("d97a6da0-a866-11cf-83ae-10a0c90c2bd8"))
  541. IApplicationObject : IDispatch
  542. {
  543. //
  544. // Property data
  545. //
  546. __declspec(property(get=GetValue,put=PutRefValue))
  547. _variant_t Value[];
  548. __declspec(property(get=GetStaticObjects))
  549. IVariantDictionaryPtr StaticObjects;
  550. __declspec(property(get=GetContents))
  551. IVariantDictionaryPtr Contents;
  552. //
  553. // Wrapper methods for error-handling
  554. //
  555. _variant_t GetValue (
  556. _bstr_t bstrValue );
  557. void PutValue (
  558. _bstr_t bstrValue,
  559. const _variant_t & pvar );
  560. void PutRefValue (
  561. _bstr_t bstrValue,
  562. const _variant_t & pvar );
  563. HRESULT Lock ( );
  564. HRESULT UnLock ( );
  565. IVariantDictionaryPtr GetStaticObjects ( );
  566. IVariantDictionaryPtr GetContents ( );
  567. //
  568. // Raw methods provided by interface
  569. //
  570. virtual HRESULT __stdcall get_Value (
  571. /*[in]*/ BSTR bstrValue,
  572. /*[out,retval]*/ VARIANT * pvar ) = 0;
  573. virtual HRESULT __stdcall put_Value (
  574. /*[in]*/ BSTR bstrValue,
  575. /*[in]*/ VARIANT pvar ) = 0;
  576. virtual HRESULT __stdcall putref_Value (
  577. /*[in]*/ BSTR bstrValue,
  578. /*[in]*/ VARIANT pvar ) = 0;
  579. virtual HRESULT __stdcall raw_Lock ( ) = 0;
  580. virtual HRESULT __stdcall raw_UnLock ( ) = 0;
  581. virtual HRESULT __stdcall get_StaticObjects (
  582. /*[out,retval]*/ struct IVariantDictionary * * ppProperties ) = 0;
  583. virtual HRESULT __stdcall get_Contents (
  584. /*[out,retval]*/ struct IVariantDictionary * * ppProperties ) = 0;
  585. };
  586. struct __declspec(uuid("7c3baf00-25de-11d0-a55f-00a0c90c2091"))
  587. Application;
  588. // [ default ] interface IApplicationObject
  589. struct __declspec(uuid("d97a6da0-a867-11cf-83ae-01a0c90c2bd8"))
  590. IServer : IDispatch
  591. {
  592. //
  593. // Property data
  594. //
  595. __declspec(property(get=GetScriptTimeout,put=PutScriptTimeout))
  596. long ScriptTimeout;
  597. //
  598. // Wrapper methods for error-handling
  599. //
  600. long GetScriptTimeout ( );
  601. void PutScriptTimeout (
  602. long plTimeoutSeconds );
  603. IDispatchPtr CreateObject (
  604. _bstr_t bstrProgID );
  605. _bstr_t HTMLEncode (
  606. _bstr_t bstrIn );
  607. _bstr_t MapPath (
  608. _bstr_t bstrLogicalPath );
  609. _bstr_t URLEncode (
  610. _bstr_t bstrIn );
  611. _bstr_t URLPathEncode (
  612. _bstr_t bstrIn );
  613. //
  614. // Raw methods provided by interface
  615. //
  616. virtual HRESULT __stdcall get_ScriptTimeout (
  617. /*[out,retval]*/ long * plTimeoutSeconds ) = 0;
  618. virtual HRESULT __stdcall put_ScriptTimeout (
  619. /*[in]*/ long plTimeoutSeconds ) = 0;
  620. virtual HRESULT __stdcall raw_CreateObject (
  621. /*[in]*/ BSTR bstrProgID,
  622. /*[out,retval]*/ IDispatch * * ppDispObject ) = 0;
  623. virtual HRESULT __stdcall raw_HTMLEncode (
  624. /*[in]*/ BSTR bstrIn,
  625. /*[out,retval]*/ BSTR * pbstrEncoded ) = 0;
  626. virtual HRESULT __stdcall raw_MapPath (
  627. /*[in]*/ BSTR bstrLogicalPath,
  628. /*[out,retval]*/ BSTR * pbstrPhysicalPath ) = 0;
  629. virtual HRESULT __stdcall raw_URLEncode (
  630. /*[in]*/ BSTR bstrIn,
  631. /*[out,retval]*/ BSTR * pbstrEncoded ) = 0;
  632. virtual HRESULT __stdcall raw_URLPathEncode (
  633. /*[in]*/ BSTR bstrIn,
  634. /*[out,retval]*/ BSTR * pbstrEncoded ) = 0;
  635. };
  636. struct __declspec(uuid("a506d160-25e0-11d0-a55f-00a0c90c2091"))
  637. Server;
  638. // [ default ] interface IServer
  639. struct __declspec(uuid("d97a6da0-a868-11cf-83ae-00b0c90c2bd8"))
  640. IScriptingContext : IDispatch
  641. {
  642. //
  643. // Property data
  644. //
  645. __declspec(property(get=GetRequest))
  646. IRequestPtr Request;
  647. __declspec(property(get=GetResponse))
  648. IResponsePtr Response;
  649. __declspec(property(get=GetServer))
  650. IServerPtr Server;
  651. __declspec(property(get=GetSession))
  652. ISessionObjectPtr Session;
  653. __declspec(property(get=GetApplication))
  654. IApplicationObjectPtr Application;
  655. //
  656. // Wrapper methods for error-handling
  657. //
  658. IRequestPtr GetRequest ( );
  659. IResponsePtr GetResponse ( );
  660. IServerPtr GetServer ( );
  661. ISessionObjectPtr GetSession ( );
  662. IApplicationObjectPtr GetApplication ( );
  663. //
  664. // Raw methods provided by interface
  665. //
  666. virtual HRESULT __stdcall get_Request (
  667. /*[out,retval]*/ struct IRequest * * ppRequest ) = 0;
  668. virtual HRESULT __stdcall get_Response (
  669. /*[out,retval]*/ struct IResponse * * ppResponse ) = 0;
  670. virtual HRESULT __stdcall get_Server (
  671. /*[out,retval]*/ struct IServer * * ppServer ) = 0;
  672. virtual HRESULT __stdcall get_Session (
  673. /*[out,retval]*/ struct ISessionObject * * ppSession ) = 0;
  674. virtual HRESULT __stdcall get_Application (
  675. /*[out,retval]*/ struct IApplicationObject * * ppApplication ) = 0;
  676. };
  677. struct __declspec(uuid("d97a6da0-a868-11cf-83ae-11b0c90c2bd8"))
  678. ScriptingContext;
  679. // [ default ] interface IScriptingContext
  680. //
  681. // Wrapper method implementations
  682. //
  683. #include "asp.tli"
  684. #pragma pack(pop)