FreeRDP/winpr/libwinpr/nt/test/TestNtCurrentTeb.c
2013-09-19 13:50:00 -04:00

22 lines
237 B
C

#include <stdio.h>
#include <winpr/nt.h>
int TestNtCurrentTeb(int argc, char* argv[])
{
#ifndef _WIN32
PTEB teb;
teb = NtCurrentTeb();
if (!teb)
{
printf("NtCurrentTeb() returned NULL\n");
return -1;
}
#endif
return 0;
}