v4k-git-backup/tools/tcc-winapi/winapi/schedule.h

35 lines
720 B
C
Raw Normal View History

/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the w64 mingw-runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef _SCHEDULE_H_
#define _SCHEDULE_H_
#ifdef __cplusplus
extern "C" {
#endif
#define SCHEDULE_INTERVAL 0
#define SCHEDULE_BANDWIDTH 1
#define SCHEDULE_PRIORITY 2
typedef struct _SCHEDULE_HEADER {
ULONG Type;
ULONG Offset;
} SCHEDULE_HEADER,*PSCHEDULE_HEADER;
typedef struct _SCHEDULE {
ULONG Size;
ULONG Bandwidth;
ULONG NumberOfSchedules;
SCHEDULE_HEADER Schedules[1];
} SCHEDULE,*PSCHEDULE;
#define SCHEDULE_DATA_ENTRIES (7*24)
#ifdef __cplusplus
}
#endif
#endif