ReadUrlCacheEntryStreamReadUrlCacheEntryStream*
*



Contents  *



Index  *Topic Contents
*Previous Topic: GetUrlCacheEntryInfoEx
*Next Topic: RetrieveUrlCacheEntryFile

ReadUrlCacheEntryStream

BOOL ReadUrlCacheEntryStream(
    IN HANDLE hUrlCacheStream,
    IN  DWORD dwLocation,
    IN OUT LPVOID lpBuffer,
    IN OUT LPDWORD lpdwLen,
    IN DWORD dwReserved
    );

Reads the cached data from a stream that has been opened using the RetrieveUrlCacheEntryStream function.

hUrlCacheStream
Handle that was returned by the RetrieveUrlCacheEntryStream function.
dwLocation
Offset to read from.
lpBuffer
Address of a buffer that receives the data.
lpdwLen
Address of a variable that specifies the length of the lpBuffer buffer. When the function returns, the variable contains the number of bytes copied to the buffer, or the required size of the buffer.
dwReserved
Reserved; must be zero.

If the buffer size is not sufficient, GetLastError returns ERROR_INSUFFICIENT_BUFFER, and sets lpdwLen to the size necessary to contain all the information.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.