Implemented CreateUrlCacheEntryW and DeleteUrlCacheEntryW
Alexandre Julliard
julliard at winehq.org
Thu Dec 23 14:19:22 CST 2004
Robert Shearman <rob at codeweavers.com> writes:
> The strncpyW function exists for a reason. Also, it is better to use
> strlenW than lstrlenW.
Actually strncpy(W) is almost always the wrong thing to use. If you
want to copy a fixed length (like in that case) memcpy is a much
better choice; if you want to copy and possibly truncate a string
lstrcpynA/W is preferable.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list