---
name: "DeleteFileW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/DeleteFileW"
---

# DeleteFileW(3w)

## NAME

**DeleteFileW** (KERNEL32.@)

## SYNOPSIS

BOOL DeleteFileW\
  (\
   LPCWSTR *path*\
  )

## DESCRIPTION

Delete a file.

## PARAMS

*path* **\[In\]**  Path to the file to delete.

## RETURNS

**Success:** **TRUE**.

**Failure:** **FALSE**, check **[GetLastError(3w)](/GetLastError/3w.md)**.

## IMPLEMENTATION

Declared in **"winbase.h"**.

Implemented in **"dlls/kernel32/file.c"**.

Debug channel **"file"**.
