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

# GetConsoleTitleW(3w)

## NAME

**GetConsoleTitleW** (KERNEL32.@)

## SYNOPSIS

DWORD GetConsoleTitleW\
  (\
   LPWSTR *title*,\
   DWORD  *size*\
  )

## DESCRIPTION

GetConsoleTitleW \[**KERNEL32**.@\] Retrieves *title* string for console.

## PARAMS

*title* **\[Out\]**  Address of buffer for *title*.

*size* **\[In\]**  Size of buffer.

## RETURNS

**Success:** Length of string copied

**Failure:** **0**

## IMPLEMENTATION

Declared in **"wincon.h"**.

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

Debug channel **"console"**.
