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
TestLocalTime.c
1
2
#include <winpr/crt.h>
3
#include <winpr/sysinfo.h>
4
5
int
TestLocalTime(
int
argc,
char
* argv[])
6
{
7
SYSTEMTIME
lTime;
8
9
WINPR_UNUSED(argc);
10
WINPR_UNUSED(argv);
11
12
GetLocalTime(&lTime);
13
14
printf(
"GetLocalTime: wYear: %"
PRIu16
" wMonth: %"
PRIu16
" wDayOfWeek: %"
PRIu16
15
" wDay: %"
PRIu16
" wHour: %"
PRIu16
" wMinute: %"
PRIu16
" wSecond: %"
PRIu16
16
" wMilliseconds: %"
PRIu16
"\n"
,
17
lTime.wYear, lTime.wMonth, lTime.wDayOfWeek, lTime.wDay, lTime.wHour, lTime.wMinute,
18
lTime.wSecond, lTime.wMilliseconds);
19
20
return
0;
21
}
SYSTEMTIME
Definition
wtypes.h:330
winpr
libwinpr
sysinfo
test
TestLocalTime.c
Generated by
1.9.8