---
name: "GetTextCharsetInfo"
section: "3w"
platform: "linux"
package: "wine-doc"
version: "0.0.981018-1.1"
release: "Debian 2.1 (Slink)"
platforms: ["linux"]
url: "https://carta.tech/man/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)](/man/DrawTextA/3w.md), [DrawTextW(3w)](/man/DrawTextW/3w.md), [DrawTextExA(3w)](/man/DrawTextExA/3w.md), [DrawTextExW(3w)](/man/DrawTextExW/3w.md), [ExtTextOutA(3w)](/man/ExtTextOutA/3w.md), [ExtTextOutW(3w)](/man/ExtTextOutW/3w.md), [TextOutA(3w)](/man/TextOutA/3w.md), [TextOutW(3w)](/man/TextOutW/3w.md), [GrayStringA(3w)](/man/GrayStringA/3w.md), [GrayStringW(3w)](/man/GrayStringW/3w.md), [TabbedTextOutA(3w)](/man/TabbedTextOutA/3w.md), [TabbedTextOutW(3w)](/man/TabbedTextOutW/3w.md), [GetTabbedTextExtentA(3w)](/man/GetTabbedTextExtentA/3w.md), [GetTabbedTextExtentW(3w)](/man/GetTabbedTextExtentW/3w.md), [GetTextCharset(3w)](/man/GetTextCharset/3w.md)
