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

# GetConsoleWindow(3w)

## NAME

**GetConsoleWindow** (KERNEL32.@)

## SYNOPSIS

HWND GetConsoleWindow\
  (\
  )

## DESCRIPTION

GetConsoleWindow \[**KERNEL32**.@\] Get hwnd of the console window.

## RETURNS

**Success:** hwnd of the console window.

**Failure:** **NULL**

## IMPLEMENTATION

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

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

Debug channel **"console"**.
