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

21 lines
236 B
C
Raw Normal View History

2023-05-09 21:29:50 +00:00
#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;
}