home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / detk45he.zip / VTIMER.H < prev    next >
C/C++ Source or Header  |  1999-03-15  |  2KB  |  83 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. /* NOINC */
  13. #if __IBMC__ || __IBMCPP__
  14.    #pragma info( none )
  15.       #ifndef __CHKHDR__
  16.          #pragma info( none )
  17.       #endif
  18.    #pragma info( restore )
  19. #endif
  20. /* INC */
  21.  
  22. #ifndef __VTIMER__
  23. #define __VTIMER__
  24.  
  25. #ifndef INCL_NONE               /* include everything by default  */
  26. #define INCL_VTIMER
  27. #endif
  28.  
  29. #ifdef  INCL_VTIMER
  30. #define INCL_VTIMERSYSREQ
  31. #define INCL_VTIMERINTERFACES
  32. #endif
  33.  
  34.  
  35.  
  36. #ifdef INCL_VTIMERSYSREQ
  37.  
  38. /***    VTIMER constants
  39.  */
  40.  
  41. #define VTIMER_NAME             "VTIMER$"
  42.  
  43. /* VTIMER functions for use by PMVDMP
  44.  */
  45. #define VTMRSYSREQ_SETACCESS    1   /* Obtain exclusive access for VDM    */
  46. #define VTMRSYSREQ_SETFOCUS     2   /* Notify VDM is gaining/losing focus */
  47. #define VTMRSYSREQ_MAX          2
  48.  
  49. /* VDMA-VTIMER communication commands */
  50.  
  51. #define VTMR_CMD_INIT       0     /* Init command to get the comm. routine    */
  52. #define VTMR_CMD_START      1     /* Start sending the interrupt notification */
  53. #define VTMR_CMD_STOP       2     /* Stop sending the interrupt notification  */
  54.  
  55. /* VWIN-VTIMER communication commands */
  56.  
  57. #define VTMR_CMD_SEAMLESS   3     /* Notification from VWIN for SEAMLESS      */
  58.  
  59. /***    VTIMER data types
  60.  */
  61.  
  62. #endif /* INCL_VTIMERSYSREQ */
  63.  
  64.  
  65. /***    VTIMER function prototypes
  66.  */
  67.  
  68. #ifdef INCL_VTIMERINTERFACES
  69.  
  70. #endif
  71.  
  72. #endif /* __VTIMER__ */
  73.  
  74. /* NOINC */
  75. #if __IBMC__ || __IBMCPP__
  76.    #pragma info( none )
  77.       #ifndef __CHKHDR__
  78.          #pragma info( restore )
  79.       #endif
  80.    #pragma info( restore )
  81. #endif
  82. /* INC */
  83.