📄 timer.h
字号:
//// $Id: timer.h,v 1.3 2000/06/20 01:36:29 weiym Exp $//// tiemr.h: the head file of Timer module.//// Copyright (c) 1999, Wei Yongming.//// Create date: 1999/4/21//#ifndef GUI_TIMER_H #define GUI_TIMER_H#ifdef __cplusplusextern "C" {#endif /* __cplusplus */#define MAX_TIMERS 16typedef struct _timer { HWND hWnd; int id; int speed; int count;}TIMER;typedef TIMER* PTIMER;BOOL InitTimer (void);BOOL TerminateTimer (void);BOOL AddTimer (HWND hWnd, int id, int speed);BOOL RemoveTimer (HWND hWnd, int id);BOOL IsTimerInstalled (HWND hWnd, int id);void DispatchTimerMessage (void);#ifdef __cplusplus}#endif /* __cplusplus */#endif /* GUI_TIMER_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -