home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ddkx86v5.zip / DDKX86 / SRC / DEV / DASD / DEVHELP / DHCALL8.ASM < prev    next >
Encoding:
Assembly Source File  |  1995-04-14  |  1.8 KB  |  105 lines

  1. ;*DDK*************************************************************************/
  2. ;
  3. ; COPYRIGHT    Copyright (C) 1995 IBM Corporation
  4. ;
  5. ;    The following IBM OS/2 WARP source code is provided to you solely for
  6. ;    the purpose of assisting you in your development of OS/2 WARP device
  7. ;    drivers. You may use this code in accordance with the IBM License
  8. ;    Agreement provided in the IBM Device Driver Source Kit for OS/2. This
  9. ;    Copyright statement may not be removed.;
  10. ;*****************************************************************************/
  11. ; SCCSID = %w% %e%
  12. ;**************************************************************************
  13. ;*
  14. ;* SOURCE FILE NAME = DHCALL8.ASM
  15. ;*
  16. ;* DESCRIPTIVE NAME = C callable DevHelp Interface
  17. ;*              Timer Management DevHelp Calls
  18. ;*
  19. ;*
  20. ;* VERSION = V2.0
  21. ;*
  22. ;* DATE
  23. ;*
  24. ;* DESCRIPTION :
  25. ;*
  26. ;* Purpose:
  27. ;*
  28. ;*
  29. ;*
  30. ;*
  31. ;* FUNCTIONS  :
  32. ;*
  33. ;*
  34. ;*
  35. ;*
  36. ;*
  37. ;*
  38. ;*
  39. ;* NOTES
  40. ;*
  41. ;*
  42. ;* STRUCTURES
  43. ;*
  44. ;* EXTERNAL REFERENCES
  45. ;*
  46. ;*
  47. ;*
  48. ;* EXTERNAL FUNCTIONS
  49. ;*
  50. ;* CHANGE ACTIVITY =
  51. ;*   DATE      FLAG       APAR   CHANGE DESCRIPTION
  52. ;*   --------  ----------  -----  --------------------------------------
  53. ;*   10/22/93  @V74979       74979  Change return type to USHORT
  54. ;*    2/ 5/94           78794  File broken apart
  55. ;*
  56. ;****************************************************************************
  57.  
  58.     .xlist
  59.     include dhmacs.inc
  60.     .list
  61.  
  62. ;*
  63. ;*  Timer Management
  64. ;*
  65.  
  66.  
  67. Code    segment dword public 'CODE'
  68.     assume    CS:Code,DS:_DATA
  69.  
  70. ;*
  71. ;*
  72. ;*  USHORT APIENTRY DevHlp_ResetTimer( NPFN TimerHandler );
  73. ;*
  74. ;*
  75.  
  76.     DHDef    ResetTimer
  77.     DHArgs    NPFN,     TimerHandler
  78.  
  79.     mov    ax, Stk.TimerHandler
  80.  
  81.     DHCall
  82.  
  83.     DHRet1
  84.  
  85.  
  86. ;*
  87. ;*
  88. ;*  USHORT APIENTRY DevHlp_SetTimer( NPFN TimerHandler );
  89. ;*
  90. ;*
  91.  
  92.     DHDef    SetTimer
  93.     DHArgs    NPFN,     TimerHandler
  94.  
  95.     mov    ax, Stk.TimerHandler
  96.  
  97.     DHCall
  98.  
  99.     DHRet1
  100.  
  101.  
  102.  
  103. Code    Ends
  104.     End
  105.