For the complete documentation index, see llms.txt. This page is also available as Markdown.

GetCurrentProcessIdFromTeb

DWORD GetCurrentProcessIdFromTeb(VOID)
{
	return HandleToUlong(GetTeb()->ClientId.UniqueProcess);
}

Last updated