home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / warphead.zip / H / VTIMER.H < prev    next >
C/C++ Source or Header  |  1997-04-10  |  2KB  |  75 lines

  1. /***************************************************************************
  2. *
  3. * Module Name: vtimer.h
  4. *
  5. * OS/2 public header file.
  6. *
  7. * MVDM Virtual Timer Exported Definitions
  8. * Copyright (c) 1993  IBM Corporation
  9. *
  10. *****************************************************************************/
  11.  
  12. #pragma checkout( suspend )
  13.    #ifndef __CHKHDR__
  14.       #pragma checkout( suspend )
  15.    #endif
  16. #pragma checkout( resume )
  17.  
  18. #ifndef __VTIMER__
  19. #define __VTIMER__
  20.  
  21. #ifndef INCL_NONE               /* include everything by default  */
  22. #define INCL_VTIMER
  23. #endif
  24.  
  25. #ifdef  INCL_VTIMER
  26. #define INCL_VTIMERSYSREQ
  27. #define INCL_VTIMERINTERFACES
  28. #endif
  29.  
  30.  
  31.  
  32. #ifdef INCL_VTIMERSYSREQ
  33.  
  34. /***    VTIMER constants
  35.  */
  36.  
  37. #define VTIMER_NAME             "VTIMER$"
  38.  
  39. /* VTIMER functions for use by PMVDMP
  40.  */
  41. #define VTMRSYSREQ_SETACCESS    1   /* Obtain exclusive access for VDM    */
  42. #define VTMRSYSREQ_SETFOCUS     2   /* Notify VDM is gaining/losing focus */
  43. #define VTMRSYSREQ_MAX          2
  44.  
  45. /* VDMA-VTIMER communication commands */
  46.  
  47. #define VTMR_CMD_INIT       0     /* Init command to get the comm. routine    */
  48. #define VTMR_CMD_START      1     /* Start sending the interrupt notification */
  49. #define VTMR_CMD_STOP       2     /* Stop sending the interrupt notification  */
  50.  
  51. /* VWIN-VTIMER communication commands */
  52.  
  53. #define VTMR_CMD_SEAMLESS   3     /* Notification from VWIN for SEAMLESS      */
  54.  
  55. /***    VTIMER data types
  56.  */
  57.  
  58. #endif /* INCL_VTIMERSYSREQ */
  59.  
  60.  
  61. /***    VTIMER function prototypes
  62.  */
  63.  
  64. #ifdef INCL_VTIMERINTERFACES
  65.  
  66. #endif
  67.  
  68. #endif /* __VTIMER__ */
  69.  
  70. #pragma checkout( suspend )
  71.    #ifndef __CHKHDR__
  72.       #pragma checkout( resume )
  73.    #endif
  74. #pragma checkout( resume )
  75.