---
name: "GetTextCharsetInfo"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.981018-1.1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://new.carta.tech/GetTextCharsetInfo"
---

# GetTextCharsetInfo(3w)

GetTextCharsetInfo \[GDI32.381\] Gets character set for font

## NAME

GetTextCharsetInfo - GetTextCharsetInfo \[GDI32.381\]  Gets character set for font

## SYNOPSIS

**INT32 GetTextCharsetInfo**\
 **(**\
\
 	**HDC32 hdc,**\
\
 	**LPCHARSETINFO csi,**\
\
 	**DWORD flags**\
 **);**

## PARAMETERS

- **HDC32 hdc**

  \[In\]  Handle to device context.

- **LPCHARSETINFO csi**

  \[Out\] Pointer to struct to receive data.

- **DWORD flags**

  \[In\]  Reserved - must be 0.

## DESCRIPTION

GetTextCharsetInfo \[GDI32.381\]  Gets character set for font.

## RETURNS

- **Success**

  Character set identifier.

- **Failure**

  DEFAULT\_CHARSET.

## NOTES

Should csi be an LPFONTSIGNATURE instead of an LPCHARSETINFO? Should it return a UINT32 instead of an INT32?.

## SEE ALSO

[DrawTextA(3w)](/DrawTextA/3w.md), [DrawTextW(3w)](/DrawTextW/3w.md), [DrawTextExA(3w)](/DrawTextExA/3w.md), [DrawTextExW(3w)](/DrawTextExW/3w.md), [ExtTextOutA(3w)](/ExtTextOutA/3w.md), [ExtTextOutW(3w)](/ExtTextOutW/3w.md), [TextOutA(3w)](/TextOutA/3w.md), [TextOutW(3w)](/TextOutW/3w.md), [GrayStringA(3w)](/GrayStringA/3w.md), [GrayStringW(3w)](/GrayStringW/3w.md), [TabbedTextOutA(3w)](/TabbedTextOutA/3w.md), [TabbedTextOutW(3w)](/TabbedTextOutW/3w.md), [GetTabbedTextExtentA(3w)](/GetTabbedTextExtentA/3w.md), [GetTabbedTextExtentW(3w)](/GetTabbedTextExtentW/3w.md), [GetTextCharset(3w)](/GetTextCharset/3w.md)
