revert between 56095 -> 55830 in arch
[AROS.git] / arch / all-mingw32 / battclock / battclock_intern.h
blobf80c5776cac78145c5b216160b0c9a7f77a982e8
1 /*
2 Copyright 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Internal data structures for Windows-hosted battclock.resource
6 Lang: english
7 */
9 #ifndef BATTCLOCK_INTERN_H
10 #define BATTCLOCK_INTERN_H
12 #include <exec/libraries.h>
14 #ifdef __x86_64__
15 #define __stdcall __attribute__((ms_abi))
16 #else
17 #define __stdcall __attribute__((stdcall))
18 #endif
20 typedef struct _SYSTEMTIME
22 UWORD wYear;
23 UWORD wMonth;
24 UWORD wDayOfWeek;
25 UWORD wDay;
26 UWORD wHour;
27 UWORD wMinute;
28 UWORD wSecond;
29 UWORD wMilliseconds;
30 } SYSTEMTIME, *PSYSTEMTIME;
32 struct KernelInterface
34 void __stdcall (*GetSystemTime)(SYSTEMTIME *lpSystemTime);
35 ULONG __stdcall (*SetSystemTime)(SYSTEMTIME *lpSystemTime);
38 struct BattClockBase
40 struct Library bb_LibNode;
41 APTR Lib;
42 struct KernelInterface *KernelIFace;
45 #endif //BATTCLOCK_INTERN_H