> 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/wrappers-and-helpers/getcurrentthread.md).

# GetCurrentThread

Recreation of GetCurrentThread

```
HANDLE GetCurrentThreadNoForward(VOID)
{
	return ((HANDLE)(LONG_PTR)-2);
}
```
