WININET: Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW

Troy Rollo wine at troy.rollo.name
Sat Mar 19 23:42:28 CST 2005


This patch implements CreateUrlCacheEntryW and CommitUrlCacheEntryW, and makes 
the following consequential changes:

 1. Replace body of CreateUrlCacheEntryA with conversions and a call to
     CreateUrlCacheEntryW.

 2. Replace body of CommitUrlCacheEntryA with conversions and a call to
     CommitUrlCacheEntryInternal.

CommitUrlCacheEntryInternal was required because of differences between 
CommitUrlCacheEntryA and CommitUrlCacheEntryW that made it impossible for 
CommitUrlCacheEntryA to be written to call CommitUrlCacheEntryW. The 
lpHeaderInfo parameter points to an array of WCHARs in the 'W' version, and 
to binary data in the 'A' version. Consequently the parameter could not be 
converted. CommitUrlCacheEntryInternal is equivalent to CommitUrlCacheEntryW 
except that it treats the lpHeaderInfo parameter as an array of bytes. 
CommitUrlCacheEntryW then converts the argument to multi byte characters and 
calls CommitUrlCacheEntryInternal.

CommitLog:
 Implement CreateUrlCacheEntryW and CommitUrlCacheEntryW. Replace the
 existing 'A' versions with calls to the 'W' versions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wininet.diffs
Type: text/x-diff
Size: 19373 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050320/deb964ff/wininet.bin


More information about the wine-patches mailing list