---
name: "GetTextCharset"
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/GetTextCharset"
---

# GetTextCharset(3w)

GetTextCharset32 \[GDI32.226\] Gets character set for font in DC

## NAME

GetTextCharset - GetTextCharset32 \[GDI32.226\]  Gets character set for font in DC

## SYNOPSIS

**INT32 GetTextCharset(HDC32 hdc);**

## PARAMETERS

- **HDC32 hdc**

  \[In\] Handle to device context.

## DESCRIPTION

GetTextCharset32 \[GDI32.226\]  Gets character set for font in DC.

## RETURNS

- **Success**

  Character set identifier.

- **Failure**

  DEFAULT\_CHARSET.

## NOTES

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), [GetTextCharsetInfo(3w)](/man/GetTextCharsetInfo/3w.md)
