schedule.h 723 B

12345678910111213141516171819202122232425262728293031323334
  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. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. #define SCHEDULE_INTERVAL 0
  12. #define SCHEDULE_BANDWIDTH 1
  13. #define SCHEDULE_PRIORITY 2
  14. typedef struct _SCHEDULE_HEADER {
  15. ULONG Type;
  16. ULONG Offset;
  17. } SCHEDULE_HEADER,*PSCHEDULE_HEADER;
  18. typedef struct _SCHEDULE {
  19. ULONG Size;
  20. ULONG Bandwidth;
  21. ULONG NumberOfSchedules;
  22. SCHEDULE_HEADER Schedules[1];
  23. } SCHEDULE,*PSCHEDULE;
  24. #define SCHEDULE_DATA_ENTRIES (7*24)
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif