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

# GetStringTypeA(3w)

## NAME

**GetStringTypeA** (KERNEL32.@)

## SYNOPSIS

BOOL GetStringTypeA\
  (\
   LCID   *locale*,\
   DWORD  *type*,\
   LPCSTR *src*,\
   INT    *count*,\
   LPWORD *chartype*\
  )

## DESCRIPTION

Get characteristics of the characters making up a string.

## PARAMS

*locale* **\[In\]**  Locale Id for the string.

*type* **\[In\]**  **CT\_CTYPE1** = classification, **CT\_CTYPE2** = directionality, **CT\_CTYPE3** = typographic info.

*src* **\[In\]**  String to analyse.

*count* **\[In\]**  Length of *src* in chars, or **-1** if *src* is **NUL** terminated.

*chartype* **\[Out\]**  Destination for the calculated characteristics.

## RETURNS

**Success:** **TRUE**. *chartype* is filled with the requested characteristics of each char in *src*.

**Failure:** **FALSE**. Use **[GetLastError(3w)](/GetLastError/3w.md)** to determine the cause.

## IMPLEMENTATION

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

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

Debug channel **"nls"**.
