URLMON: Implement URLMonikerImpl_BindToStorage (Repost)

Troy Rollo wine at troy.rollo.name
Sat Apr 2 22:46:28 CST 2005


(This patch varies from the earlier one by:
 - removing casts of return value of HeapAlloc
 - changing tabs to spaces in new code
)

The URLMonikerImpl_BindToStorage method describes itself as a stub, and 
doesn't implement several important parts of the BindToStorage method. This 
patch adds the following:

 1. Support for URIs in the "ftp:", "https:", "file:" and "gopher:" schemes
     (gopher doesn't work yet though due to lack of implementation in
     wininet).
 2. Support for URIs with backslashes where there should be slashes.
 3. Support for a port specified in the URI.
 4. Downloading of the file to the Internet cache and reporting of the
     cache file name.
 5. An IStream implementation that returns E_PENDING at end of file
     unless it has been told the writer is done.
 6. Support for user names and passwords specified in the URI.
 7. More consistent checking of return codes from its dependent
    functions.

With this patch, the only obvious thing that is not implemented is 
asynchronous retrieval, although there has also been some reorganisation 
designed to make this easier to implement.

ChangeLog:
 Implement URLMonikerImpl_BindToStorage
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urlmon.diffs
Type: text/x-diff
Size: 33661 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050403/70d89d85/urlmon.bin


More information about the wine-patches mailing list