EngDeleteFile function (winddi.h)

The EngDeleteFile function deletes a file.

Syntax

ENGAPI BOOL EngDeleteFile(
  [in] LPWSTR pwszFileName
);

Parameters

[in] pwszFileName

Pointer to a null-terminated string that contains the fully qualified name of the file to delete. An example of a fully qualified file name string is L"\??\c:\test.dat".

Return value

EngDeleteFile returns TRUE upon success. Otherwise, it returns FALSE.

Requirements

Requirement Value
Minimum supported client Available in Windows 2000 and later versions of the Windows operating systems.
Target Platform Universal
Header winddi.h (include Winddi.h)
Library Win32k.lib
DLL Win32k.sys

See also

EngMapFile