Update GetTEB.c
This commit is contained in:
parent
2d180d50fd
commit
22b9cfef14
|
@ -1,6 +1,3 @@
|
|||
#include <windows.h>
|
||||
#include "TEB.h"
|
||||
|
||||
PTEB GetTeb(VOID)
|
||||
{
|
||||
#if defined(_WIN64)
|
||||
|
@ -9,12 +6,3 @@ PTEB GetTeb(VOID)
|
|||
return (PTEB)__readfsdword(0x18);
|
||||
#endif
|
||||
}
|
||||
|
||||
INT main(VOID)
|
||||
{
|
||||
PTEB Teb;
|
||||
|
||||
Teb = (PTEB)GetTeb();
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue