1 /** 2 * This file has no copyright assigned and is placed in the Public Domain. 3 * This file is part of the mingw-w64 runtime package. 4 * No warranty is given; refer to the file DISCLAIMER.PD within this package. 5 */ 6 #ifndef _SCHEDULE_H_ 7 #define _SCHEDULE_H_ 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 #define SCHEDULE_INTERVAL 0 14 #define SCHEDULE_BANDWIDTH 1 15 #define SCHEDULE_PRIORITY 2 16 17 typedef struct _SCHEDULE_HEADER { 18 ULONG Type; 19 ULONG Offset; 20 } SCHEDULE_HEADER,*PSCHEDULE_HEADER; 21 22 typedef struct _SCHEDULE { 23 ULONG Size; 24 ULONG Bandwidth; 25 ULONG NumberOfSchedules; 26 SCHEDULE_HEADER Schedules[1]; 27 } SCHEDULE,*PSCHEDULE; 28 29 #define SCHEDULE_DATA_ENTRIES (7*24) 30 31 #ifdef __cplusplus 32 } 33 #endif 34 #endif 35