2 * Copyright (C) 2010 Alistair Leslie-Hughes
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.
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.
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
26 uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
28 interface IRequestDictionary : IDispatch
31 HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn);
34 HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn);
37 HRESULT Count([retval, out] int *count);
40 HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value);
46 uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
48 interface IResponse : IDispatch
51 HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
54 HRESULT Buffer([in] VARIANT_BOOL is_buffering);
57 HRESULT ContentType([retval, out] BSTR *content_type);
60 HRESULT ContentType([in] BSTR content_type);
63 HRESULT Expires([retval, out] VARIANT *minutes);
66 HRESULT Expires([in] LONG minutes);
69 HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
72 HRESULT ExpiresAbsolute([in] DATE expires);
75 HRESULT Cookies([retval, out] IRequestDictionary **cookies);
78 HRESULT Status([retval, out] BSTR *status);
81 HRESULT Status([in] BSTR status);
84 HRESULT Add([in] BSTR value, [in] BSTR name);
86 HRESULT AddHeader([in] BSTR name, [in] BSTR value);
88 HRESULT AppendToLog([in] BSTR log_entry);
90 HRESULT BinaryWrite([in] VARIANT input);
98 HRESULT Redirect(BSTR url);
100 HRESULT Write([in] VARIANT text);
103 HRESULT WriteBlock([in] short block_number);
105 HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected);
108 HRESULT CharSet([retval, out] BSTR *charset);
111 HRESULT CharSet([in] BSTR charset);
113 HRESULT Pics([in] BSTR value);
116 HRESULT CacheControl([retval, out] BSTR *cache_control);
119 HRESULT CacheControl([in] BSTR cache_control);
122 HRESULT CodePage([retval, out] LONG *codepage);
125 HRESULT CodePage([in] LONG codepage);
128 HRESULT LCID([retval, out] LONG *lcid);
131 HRESULT LCID([in] LONG lcid);