ReactOS 0.4.16-dev-2122-g1628f5e
timeb.h
Go to the documentation of this file.
1
6#ifndef _INC_TIMEB
7#define _INC_TIMEB
8
9#include <crtdefs.h>
10
11#ifndef _WIN32
12#error Only Win32 target is supported!
13#endif
14
15#pragma pack(push,_CRT_PACKING)
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
21#ifndef _TIMEB_DEFINED
22#define _TIMEB_DEFINED
23
24 struct _timeb {
26 unsigned short millitm;
27 short timezone;
28 short dstflag;
29 };
30
31 struct __timeb32 {
33 unsigned short millitm;
34 short timezone;
35 short dstflag;
36 };
37
38#ifndef NO_OLDNAMES
39 struct timeb {
41 unsigned short millitm;
42 short timezone;
43 short dstflag;
44 };
45#endif
46
47#if _INTEGRAL_MAX_BITS >= 64
48 struct __timeb64 {
50 unsigned short millitm;
51 short timezone;
52 short dstflag;
53 };
54#endif
55
56#endif /* !_TIMEB_DEFINED */
57
59 void
62 _Out_ struct _timeb *_Time);
63
66 void
69 _Out_ struct __timeb32 *_Time);
70
75 _Out_ struct __timeb32 *_Time);
76
77#if _INTEGRAL_MAX_BITS >= 64
78
81 void
84 _Out_ struct __timeb64 *_Time);
85
90 _Out_ struct __timeb64 *_Time);
91
92#endif /* _INTEGRAL_MAX_BITS >= 64 */
93
94#ifndef NO_OLDNAMES
95#if !defined (RC_INVOKED)
96__CRT_INLINE void __cdecl ftime(struct timeb *_Tmb) {
97 _ftime((struct _timeb *)_Tmb);
98}
99#endif
100#endif
101
102#ifdef __cplusplus
103}
104#endif
105
106#pragma pack(pop)
107
108#include <sec_api/sys/timeb_s.h>
109
110#endif /* !_INC_TIMEB */
__msvcrt_long __time32_t
Definition: corecrt.h:209
int errno_t
Definition: corecrt.h:249
#define __cdecl
Definition: corecrt.h:121
__time32_t time_t
Definition: corecrt.h:228
_ACRTIMP void __cdecl _ftime32(struct __timeb32 *)
Definition: time.c:756
_ACRTIMP void __cdecl _ftime64(struct __timeb64 *)
Definition: time.c:725
static void ftime(struct _timeb *ptr)
Definition: timeb.h:72
int CDECL _ftime64_s(struct __timeb64 *buf)
Definition: time.c:746
__u16 time
Definition: mkdosfs.c:8
#define _Out_
Definition: no_sal2.h:160
_CRTIMP errno_t __cdecl _ftime32_s(_Out_ struct __timeb32 *_Time)
_In_ size_t _In_ const __time32_t * _Time
Definition: time.h:192
__int64 __time64_t
Definition: corecrt.h:619
#define _ftime
Definition: timeb.h:62
short timezone
Definition: timeb.h:40
__time32_t time
Definition: timeb.h:38
short dstflag
Definition: timeb.h:41
unsigned short millitm
Definition: timeb.h:39
short timezone
Definition: timeb.h:47
short dstflag
Definition: timeb.h:48
__time64_t time
Definition: timeb.h:45
unsigned short millitm
Definition: timeb.h:46
Definition: timeb.h:30
Definition: timeb.h:39
time_t time
Definition: timeb.h:40
short dstflag
Definition: timeb.h:43
short timezone
Definition: timeb.h:42
unsigned short millitm
Definition: timeb.h:41
Definition: fake.h:14
#define _CRT_INSECURE_DEPRECATE(_Replacement)
Definition: vcruntime.h:99
#define _CRTIMP
Definition: vcruntime.h:54