home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / PRO2.ZIP / VS.MT < prev    next >
Text File  |  1989-01-02  |  2KB  |  24 lines

  1. extern unsigned EXPORT RetClrSem(unsigned);
  2.  
  3. #define REQ                                        DosSemRequest(wpsemsys,2000L)
  4. #define CLR                                        DosSemClear(wpsemsys)
  5. #ifdef MT
  6. #define    vs_insrow(a,b,c,d,e,f,g,h,i)            (REQ,(int)RetClrSem((int)vs_insrow(a,b,c,d,e,f,g,h,i)))
  7. #define    vs_inscolumn(a,b,c,d,e,f,g,h,i)            (REQ,(int)RetClrSem((int)vs_inscolumn(a,b,c,d,e,f,g,h,i)))
  8. #define    vs_delcolumn(a,b,c,d,e,f,g,h,i)            (REQ,(int)RetClrSem((int)vs_delcolumn(a,b,c,d,e,f,g,h,i)))
  9. #define    vs_delrow(a,b,c,d,e,f,g,h,i)            (REQ,(int)RetClrSem((int)vs_delrow(a,b,c,d,e,f,g,h,i)))
  10. #define    vs_fill(a,b,c,d,e,f,g,h,i,j)            (REQ,(int)RetClrSem((int)vs_fill(a,b,c,d,e,f,g,h,i,j)))
  11. #define    vs_puts(a,b,c,d,e,f,g,h)                (REQ,(int)RetClrSem((int)vs_puts(a,b,c,d,e,f,g,h)))
  12. #define    vs_locatecur(a,b,c,d)                    (REQ,(int)RetClrSem((int)vs_locatecur(a,b,c,d)))
  13. #define    vs_clreol(a,b,c,d)                        (REQ,(int)RetClrSem((int)vs_clreol(a,b,c,d)))
  14. #define    vs_clrbol(a,b,c,d)                        (REQ,(int)RetClrSem((int)vs_clrbol(a,b,c,d)))
  15. #define    vs_clrtoend(a,b,c,d)                    (REQ,(int)RetClrSem((int)vs_clrtoend(a,b,c,d)))
  16. #define    vs_clrvs(a,b,c,d)                        (REQ,(int)RetClrSem((int)vs_clrvs(a,b,c,d)))
  17. #define vs_putc(a,b,c,d,e,f,g)                    (REQ,(int)RetClrSem((int)vs_putc(a,b,c,d,e,f,g)))
  18. #define    vs_gets(a,b,c,d,e,f,g)                    (REQ,(int)RetClrSem((int)vs_gets(a,b,c,d,e,f,g)))
  19. #define    vs_fillattr(a,b,c,d,e,f,g,h)            (REQ,(int)RetClrSem((int)vs_fillattr(a,b,c,d,e,f,g,h)))
  20. #define    vs_format(a,b,c,d,e)                    (REQ,(int)RetClrSem((int)vs_format(a,b,c,d,e)))
  21. #define    vs_drawbox(a,b,c,d,e,f,g,h,i,j)            {REQ,vs_drawbox(a,b,c,d,e,f,g,h,i,j),CLR}
  22. #define    vs_putscenter(a,b,c,d,e,f)                (REQ,(int)RetClrSem((int)vs_putscenter(a,b,c,d,e,f)))
  23. #endif
  24.