home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c070 / 4.ddi / TOOLS.4 / TCTSRC1.EXE / BNOMOUSE.ASM < prev    next >
Encoding:
Assembly Source File  |  1989-03-31  |  2.1 KB  |  91 lines

  1. ;
  2. ; Name        mocheck, mohide, mopreclk --
  3. ;             Do-nothing stub routines to exclude mouse support.
  4. ;
  5. ; Synopses    ercode = mocheck(events,ignore,option,pfound,pvert,phoriz);
  6. ;        ercode = mohide(option);
  7. ;        ercode = mopreclk(option);
  8. ;
  9. ;        int ercode      Always returned as MO_NOLINK.
  10. ;
  11. ;        unsigned u_row      Ignored.
  12. ;        unsigned u_col      Ignored.
  13. ;        unsigned l_row      Ignored.
  14. ;        unsigned l_col      Ignored.
  15. ;
  16. ;        unsigned long events
  17. ;                  Ignored.
  18. ;        unsigned long ignore
  19. ;                  Ignored.
  20. ;        int option      Ignored.
  21. ;        unsigned long *pfound
  22. ;                  Ignored.
  23. ;        unsigned *pvert,*phoriz
  24. ;                  Ignored.
  25. ;
  26. ;        int option      Ignored.
  27. ;
  28. ; Description    These functions do nothing except return the error code
  29. ;        MO_NOLINK.  They are designed to prevent the inclusion
  30. ;        of mouse support in applications that use no mouse
  31. ;        functions directly.
  32. ;
  33. ; Rebuilding    This module is intended to be model-independent.  In the
  34. ;        BMOUSE.H header file, the functions are declared as
  35. ;        "cdecl far", forcing all calling programs to use the
  36. ;        correct calling sequence.
  37. ;
  38. ;        You can reassemble this file under any memory model and
  39. ;        link the resulting object file with any memory model.
  40. ;        We recommend that you use a small-model version of
  41. ;        COMPILER.MAC and use the same resulting .OBJ file with
  42. ;        all models.
  43. ;
  44. ; Returns    ercode          Always returned as MO_NOLINK.
  45. ;
  46. ; Version    6.00  (C)Copyright Blaise Computing Inc. 1989
  47. ;
  48.  
  49.     include beginasm.mac
  50.  
  51. MO_NOLINK    equ    -3        ; Must match BMOUSE.H.
  52.  
  53.     beginMod bnomouse
  54.  
  55. ;   MOCHECK
  56.  
  57.     beginCSeg mocheck
  58.     beginProc mocheck        ; Will exit with far RETurn.
  59.  
  60.     mov    ax,MO_NOLINK        ; Error code.
  61.     db    0cbh            ; Far return.
  62.  
  63.     endProc mocheck
  64.     endCseg mocheck
  65.  
  66. ;   MOHIDE
  67.  
  68.     beginCSeg mohide
  69.     beginProc mohide        ; Will exit with far RETurn.
  70.  
  71.     mov    ax,MO_NOLINK        ; Error code.
  72.     db    0cbh            ; Far return.
  73.  
  74.     endProc mohide
  75.     endCseg mohide
  76.  
  77. ;   MOPRECLK
  78.  
  79.     beginCSeg mopreclk
  80.     beginProc mopreclk        ; Will exit with far RETurn.
  81.  
  82.     mov    ax,MO_NOLINK        ; Error code.
  83.     db    0cbh            ; Far return.
  84.  
  85.     endProc mopreclk
  86.     endCseg mopreclk
  87.  
  88.     endMod    bnomouse
  89.  
  90.     end
  91.