2010-04-21 05:04:41 +02:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 Alistair Leslie-Hughes
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
import "unknwn.idl";
|
|
|
|
import "objidl.idl";
|
|
|
|
import "oaidl.idl";
|
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
dual,
|
2021-07-23 09:49:36 +02:00
|
|
|
uuid(D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8)
|
2010-04-21 05:04:41 +02:00
|
|
|
]
|
|
|
|
interface IRequestDictionary : IDispatch
|
|
|
|
{
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[restricted, propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Count([retval, out] int *count);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value);
|
2017-12-13 17:48:14 +01:00
|
|
|
}
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[
|
|
|
|
object,
|
|
|
|
dual,
|
|
|
|
uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
|
|
|
|
]
|
|
|
|
interface IResponse : IDispatch
|
|
|
|
{
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Buffer([in] VARIANT_BOOL is_buffering);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT ContentType([retval, out] BSTR *content_type);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT ContentType([in] BSTR content_type);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Expires([retval, out] VARIANT *minutes);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Expires([in] LONG minutes);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT ExpiresAbsolute([in] DATE expires);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Cookies([retval, out] IRequestDictionary **cookies);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Status([retval, out] BSTR *status);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Status([in] BSTR status);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[hidden]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Add([in] BSTR value, [in] BSTR name);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT AddHeader([in] BSTR name, [in] BSTR value);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT AppendToLog([in] BSTR log_entry);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT BinaryWrite([in] VARIANT input);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Clear();
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT End();
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Flush();
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Redirect(BSTR url);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Write([in] VARIANT text);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[hidden]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT WriteBlock([in] short block_number);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CharSet([retval, out] BSTR *charset);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CharSet([in] BSTR charset);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT Pics([in] BSTR value);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CacheControl([retval, out] BSTR *cache_control);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CacheControl([in] BSTR cache_control);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CodePage([retval, out] LONG *codepage);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT CodePage([in] LONG codepage);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propget]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT LCID([retval, out] LONG *lcid);
|
2010-04-21 05:04:41 +02:00
|
|
|
|
|
|
|
[propput]
|
2017-03-26 16:39:34 +02:00
|
|
|
HRESULT LCID([in] LONG lcid);
|
|
|
|
}
|