- Added IHttpNegotiate2 interface.

- Update BINDSTRING and IInternetSession.
This commit is contained in:
Jacek Caban 2005-09-19 14:29:16 +00:00 committed by Alexandre Julliard
parent c00ded589a
commit 976dd6c075
2 changed files with 49 additions and 3 deletions

View File

@ -92,7 +92,7 @@ static HRESULT WINAPI InternetSession_UnregisterMimeFilter(IInternetSession *ifa
static HRESULT WINAPI InternetSession_CreateBinding(IInternetSession *iface, static HRESULT WINAPI InternetSession_CreateBinding(IInternetSession *iface,
LPBC pBC, LPCWSTR szUrl, IUnknown *pUnkOuter, IUnknown **ppUnk, LPBC pBC, LPCWSTR szUrl, IUnknown *pUnkOuter, IUnknown **ppUnk,
void **ppOInetProt, DWORD dwOption) IInternetProtocol **ppOInetProt, DWORD dwOption)
{ {
FIXME("(%p %s %p %p %p %08lx)\n", pBC, debugstr_w(szUrl), pUnkOuter, ppUnk, FIXME("(%p %s %p %p %p %08lx)\n", pBC, debugstr_w(szUrl), pUnkOuter, ppUnk,
ppOInetProt, dwOption); ppOInetProt, dwOption);

View File

@ -292,6 +292,49 @@ interface IAuthenticate : IUnknown
[out] LPWSTR *pszPassword); [out] LPWSTR *pszPassword);
} }
/*****************************************************************************
* IHttpNegotiate interface
*/
[
object,
uuid(79EAC9D2-BAF9-11CE-8C82-00AA004BA90B),
pointer_default(unique)
]
interface IHttpNegotiate : IUnknown
{
typedef [unique] IHttpNegotiate *LPHTTPNEGOTIATE;
HRESULT BeginningTransaction(
[in] LPCWSTR szURL,
[in, unique] LPCWSTR szHeaders,
[in] DWORD dwReserved,
[out] LPWSTR *pszAdditionalHeaders);
HRESULT OnResponse(
[in] DWORD dwResponseCode,
[in, unique] LPCWSTR szResponseHeaders,
[in, unique] LPCWSTR szRequestHeaders,
[out] LPWSTR *pszAdditionalRequestHeaders);
}
/*****************************************************************************
* IHttpNegotiate2 interface
*/
[
object,
uuid(4F9F9FCB-E0F4-48eb-B7AB-FA2EA9365CB4),
pointer_default(unique)
]
interface IHttpNegotiate2 : IHttpNegotiate
{
typedef [unique] IHttpNegotiate2 *LPHTTPNEGOTIATE2;
HRESULT GetRootSecurityId(
[out, size_is(*pcbSecurityId)] BYTE *pbSecurityId,
[in, out] DWORD *pcbSecurityId,
[in] DWORD_PTR dwReserved);
}
/***************************************************************************** /*****************************************************************************
* IBindHost interface * IBindHost interface
*/ */
@ -490,7 +533,10 @@ interface IInternetBindInfo : IUnknown
BINDSTRING_ACCEPT_ENCODINGS, BINDSTRING_ACCEPT_ENCODINGS,
BINDSTRING_POST_COOKIE, BINDSTRING_POST_COOKIE,
BINDSTRING_POST_DATA_MIME, BINDSTRING_POST_DATA_MIME,
BINDSTRING_URL BINDSTRING_URL,
BINDSTRING_IID,
BINDSTRING_FLAG_BIND_TO_OBJECT,
BINDSTRING_PTR_BIND_CONTEXT
} BINDSTRING; } BINDSTRING;
HRESULT GetBindInfo( HRESULT GetBindInfo(
@ -777,7 +823,7 @@ interface IInternetSession : IUnknown
[in] LPCWSTR szUrl, [in] LPCWSTR szUrl,
[in] IUnknown *pUnkOuter, [in] IUnknown *pUnkOuter,
[out, unique] IUnknown **ppUnk, [out, unique] IUnknown **ppUnk,
[out, unique] /*IInternetProtocol*/ void **ppOInetProt, [out, unique] IInternetProtocol **ppOInetProt,
[in] DWORD dwOption); [in] DWORD dwOption);
HRESULT SetSessionOption( HRESULT SetSessionOption(