Update GetPEBAlt.c
This commit is contained in:
parent
9425bc91fb
commit
3e9116a7fb
@ -1,6 +1,3 @@
|
|||||||
#include <windows.h>
|
|
||||||
#include "TEB.h"
|
|
||||||
|
|
||||||
PPEB GetPebAlt(VOID)
|
PPEB GetPebAlt(VOID)
|
||||||
{
|
{
|
||||||
PTEB Teb;
|
PTEB Teb;
|
||||||
@ -11,12 +8,3 @@ PPEB GetPebAlt(VOID)
|
|||||||
#endif
|
#endif
|
||||||
return (PPEB)Teb->ProcessEnvironmentBlock;
|
return (PPEB)Teb->ProcessEnvironmentBlock;
|
||||||
}
|
}
|
||||||
|
|
||||||
INT main(VOID)
|
|
||||||
{
|
|
||||||
PPEB Peb;
|
|
||||||
|
|
||||||
Peb = GetPebAlt();
|
|
||||||
|
|
||||||
return ERROR_SUCCESS;
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user