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

# SetConsoleWindowInfo(3w)

## NAME

**SetConsoleWindowInfo** (KERNEL32.@)

## SYNOPSIS

BOOL SetConsoleWindowInfo\
  (\
   HANDLE       *hCon*,\
   BOOL         *bAbsolute*,\
   LPSMALL\_RECT *window*\
  )

## DESCRIPTION

SetConsoleWindowInfo \[**KERNEL32**.@\] Sets size and position of console.

## PARAMS

hcon **\[In\]**  Handle to console screen buffer.

*bAbsolute* **\[In\]**  Coordinate type flag.

*window* **\[In\]**  Address of new *window* rectangle.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"console"**.
