ReadUrlCacheEntryStream function (wininet.h)
Reads the cached data from a stream that has been opened using the RetrieveUrlCacheEntryStream function.
BOOL ReadUrlCacheEntryStream( [in] HANDLE hUrlCacheStream, [in] DWORD dwLocation, [in, out] LPVOID lpBuffer, [in, out] LPDWORD lpdwLen, [in] DWORD Reserved );
Handle that was returned by the RetrieveUrlCacheEntryStream function.
Offset to be read from.
[in, out] lpBuffer
Pointer to a buffer that receives the data.
[in, out] lpdwLen
Pointer to a variable that specifies the size of the lpBuffer buffer, in bytes. When the function returns, the variable contains the number of bytes copied to the buffer, or the required size of the buffer, in bytes.
This parameter is reserved and must be 0.
Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.
If the buffer size is not sufficient, GetLastError returns ERROR_INSUFFICIENT_BUFFER and sets lpdwLen to the size necessary to contain all the information.
Like all other aspects of the WinINet API, this function cannot be safely called from within DllMain or the constructors and destructors of global objects.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|