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

# GetCPInfo(3w)

## NAME

**GetCPInfo** (KERNEL32.@)

## SYNOPSIS

BOOL GetCPInfo\
  (\
   UINT     *codepage*,\
   LPCPINFO *cpinfo*\
  )

## DESCRIPTION

Get information about a code page.

## PARAMS

*codepage* **\[In\]**  Code page number.

*cpinfo* **\[Out\]**  Destination for code page information.

## RETURNS

**Success:** **TRUE**. *cpinfo* is updated with the information about *codepage*.

**Failure:** **FALSE**, if *codepage* is invalid or *cpinfo* is **NULL**.

## IMPLEMENTATION

Declared in **"winnls.h"**.

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

Debug channel **"nls"**.
