> For the complete documentation index, see [llms.txt](https://malwaresourcecode.com/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://malwaresourcecode.com/home/fingerprinting/peb-teb-related/getcurrentlocalefromteb.md).

# GetCurrentLocaleFromTeb

```
LCID GetCurrentLocaleFromTeb(VOID)
{
	PTEB Teb = (PTEB)GetTeb();

	return (LCID)Teb->CurrentLocale;
}

```
