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

# GetFileTitleW(3w)

## NAME

**GetFileTitleW** (COMDLG32.@)

## SYNOPSIS

short GetFileTitleW\
  (\
   LPCWSTR *lpFile*,\
   LPWSTR  *lpTitle*,\
   WORD    *cbBuf*\
  )

## DESCRIPTION

Get the name of a file.

## PARAMS

*lpFile* **\[In\]**  name and location of file.

*lpTitle* **\[Out\]**  returned file name.

*cbBuf* **\[In\]**  buffer size of *lpTitle*.

## RETURNS

**Success:** zero

**Failure:** negative number.

## IMPLEMENTATION

Declared in **"commdlg.h"**.

Implemented in **"dlls/comdlg32/filedlg.c"**.

Debug channel **"commdlg"**.
