Sweden-Number/include/asptlb.idl

133 lines
3.1 KiB
Plaintext
Raw Normal View History

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,
uuid(D97A6DA0-A85F-11DF-83AE-00A0C90C2BD8)
2010-04-21 05:04:41 +02:00
]
interface IRequestDictionary : IDispatch
{
[propget]
HRESULT Item([in, optional] VARIANT Var, [retval, out] VARIANT *pVariantReturn);
2010-04-21 05:04:41 +02:00
[restricted, propget]
HRESULT _NewEnum([retval, out] IUnknown **ppEnumReturn);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT Count([retval, out] int *count);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT Key([in] VARIANT key, [retval, out] VARIANT *value);
}
2010-04-21 05:04:41 +02:00
[
object,
dual,
uuid(D97A6DA0-A864-11cf-83BE-00A0C90C2BD8)
]
interface IResponse : IDispatch
{
[propget]
HRESULT Buffer([retval, out] VARIANT_BOOL *is_buffering);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT Buffer([in] VARIANT_BOOL is_buffering);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT ContentType([retval, out] BSTR *content_type);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT ContentType([in] BSTR content_type);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT Expires([retval, out] VARIANT *minutes);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT Expires([in] LONG minutes);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT ExpiresAbsolute([retval, out] VARIANT *expires);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT ExpiresAbsolute([in] DATE expires);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT Cookies([retval, out] IRequestDictionary **cookies);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT Status([retval, out] BSTR *status);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT Status([in] BSTR status);
2010-04-21 05:04:41 +02:00
[hidden]
HRESULT Add([in] BSTR value, [in] BSTR name);
2010-04-21 05:04:41 +02:00
HRESULT AddHeader([in] BSTR name, [in] BSTR value);
2010-04-21 05:04:41 +02:00
HRESULT AppendToLog([in] BSTR log_entry);
2010-04-21 05:04:41 +02:00
HRESULT BinaryWrite([in] VARIANT input);
2010-04-21 05:04:41 +02:00
HRESULT Clear();
2010-04-21 05:04:41 +02:00
HRESULT End();
2010-04-21 05:04:41 +02:00
HRESULT Flush();
2010-04-21 05:04:41 +02:00
HRESULT Redirect(BSTR url);
2010-04-21 05:04:41 +02:00
HRESULT Write([in] VARIANT text);
2010-04-21 05:04:41 +02:00
[hidden]
HRESULT WriteBlock([in] short block_number);
2010-04-21 05:04:41 +02:00
HRESULT IsClientConnected([retval, out] VARIANT_BOOL *is_connected);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT CharSet([retval, out] BSTR *charset);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT CharSet([in] BSTR charset);
2010-04-21 05:04:41 +02:00
HRESULT Pics([in] BSTR value);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT CacheControl([retval, out] BSTR *cache_control);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT CacheControl([in] BSTR cache_control);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT CodePage([retval, out] LONG *codepage);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT CodePage([in] LONG codepage);
2010-04-21 05:04:41 +02:00
[propget]
HRESULT LCID([retval, out] LONG *lcid);
2010-04-21 05:04:41 +02:00
[propput]
HRESULT LCID([in] LONG lcid);
}