1 | /*
|
---|
2 | * Copyright (C) 2010 Alistair Leslie-Hughes
|
---|
3 | *
|
---|
4 | * This library is free software; you can redistribute it and/or
|
---|
5 | * modify it under the terms of the GNU Lesser General Public
|
---|
6 | * License as published by the Free Software Foundation; either
|
---|
7 | * version 2.1 of the License, or (at your option) any later version.
|
---|
8 | *
|
---|
9 | * This library is distributed in the hope that it will be useful,
|
---|
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
12 | * Lesser General Public License for more details.
|
---|
13 | *
|
---|
14 | * You should have received a copy of the GNU Lesser General Public
|
---|
15 | * License along with this library; if not, write to the Free Software
|
---|
16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
17 | */
|
---|
18 |
|
---|
19 | import "unknwn.idl";
|
---|
20 | import "objidl.idl";
|
---|
21 | import "oaidl.idl";
|
---|
22 |
|
---|
23 | [
|
---|
24 | object,
|
---|
25 | dual,
|
---|
26 | uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
|
---|
27 | ]
|
---|
28 | interface IRequestDictionary : IDispatch
|
---|
29 | {
|
---|
30 | [propget]
|
---|
31 | HRESULT Item(IRequestDictionary *iface, [in, optional] VARIANT Var,
|
---|
32 | [retval, out] VARIANT *pVariantReturn);
|
---|
33 |
|
---|
34 | [restricted, propget]
|
---|
35 | HRESULT _NewEnum(IRequestDictionary *iface, [retval, out] IUnknown **ppEnumReturn);
|
---|
36 |
|
---|
37 | [propget]
|
---|
38 | HRESULT Count(IRequestDictionary *iface, [retval, out] int *cStrRet);
|
---|
39 |
|
---|
40 | [propget]
|
---|
41 | HRESULT Key(IRequestDictionary *iface, [in] VARIANT VarKey, [retval, out]VARIANT *pvar);
|
---|
42 | };
|
---|
43 |
|
---|
44 | [
|
---|
45 | object,
|
---|
46 | dual,
|
---|
47 | uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
|
---|
48 | ]
|
---|
49 | interface IResponse : IDispatch
|
---|
50 | {
|
---|
51 | [propget]
|
---|
52 | HRESULT Buffer(IResponse *iface, [retval, out] VARIANT_BOOL *fIsBuffering);
|
---|
53 |
|
---|
54 | [propput]
|
---|
55 | HRESULT Buffer(IResponse *iface, [in] VARIANT_BOOL fIsBuffering);
|
---|
56 |
|
---|
57 | [propget]
|
---|
58 | HRESULT ContentType(IResponse *iface, [retval, out] BSTR *pbstrContentTypeRet);
|
---|
59 |
|
---|
60 | [propput]
|
---|
61 | HRESULT ContentType(IResponse *iface, [in] BSTR bstrContentType);
|
---|
62 |
|
---|
63 | [propget]
|
---|
64 | HRESULT Expires(IResponse *iface, [retval, out] VARIANT *pvarExpiresMinutesRet);
|
---|
65 |
|
---|
66 | [propput]
|
---|
67 | HRESULT Expires(IResponse *iface, [in] long lExpiresMinutes);
|
---|
68 |
|
---|
69 | [propget]
|
---|
70 | HRESULT ExpiresAbsolute(IResponse *iface, [retval, out] VARIANT *pvarExpiresRet);
|
---|
71 |
|
---|
72 | [propput]
|
---|
73 | HRESULT ExpiresAbsolute(IResponse *iface, [in] DATE dtExpires);
|
---|
74 |
|
---|
75 | [propget]
|
---|
76 | HRESULT Cookies(IResponse *iface, [retval, out] IRequestDictionary **ppCookies);
|
---|
77 |
|
---|
78 | [propget]
|
---|
79 | HRESULT Status(IResponse *iface, [retval][out] BSTR *pbstrStatusRet);
|
---|
80 |
|
---|
81 | [propput]
|
---|
82 | HRESULT Status(IResponse *iface, [in] BSTR bstrStatus);
|
---|
83 |
|
---|
84 | [hidden]
|
---|
85 | HRESULT Add(IResponse *iface, [in] BSTR bstrHeaderValue, [in] BSTR bstrHeaderName);
|
---|
86 |
|
---|
87 | HRESULT AddHeader(IResponse *iface, [in] BSTR bstrHeaderName, [in] BSTR bstrHeaderValue);
|
---|
88 |
|
---|
89 | HRESULT AppendToLog(IResponse *iface, [in] BSTR bstrLogEntry);
|
---|
90 |
|
---|
91 | HRESULT BinaryWrite(IResponse *iface, [in] VARIANT varInput);
|
---|
92 |
|
---|
93 | HRESULT Clear(IResponse *iface);
|
---|
94 |
|
---|
95 | HRESULT End(IResponse *iface);
|
---|
96 |
|
---|
97 | HRESULT Flush(IResponse *iface);
|
---|
98 |
|
---|
99 | HRESULT Redirect(IResponse *iface, [in] BSTR bstrURL);
|
---|
100 |
|
---|
101 | HRESULT Write(IResponse *iface, [in] VARIANT varText);
|
---|
102 |
|
---|
103 | [hidden]
|
---|
104 | HRESULT WriteBlock(IResponse *iface, [in] short iBlockNumber);
|
---|
105 |
|
---|
106 | HRESULT IsClientConnected(IResponse *iface, [retval, out] VARIANT_BOOL *pfIsClientConnected);
|
---|
107 |
|
---|
108 | [propget]
|
---|
109 | HRESULT get_CharSet( IResponse *iface, [retval, out] BSTR *pbstrCharSetRet);
|
---|
110 |
|
---|
111 | [propput]
|
---|
112 | HRESULT put_CharSet(IResponse *iface, [in] BSTR bstrCharSet);
|
---|
113 |
|
---|
114 | HRESULT Pics(IResponse *iface, [in] BSTR bstrHeaderValue);
|
---|
115 |
|
---|
116 | [propget]
|
---|
117 | HRESULT get_CacheControl(IResponse *iface, [retval, out] BSTR *pbstrCacheControl);
|
---|
118 |
|
---|
119 | [propput]
|
---|
120 | HRESULT put_CacheControl(IResponse *iface, [in] BSTR bstrCacheControl);
|
---|
121 |
|
---|
122 | [propget]
|
---|
123 | HRESULT get_CodePage(IResponse *iface, [retval, out] long *plvar);
|
---|
124 |
|
---|
125 | [propput]
|
---|
126 | HRESULT put_CodePage(IResponse *iface, [in] long lvar);
|
---|
127 |
|
---|
128 | [propget]
|
---|
129 | HRESULT get_LCID(IResponse *iface, [retval, out] long *plvar);
|
---|
130 |
|
---|
131 | [propput]
|
---|
132 | HRESULT put_LCID(IResponse *iface, [in] long lvar);
|
---|
133 | };
|
---|