EngDeleteFile function

The EngDeleteFile function deletes a file.

Syntax


BOOL EngDeleteFile(
  _In_ LPWSTR pwszFileName
);

Parameters

pwszFileName [in]

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

Target platform

Universal

Version

Available in Windows 2000 and later versions of the Windows operating systems.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

See also

EngMapFile

 

 

Send comments about this topic to Microsoft

Show: