[PATCH 7/7] urlmon: Wrap IHttpNegotiate2 interface exposed by IBindStatusCallback as done by native.

Misha Koshelev mk144210 at bcm.edu
Mon Jul 23 20:35:53 CDT 2007


Seems odd to do this but several apps including Vector NTI and even Microsoft's own POSTMON example
depend on pszAdditionalHeaders being non-NULL when called as part of IBindStatusCallback (if it is
NULL the OnResponse functions return E_POINTER and the URL moniker does not continue) but NULL
when called directly from IInternetProtocol. Additionally, I double-checked on my own that the
bind flags do not influence this (they don't, IInternetProtocol still passes NULL on the exact
same URL with exact same bind flags), and also hacked up a simple emulated http test just to double
check that the pointer returned from IBindStatusCallback_QueryInterface for IHttpNegotiate on native
does not match the IHttpNegotiate that we are exposing to it, which to me very strongly suggests that
native does the same thing.
---
 dlls/urlmon/binding.c |  159 +++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 128 insertions(+), 31 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9727bf10cbf24cf3d4956568efae4a9efe41c418.diff
Type: text/x-patch
Size: 10003 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070723/ff27b784/9727bf10cbf24cf3d4956568efae4a9efe41c418-0001.bin


More information about the wine-patches mailing list