timer.h

来自「在ecos 下mingui 的移植开发」· C头文件 代码 · 共 42 行

H
42
字号
//// $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 + =
减小字号Ctrl + -
显示快捷键?