Hi Jacek,
I think you can use the header I sent a while back to wine-patches for this. http://www.winehq.org/pipermail/wine-patches/2005-September/020901.html The original patch: http://www.winehq.org/pipermail/wine-patches/attachments/20050923/790dfab2/w... This might require some re-work. It was rejected at that time, when I wanted to add winhttp.dll It might be of some help to you.
Thanks, VJ