IWinInetFileStream::SetDeleteFile method

Indicates that the cache entry is to be deleted when the object is destroyed.

Syntax

HRESULT SetDeleteFile(
  [in] DWORD_PTR dwReserved
);

Parameters

  • dwReserved [in]
    Reserved. Must be set to 0.

Return value

Returns one of the following values.

Return code Description
S_OK

Success.

E_NOTIMPL

The method has not been implemented.

 

Remarks

SetDeleteFile was introduced in Windows Internet Explorer 7.

If set, the file is deleted with DeleteUrlCacheEntry when the object instance is destroyed.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 7

Header

Urlmon.h

IDL

Urlmon.idl

DLL

Urlmon.dll

See also

IWinInetFileStream