/usr/include/wine/windows/httprequest.idl is in wine1.6-dev 1:1.6.2-0ubuntu14.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | /*
* Copyright 2011 Hans Leidekker for CodeWeavers
*
* 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
*/
#include "httprequestid.h"
import "oaidl.idl";
#ifndef __WIDL__
#define threading(model)
#define progid(str)
#define vi_progid(str)
#endif
[
uuid(662901fc-6951-4854-9eb2-d9a2570f2b2e),
helpstring("Microsoft WinHTTP Services, version 5.1"),
lcid(0x0000),
version(5.1)
]
library WinHttp {
importlib ("stdole2.tlb");
typedef [public] LONG HTTPREQUEST_PROXY_SETTING;
const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_DEFAULT = 0x00000000;
const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_PRECONFIG = 0x00000000;
const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_DIRECT = 0x00000001;
const HTTPREQUEST_PROXY_SETTING HTTPREQUEST_PROXYSETTING_PROXY = 0x00000002;
typedef [public] LONG HTTPREQUEST_SETCREDENTIALS_FLAGS;
const HTTPREQUEST_SETCREDENTIALS_FLAGS HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0x00000000;
const HTTPREQUEST_SETCREDENTIALS_FLAGS HTTPREQUEST_SETCREDENTIALS_FOR_PROXY = 0x00000001;
typedef
[uuid(12782009-fe90-4877-9730-e5e183669b19)]
enum WinHttpRequestOption
{
WinHttpRequestOption_UserAgentString,
WinHttpRequestOption_URL,
WinHttpRequestOption_URLCodePage,
WinHttpRequestOption_EscapePercentInURL,
WinHttpRequestOption_SslErrorIgnoreFlags,
WinHttpRequestOption_SelectCertificate,
WinHttpRequestOption_EnableRedirects,
WinHttpRequestOption_UrlEscapeDisable,
WinHttpRequestOption_UrlEscapeDisableQuery,
WinHttpRequestOption_SecureProtocols,
WinHttpRequestOption_EnableTracing,
WinHttpRequestOption_RevertImpersonationOverSsl,
WinHttpRequestOption_EnableHttpsToHttpRedirects,
WinHttpRequestOption_EnablePassportAuthentication,
WinHttpRequestOption_MaxAutomaticRedirects,
WinHttpRequestOption_MaxResponseHeaderSize,
WinHttpRequestOption_MaxResponseDrainSize,
WinHttpRequestOption_EnableHttp1_1,
WinHttpRequestOption_EnableCertificateRevocationCheck,
WinHttpRequestOption_RejectUserpwd
} WinHttpRequestOption;
typedef
[uuid(9d8a6df8-13de-4b1f-a330-67c719d62514)]
enum WinHttpRequestAutoLogonPolicy
{
AutoLogonPolicy_Always,
AutoLogonPolicy_OnlyIfBypassProxy,
AutoLogonPolicy_Never
} WinHttpRequestAutoLogonPolicy;
[
object,
uuid(016fe2ec-b2c8-45f8-b23b-39e53a75396b),
odl,
dual,
oleautomation,
nonextensible,
pointer_default(unique)
]
interface IWinHttpRequest : IDispatch
{
[id(DISPID_HTTPREQUEST_SETPROXY)]
HRESULT SetProxy(
[in] HTTPREQUEST_PROXY_SETTING proxy_setting,
[in, optional] VARIANT proxy_server,
[in, optional] VARIANT bypass_list);
[id(DISPID_HTTPREQUEST_SETCREDENTIALS)]
HRESULT SetCredentials(
[in] BSTR username,
[in] BSTR password,
[in] HTTPREQUEST_SETCREDENTIALS_FLAGS flags);
[id(DISPID_HTTPREQUEST_OPEN)]
HRESULT Open(
[in] BSTR method,
[in] BSTR url,
[in, optional] VARIANT async);
[id(DISPID_HTTPREQUEST_SETREQUESTHEADER)]
HRESULT SetRequestHeader(
[in] BSTR header,
[in] BSTR value);
[id(DISPID_HTTPREQUEST_GETRESPONSEHEADER)]
HRESULT GetResponseHeader(
[in] BSTR header,
[out, retval] BSTR *value);
[id(DISPID_HTTPREQUEST_GETALLRESPONSEHEADERS)]
HRESULT GetAllResponseHeaders(
[out, retval] BSTR *headers);
[id(DISPID_HTTPREQUEST_SEND)]
HRESULT Send(
[in, optional] VARIANT body);
[propget, id(DISPID_HTTPREQUEST_STATUS)]
HRESULT Status(
[out, retval] LONG *status);
[propget, id(DISPID_HTTPREQUEST_STATUSTEXT)]
HRESULT StatusText(
[out, retval] BSTR *status);
[propget, id(DISPID_HTTPREQUEST_RESPONSETEXT)]
HRESULT ResponseText(
[out, retval] BSTR *body);
[propget, id(DISPID_HTTPREQUEST_RESPONSEBODY)]
HRESULT ResponseBody(
[out, retval] VARIANT *body);
[propget, id(DISPID_HTTPREQUEST_RESPONSESTREAM)]
HRESULT ResponseStream(
[out, retval] VARIANT *body);
[propget, id(DISPID_HTTPREQUEST_OPTION)]
HRESULT Option(
[in] WinHttpRequestOption option,
[out, retval] VARIANT *value);
[propput, id(DISPID_HTTPREQUEST_OPTION)]
HRESULT Option(
[in] WinHttpRequestOption option,
[in] VARIANT value);
[id(DISPID_HTTPREQUEST_WAITFORRESPONSE)]
HRESULT WaitForResponse(
[in, optional] VARIANT timeout,
[out, retval] VARIANT_BOOL *succeeded);
[id(DISPID_HTTPREQUEST_ABORT)]
HRESULT Abort();
[id(DISPID_HTTPREQUEST_SETTIMEOUTS)]
HRESULT SetTimeouts(
[in] LONG resolve_timeout,
[in] LONG connect_timeout,
[in] LONG send_timeout,
[in] LONG receive_timeout);
[id(DISPID_HTTPREQUEST_SETCLIENTCERTIFICATE)]
HRESULT SetClientCertificate(
[in] BSTR certificate);
[id(DISPID_HTTPREQUEST_SETAUTOLOGONPOLICY)]
HRESULT SetAutoLogonPolicy(
[in] WinHttpRequestAutoLogonPolicy policy);
}
[
helpstring("WinHttpRequest Component version 5.1"),
threading(apartment),
progid("WinHttp.WinHttpRequest.5.1"),
uuid(2087c2f4-2cef-4953-a8ab-66779b670495)
]
coclass WinHttpRequest { interface IWinHttpRequest; }
} /* WinHttp */
|