FreeRDP
TestNtCurrentTeb.c
1
2
#include <stdio.h>
3
4
#include <winpr/nt.h>
5
6
int
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
}
winpr
libwinpr
nt
test
TestNtCurrentTeb.c
Generated by
1.9.1