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

# SetConsoleOutputCP(3w)

## NAME

**SetConsoleOutputCP** (KERNEL32.@)

## SYNOPSIS

BOOL SetConsoleOutputCP\
  (\
   UINT *cp*\
  )

## DESCRIPTION

SetConsoleOutputCP \[**KERNEL32**.@\] Set the output codepage used by the console.

## PARAMS

*cp* **\[In\]**  code page to set.

## RETURNS

**Success:** **TRUE**

**Failure:** **FALSE**

## IMPLEMENTATION

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

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

Debug channel **"console"**.
