---
name: "GetTextCharset"
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/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)](/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), [GetTextCharsetInfo(3w)](/GetTextCharsetInfo/3w.md)
