wdt_tim_api.h
上传用户:sunhongbo
上传日期:2022-01-25
资源大小:3010k
文件大小:1k
源码类别:

数据库系统

开发平台:

C/C++

  1. /*===============================================================================
  2.  File Name:wdt_tim_api.h
  3.  Author:szhy
  4.  Create Time:2007-8-14
  5.  
  6.  Description:timer control
  7.  Class Name:"TIM"
  8.  History:
  9. ===============================================================================*/
  10. #ifndef __WDT_TIM_API_H_
  11. #define __WDT_TIM_API_H_
  12. /*-------------------------------------------------------------------------------
  13. Macro Define
  14. -------------------------------------------------------------------------------*/
  15. #define DEF_TIM(lpClassName,ID,parentID,period,bPlay) 
  16. lpClassName,0,0,0,0,ID,parentID,STYLE_NULL,STYLE_NULL,STYLE_NULL,0,0,period,bPlay,0,0,
  17. #define DEF_TIM_EVE(ID,lpOnTimer) ID,0,0,0,0,lpOnTimer,
  18. /*-------------------------------------------------------------------------------
  19. Constant Define
  20. -------------------------------------------------------------------------------*/
  21. #define WDT_TIM_SV_PLAY 1
  22. #define WDT_TIM_SV_STOP 2
  23. #define WDT_TIM_SV_PERIOD 3
  24. #define WDT_TIM_SV_REPLAY 4
  25. #define WDT_TIM_SV_CYCLE 5
  26. /*-------------------------------------------------------------------------------
  27. Function Declare
  28. -------------------------------------------------------------------------------*/
  29. void WDT_TIM_API_Register(void);
  30. PU08 WDT_TIM_API_GetVersion(void);
  31. #endif