📄 xtmrtsk.h
字号:
#ifndef XTMRTSK_H
#define XTMRTSK_H
/* Timer State */
#define TIMER_STOP 0
#define TIMER_RUN 1
#define TIMER_EXPIRE 2
struct timer {
struct timer *next; /* Linked-list pointer */
WORD flag; /*for auditing (0xface)*/
DWORD duration; /* Duration of timer, in ticks */
DWORD expiration; /* Clock time at expiration */
VOID (*func)(void *); /* Function to call at expiration */
VOID *arg; /* Arg to pass function */
ID taskid; /*who possess this timer*/
BYTE state; /* Timer state */
WORD mode; /* Timer Mode */
};
#endif /* XTMRTSK_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -