[SDK] Add PsGetCurrentThreadTeb() to the DDK

This commit is contained in:
Pierre Schweitzer 2018-12-30 22:47:36 +01:00
parent abb6fd83a4
commit 1a93d83f92
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 9 additions and 1 deletions

View file

@ -780,7 +780,7 @@ PsGetThreadTeb(IN PETHREAD Thread)
/*
* @implemented
*/
PTEB
PVOID
NTAPI
PsGetCurrentThreadTeb(VOID)
{

View file

@ -327,6 +327,14 @@ PsGetThreadProcessId(
IN PETHREAD Thread);
#endif /* (NTDDI_VERSION >= NTDDI_WS03) */
#if (NTDDI_VERSION >= NTDDI_WS03SP1)
NTKERNELAPI
PVOID
NTAPI
PsGetCurrentThreadTeb(
VOID);
#endif /* (NTDDI_VERSION >= NTDDI_WS03SP1) */
#if (NTDDI_VERSION >= NTDDI_VISTA)
NTKERNELAPI