ReactOS
0.4.16-dev-2104-gb84fa49
timeb.h
Go to the documentation of this file.
1
/*
2
* Path and directory definitions
3
*
4
* Copyright 2000 Francois Gouget.
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19
*/
20
#ifndef __WINE_SYS_TIMEB_H
21
#define __WINE_SYS_TIMEB_H
22
23
#include <corecrt.h>
24
25
#include <pshpack8.h>
26
27
#ifndef _TIMEB_DEFINED
28
#define _TIMEB_DEFINED
29
struct
_timeb
30
{
31
time_t
time
;
32
unsigned
short
millitm
;
33
short
timezone
;
34
short
dstflag
;
35
};
36
struct
__timeb32
37
{
38
__time32_t
time
;
39
unsigned
short
millitm
;
40
short
timezone
;
41
short
dstflag
;
42
};
43
struct
__timeb64
44
{
45
__time64_t
time
;
46
unsigned
short
millitm
;
47
short
timezone
;
48
short
dstflag
;
49
};
50
#endif
/* _TIMEB_DEFINED */
51
52
53
#ifdef __cplusplus
54
extern
"C"
{
55
#endif
56
57
_ACRTIMP
void
__cdecl
_ftime32
(
struct
__timeb32
*);
58
_ACRTIMP
void
__cdecl
_ftime64
(
struct
__timeb64
*);
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#ifdef _USE_32BIT_TIME_T
65
static
inline
void
__cdecl
_ftime
(
struct
_timeb
*
tb
) {
_ftime32
((
struct
__timeb32
*)
tb
); }
66
#else
67
static
inline
void
__cdecl
_ftime
(
struct
_timeb
*
tb
) {
_ftime64
((
struct
__timeb64
*)
tb
); }
68
#endif
69
70
#define timeb _timeb
71
72
static
inline
void
ftime
(
struct
_timeb
*
ptr
) {
_ftime
(
ptr
); }
73
74
#include <poppack.h>
75
76
#endif
/* __WINE_SYS_TIMEB_H */
__time32_t
__msvcrt_long __time32_t
Definition:
corecrt.h:209
__cdecl
#define __cdecl
Definition:
corecrt.h:121
_ACRTIMP
#define _ACRTIMP
Definition:
corecrt.h:153
time_t
__time32_t time_t
Definition:
corecrt.h:228
_ftime32
_ACRTIMP void __cdecl _ftime32(struct __timeb32 *)
Definition:
time.c:756
_ftime64
_ACRTIMP void __cdecl _ftime64(struct __timeb64 *)
Definition:
time.c:725
ftime
static void ftime(struct _timeb *ptr)
Definition:
timeb.h:72
ptr
static PVOID ptr
Definition:
dispmode.c:27
tb
static const WCHAR tb[]
Definition:
suminfo.c:285
__time64_t
__int64 __time64_t
Definition:
corecrt.h:619
_ftime
#define _ftime
Definition:
timeb.h:62
__timeb32
Definition:
timeb.h:37
__timeb32::timezone
short timezone
Definition:
timeb.h:40
__timeb32::time
__time32_t time
Definition:
timeb.h:38
__timeb32::dstflag
short dstflag
Definition:
timeb.h:41
__timeb32::millitm
unsigned short millitm
Definition:
timeb.h:39
__timeb64
Definition:
timeb.h:44
__timeb64::timezone
short timezone
Definition:
timeb.h:47
__timeb64::dstflag
short dstflag
Definition:
timeb.h:48
__timeb64::time
__time64_t time
Definition:
timeb.h:45
__timeb64::millitm
unsigned short millitm
Definition:
timeb.h:46
_timeb
Definition:
timeb.h:30
_timeb::dstflag
short dstflag
Definition:
timeb.h:34
_timeb::time
time_t time
Definition:
timeb.h:31
_timeb::millitm
unsigned short millitm
Definition:
timeb.h:32
_timeb::timezone
short timezone
Definition:
timeb.h:33
dll
win32
msvcrt
include
sys
timeb.h
Generated on Tue Jan 6 2026 06:18:15 for ReactOS by
1.9.6