FreeRDP
Toggle main menu visibility
Main Page
Related Pages
Topics
Namespaces
Namespace List
Namespace Members
All
Functions
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
Functions
a
c
d
e
f
g
i
o
r
s
t
Variables
a
b
c
d
e
g
i
l
m
n
o
p
r
s
t
u
v
Files
File List
Globals
All
Typedefs
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Modules
Pages
Loading...
Searching...
No Matches
TestSystemTime.c
1
2
#include <winpr/crt.h>
3
#include <winpr/sysinfo.h>
4
5
int
TestSystemTime(
int
argc,
char
* argv[])
6
{
7
SYSTEMTIME
sTime;
8
9
WINPR_UNUSED(argc);
10
WINPR_UNUSED(argv);
11
12
GetSystemTime(&sTime);
13
14
printf(
"GetSystemTime: wYear: %"
PRIu16
" wMonth: %"
PRIu16
" wDayOfWeek: %"
PRIu16
15
" wDay: %"
PRIu16
" wHour: %"
PRIu16
" wMinute: %"
PRIu16
" wSecond: %"
PRIu16
16
" wMilliseconds: %"
PRIu16
"\n"
,
17
sTime.wYear, sTime.wMonth, sTime.wDayOfWeek, sTime.wDay, sTime.wHour, sTime.wMinute,
18
sTime.wSecond, sTime.wMilliseconds);
19
20
return
0;
21
}
SYSTEMTIME
Definition
wtypes.h:330
winpr
libwinpr
sysinfo
test
TestSystemTime.c
Generated by
1.9.8