FreeRDP/winpr/libwinpr/nt/test/TestNtCurrentTeb.c
2021-08-24 10:45:57 +02:00

25 lines
280 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
WINPR_UNUSED(argc);
WINPR_UNUSED(argv);
return 0;
}