IEDeleteFile function

Calls the standard DeleteFile from a higher integrity user context to delete an existing file.

Syntax

BOOL IEDeleteFile(
  _In_ LPCWSTR lpFileName
);

Parameters

  • lpFileName [in]
    The name of the file to be deleted.

Return value

Returns TRUE if successful, FALSE otherwise.

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Product

Internet Explorer 8

Header

Iepmapi.h

Library

Iepmapi.lib

DLL

Ieframe.dll

See also

DeleteFile