[1/2] wininet: Partially implement FreeUrlCacheSpaceW. (try 2)
Alexander Scott-Johns
alexander.scott.johns at googlemail.com
Thu Mar 10 10:10:14 CST 2011
On 10 March 2011 14:57, Alexandre Julliard <julliard at winehq.org> wrote:
> Alexander Scott-Johns <alexander.scott.johns at googlemail.com> writes:
>
>> @@ -1660,6 +1660,16 @@ BOOLAPI DeleteUrlCacheEntryA(LPCSTR);
>> BOOLAPI DeleteUrlCacheEntryW(LPCWSTR);
>> #define DeleteUrlCacheEntry WINELIB_NAME_AW(DeleteUrlCacheEntry)
>>
>> +/* FCS_ flags and FreeUrlCacheSpace are no longer documented */
>> +#define FCS_PERCENT_CACHE_SPACE 0 /* guessed value */
>> +#define FCS_PERCENT_DISK_SPACE 1 /* guessed value */
>> +#define FCS_ABSOLUTE_SIZE 2 /* guessed value */
>
> Where do these come from then? If you made them up they shouldn't go in
> a public header.
The names come from an old copy of the Internet SDK,
<http://web.archive.org/web/*/activex.adsp.or.jp/japanese/specs/inetsdk.htm>,
but it doesn't give the actual values. From the order they appear in
the documentation, and that native apparently uses 0 when calling
FreeUrlCacheSpace, I guessed 0 was FCS_PERCENT_CACHE_SPACE. Should I
just use a literal 0 instead?
Best regards,
Alex Scott-Johns
More information about the wine-devel
mailing list