Export (0) Print
Expand All
Expand Minimize
1 out of 2 rated this helpful - Rate this topic

Win32DeleteFile function

[Win32DeleteFile is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Deletes a file.

Syntax


BOOL Win32DeleteFile(
  _In_  PCWSTR pszFileName
);

Parameters

pszFileName [in]

Type: PCWSTR

A pointer to a buffer that contains the full name of the file to delete.

Return value

Type: BOOL

TRUE if the file was successfully deleted; otherwise FALSE.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

DLL

Shell32.dll

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.