FreeRDP/winpr/libwinpr/nt/test/TestNtCurrentTeb.c

21 lines
216 B
C
Raw Normal View History

2013-08-22 18:18:38 +04:00
#include <stdio.h>
#include <winpr/nt.h>
int TestNtCurrentTeb(int argc, char* argv[])
{
PTEB teb;
teb = NtCurrentTeb();
if (!teb)
{
printf("NtCurrentTeb() returned NULL\n");
return -1;
}
return 0;
}