UnlockUrlCacheEntryStream function (wininet.h)

Closes the stream that has been retrieved using the RetrieveUrlCacheEntryStream function.


BOOL UnlockUrlCacheEntryStream(
  [in] HANDLE hUrlCacheStream,
  [in] DWORD  Reserved


[in] hUrlCacheStream

Handle that was returned by the RetrieveUrlCacheEntryStream function.

[in] Reserved

This parameter is reserved and must be NULL.

Return value

Returns TRUE if successful, or FALSE otherwise. To get extended error information, call GetLastError.


Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).


Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wininet.h
Library Wininet.lib
DLL Wininet.dll

See also


WinINet Functions