xref: /reactos/sdk/include/psdk/asptlb.idl (revision b09b5584)
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
19import "unknwn.idl";
20import "objidl.idl";
21import "oaidl.idl";
22
23[
24    object,
25    dual,
26    uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
27]
28interface IRequestDictionary : IDispatch
29{
30    [propget]
31    HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn);
32
33    [restricted, propget]
34    HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn);
35
36    [propget]
37    HRESULT Count([retval, out] int *count);
38
39    [propget]
40    HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value);
41};
42
43[
44    object,
45    dual,
46    uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
47]
48interface IResponse : IDispatch
49{
50    [propget]
51    HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
52
53    [propput]
54    HRESULT Buffer([in] VARIANT_BOOL is_buffering);
55
56    [propget]
57    HRESULT ContentType([retval, out] BSTR *content_type);
58
59    [propput]
60    HRESULT ContentType([in] BSTR content_type);
61
62    [propget]
63    HRESULT Expires([retval, out] VARIANT *minutes);
64
65    [propput]
66    HRESULT Expires([in] LONG minutes);
67
68    [propget]
69    HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
70
71    [propput]
72    HRESULT ExpiresAbsolute([in] DATE expires);
73
74    [propget]
75    HRESULT Cookies([retval, out] IRequestDictionary **cookies);
76
77    [propget]
78    HRESULT Status([retval, out] BSTR *status);
79
80    [propput]
81    HRESULT Status([in] BSTR status);
82
83    [hidden]
84    HRESULT Add([in] BSTR value, [in] BSTR name);
85
86    HRESULT AddHeader([in] BSTR name, [in] BSTR value);
87
88    HRESULT AppendToLog([in] BSTR log_entry);
89
90    HRESULT BinaryWrite([in] VARIANT input);
91
92    HRESULT Clear();
93
94    HRESULT End();
95
96    HRESULT Flush();
97
98    HRESULT Redirect(BSTR url);
99
100    HRESULT Write([in] VARIANT text);
101
102    [hidden]
103    HRESULT WriteBlock([in] short block_number);
104
105    HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected);
106
107    [propget]
108    HRESULT CharSet([retval, out] BSTR *charset);
109
110    [propput]
111    HRESULT CharSet([in] BSTR charset);
112
113    HRESULT Pics([in] BSTR value);
114
115    [propget]
116    HRESULT CacheControl([retval, out] BSTR *cache_control);
117
118    [propput]
119    HRESULT CacheControl([in] BSTR cache_control);
120
121    [propget]
122    HRESULT CodePage([retval, out] LONG *codepage);
123
124    [propput]
125    HRESULT CodePage([in] LONG codepage);
126
127    [propget]
128    HRESULT LCID([retval, out] LONG *lcid);
129
130    [propput]
131    HRESULT LCID([in] LONG lcid);
132}
133