56 *
ppv = &
This->IAuthenticate_iface;
59 *
ppv = &
This->IHttpNegotiate_iface;
62 *
ppv = &
This->IExtensionServices_iface;
115 return IUnknown_QueryInterface(
This->outer_unk,
riid,
ppv);
121 return IUnknown_AddRef(
This->outer_unk);
127 return IUnknown_Release(
This->outer_unk);
135 TRACE(
"(%p)->(%p %p %p)\n",
This, phwnd, pszUsername, pszPassword);
137 if(!phwnd || !pszUsername || !pszPassword)
162 return IUnknown_QueryInterface(
This->outer_unk,
riid,
ppv);
168 return IUnknown_AddRef(
This->outer_unk);
174 return IUnknown_Release(
This->outer_unk);
183 pszAdditionalHeaders);
185 if(!pszAdditionalHeaders)
198 debugstr_w(szRequestHeaders), pszAdditionalRequestHeaders);
200 *pszAdditionalRequestHeaders =
NULL;
220 return IUnknown_QueryInterface(
This->outer_unk,
riid,
ppv);
226 return IUnknown_AddRef(
This->outer_unk);
232 return IUnknown_Release(
This->outer_unk);
242 if (!pwzAdditionalHeaders)
247 if(
len && pwzAdditionalHeaders[
len-1] !=
'\n' && pwzAdditionalHeaders[
len-1] !=
'\r') {
248 static const WCHAR endlW[] = {
'\r',
'\n',0};
327 ret->outer_unk = &
ret->IUnknown_inner;
329 IUnknown_Release(&
ret->IUnknown_inner);
331 ret->outer_unk = punkOuter;
332 *
ppv = &
ret->IUnknown_inner;
334 IUnknown_Release(&
ret->IUnknown_inner);
static void * heap_alloc(size_t len)
static BOOL heap_free(void *mem)
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static HRESULT WINAPI ExtServ_SetAdditionalHeaders(IExtensionServices *iface, LPCWSTR pwzAdditionalHeaders)
static HRESULT WINAPI Authenticate_QueryInterface(IAuthenticate *iface, REFIID riid, void **ppv)
static ExtensionService * impl_from_IUnknown(IUnknown *iface)
static ULONG WINAPI ExtServ_Release(IExtensionServices *iface)
static HRESULT WINAPI ExtServ_QueryInterface(IExtensionServices *iface, REFIID riid, void **ppv)
static ULONG WINAPI HttpNegotiate_AddRef(IHttpNegotiate *iface)
static HRESULT ExtServ_ImplSetAuthenticateData(ExtensionService *This, HWND phwnd, LPCWSTR pwzUsername, LPCWSTR pwzPassword)
static HRESULT WINAPI ExtServ_SetAuthenticateData(IExtensionServices *iface, HWND phwnd, LPCWSTR pwzUsername, LPCWSTR pwzPassword)
static ExtensionService * impl_from_IHttpNegotiate(IHttpNegotiate *iface)
static ExtensionService * impl_from_IExtensionServices(IExtensionServices *iface)
static ULONG WINAPI ExtServ_AddRef(IExtensionServices *iface)
static const IUnknownVtbl ExtServUnkVtbl
static HRESULT WINAPI HttpNegotiate_BeginningTransaction(IHttpNegotiate *iface, LPCWSTR szURL, LPCWSTR szHeaders, DWORD dwReserved, LPWSTR *pszAdditionalHeaders)
static HRESULT ExtServ_ImplSetAdditionalHeaders(ExtensionService *This, LPCWSTR pwzAdditionalHeaders)
static ULONG WINAPI Authenticate_AddRef(IAuthenticate *iface)
static ULONG WINAPI ExtServUnk_Release(IUnknown *iface)
static ULONG WINAPI HttpNegotiate_Release(IHttpNegotiate *iface)
static const IExtensionServicesVtbl ExtServVtbl
static HRESULT WINAPI HttpNegotiate_OnResponse(IHttpNegotiate *iface, DWORD dwResponseCode, LPCWSTR szResponseHeaders, LPCWSTR szRequestHeaders, LPWSTR *pszAdditionalRequestHeaders)
static HRESULT WINAPI HttpNegotiate_QueryInterface(IHttpNegotiate *iface, REFIID riid, void **ppv)
static const IHttpNegotiateVtbl HttpNegotiateVtbl
static const IAuthenticateVtbl AuthenticateVtbl
static ExtensionService * impl_from_IAuthenticate(IAuthenticate *iface)
static HRESULT WINAPI ExtServUnk_QueryInterface(IUnknown *iface, REFIID riid, void **ppv)
static HRESULT WINAPI Authenticate_Authenticate(IAuthenticate *iface, HWND *phwnd, LPWSTR *pszUsername, LPWSTR *pszPassword)
static ULONG WINAPI Authenticate_Release(IAuthenticate *iface)
static ULONG WINAPI ExtServUnk_AddRef(IUnknown *iface)
HRESULT WINAPI HlinkCreateExtensionServices(LPCWSTR pwzAdditionalHeaders, HWND phwnd, LPCWSTR pszUsername, LPCWSTR pszPassword, IUnknown *punkOuter, REFIID riid, void **ppv)
static LPWSTR hlink_strdupW(LPCWSTR str)
static LPWSTR hlink_co_strdupW(LPCWSTR str)
#define memcpy(s1, s2, n)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
#define IsEqualGUID(rguid1, rguid2)
IAuthenticate IAuthenticate_iface
IExtensionServices IExtensionServices_iface
IHttpNegotiate IHttpNegotiate_iface
#define CONTAINING_RECORD(address, type, field)