📄 taskdsp.h
字号:
#ifndef TSKDSP_H
#define TSKDSP_H
#include <asixdef.h>
#include <sys\sysusr.h>
/* Define Task Description Control Block */
typedef struct _taskdescription
{
// struct _taskdescription *next;
// struct _taskdescription *prev;
CHAR *name; /* task name */
BYTE mode;
BYTE group; /* the group task belongs to */
const CHAR *icon; /* task's icon */
WORD stksize; /* stack size */
WORD newscreen; /* whether this task need a new screen */
//DWORD screensize; /* high word : width; low word : height */
WORD scr_w; /* the new screen width; */
WORD scr_h; /* the new screen hight; */
VOID (*entry)(); /* task's entry point */
SHORT pri; /* task's priority */
}TASKDESCRIPTION;
typedef struct _tskdesplst
{
struct _tskdesplst *next;
struct _tskdesplst *prev;
TASKDESCRIPTION *desp;
DWORD taskid;
DWORD *stack; /* pointer to the stack of this task */
}TASKDESCRIPTIONLIST;
/* PUBLIC FUNTION */
PUBLIC void SysTableInit(void);
EXTERN TASKDESCRIPTIONLIST *TaskDescription;
//__declspec( dllimport ) const TASKDESCRIPTION TaskTemplate[];
EXTERN TASKDESCRIPTION TaskTemplate[];
#endif /* TSKDSP_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -