FreeRDP
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
TestNtCurrentTeb.c
1
2#include <stdio.h>
3
4#include <winpr/nt.h>
5
6int TestNtCurrentTeb(int argc, char* argv[])
7{
8#ifndef _WIN32
9 PTEB teb = NULL;
10
11 teb = NtCurrentTeb();
12
13 if (!teb)
14 {
15 printf("NtCurrentTeb() returned NULL\n");
16 return -1;
17 }
18#endif
19
20 WINPR_UNUSED(argc);
21 WINPR_UNUSED(argv);
22
23 return 0;
24}