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

25 lines
280 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[])
{
2013-09-19 21:50:00 +04:00
#ifndef _WIN32
2013-08-22 18:18:38 +04:00
PTEB teb;
teb = NtCurrentTeb();
if (!teb)
{
printf("NtCurrentTeb() returned NULL\n");
return -1;
}
2013-09-19 21:50:00 +04:00
#endif
2021-07-29 11:18:52 +03:00
WINPR_UNUSED(argc);
WINPR_UNUSED(argv);
2013-08-22 18:18:38 +04:00
return 0;
}