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
(IRequestDictionary
*iface
, [in, optional] VARIANT Var
,
32 [retval, out] VARIANT *pVariantReturn
);
35 HRESULT _NewEnum
(IRequestDictionary
*iface
, [retval, out] IUnknown
**ppEnumReturn
);
38 HRESULT Count
(IRequestDictionary
*iface
, [retval, out] int *cStrRet
);
41 HRESULT Key
(IRequestDictionary
*iface
, [in] VARIANT VarKey
, [retval, out]VARIANT *pvar
);
47 uuid(D97A6DA0
-A864
-11cf
-83BE
-00A0C90C2BD8
)
49 interface IResponse
: IDispatch
52 HRESULT Buffer
(IResponse
*iface
, [retval, out] VARIANT_BOOL *fIsBuffering
);
55 HRESULT Buffer
(IResponse
*iface
, [in] VARIANT_BOOL fIsBuffering
);
58 HRESULT ContentType
(IResponse
*iface
, [retval, out] BSTR *pbstrContentTypeRet
);
61 HRESULT ContentType
(IResponse
*iface
, [in] BSTR bstrContentType
);
64 HRESULT Expires
(IResponse
*iface
, [retval, out] VARIANT *pvarExpiresMinutesRet
);
67 HRESULT Expires
(IResponse
*iface
, [in] long lExpiresMinutes
);
70 HRESULT ExpiresAbsolute
(IResponse
*iface
, [retval, out] VARIANT *pvarExpiresRet
);
73 HRESULT ExpiresAbsolute
(IResponse
*iface
, [in] DATE dtExpires
);
76 HRESULT Cookies
(IResponse
*iface
, [retval, out] IRequestDictionary
**ppCookies
);
79 HRESULT Status
(IResponse
*iface
, [retval][out] BSTR *pbstrStatusRet
);
82 HRESULT Status
(IResponse
*iface
, [in] BSTR bstrStatus
);
85 HRESULT Add
(IResponse
*iface
, [in] BSTR bstrHeaderValue
, [in] BSTR bstrHeaderName
);
87 HRESULT AddHeader
(IResponse
*iface
, [in] BSTR bstrHeaderName
, [in] BSTR bstrHeaderValue
);
89 HRESULT AppendToLog
(IResponse
*iface
, [in] BSTR bstrLogEntry
);
91 HRESULT BinaryWrite
(IResponse
*iface
, [in] VARIANT varInput
);
93 HRESULT Clear
(IResponse
*iface
);
95 HRESULT End
(IResponse
*iface
);
97 HRESULT Flush
(IResponse
*iface
);
99 HRESULT Redirect
(IResponse
*iface
, [in] BSTR bstrURL
);
101 HRESULT Write
(IResponse
*iface
, [in] VARIANT varText
);
104 HRESULT WriteBlock
(IResponse
*iface
, [in] short iBlockNumber
);
106 HRESULT IsClientConnected
(IResponse
*iface
, [retval, out] VARIANT_BOOL *pfIsClientConnected
);
109 HRESULT get_CharSet
( IResponse
*iface
, [retval, out] BSTR *pbstrCharSetRet
);
112 HRESULT put_CharSet
(IResponse
*iface
, [in] BSTR bstrCharSet
);
114 HRESULT Pics
(IResponse
*iface
, [in] BSTR bstrHeaderValue
);
117 HRESULT get_CacheControl
(IResponse
*iface
, [retval, out] BSTR *pbstrCacheControl
);
120 HRESULT put_CacheControl
(IResponse
*iface
, [in] BSTR bstrCacheControl
);
123 HRESULT get_CodePage
(IResponse
*iface
, [retval, out] long *plvar
);
126 HRESULT put_CodePage
(IResponse
*iface
, [in] long lvar
);
129 HRESULT get_LCID
(IResponse
*iface
, [retval, out] long *plvar
);
132 HRESULT put_LCID
(IResponse
*iface
, [in] long lvar
);