home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR4 / ZWDOS.ZIP / ZAPI.H < prev    next >
Text File  |  1993-03-02  |  1KB  |  43 lines

  1.  
  2.  
  3. /* ZWDOS API Header File for "C" */
  4.  
  5.  
  6. /* function prototypes */
  7. /* (see ZAPI.C for more info about these routines) */
  8.  
  9. int zw_query (void);        /* return 1 if zwdos loaded, 0 otherwise */
  10. int zw_version (void);        /* return ZWDOS version AH=major, AL=minor */
  11. void zw_set_cc_mode (void);    /* set screen to Chinese mode */
  12. void zw_set_asc_mode (void);    /* set screen to ASCII mode */
  13. void zw_soft_flush (void);    /* soft flush screen */ 
  14. void zw_hard_flush (void);    /* hard flush screen */
  15. void zw_putc_cc (int row, int col, int color, int byte1, int byte2);
  16.                 /* put chinese char on scrn */
  17. void zw_putc_asc (int row, int col, int color, int chr);   
  18.                 /* puts ascii char on screen */
  19. void zw_puts_cc (int row, int col, int color, char *s);
  20.                 /* puts chinese string on screen */
  21. void zw_puts_asc (int row, int col, int color, char *s);
  22.                 /* puts ascii string on screen */
  23. void zw_puts_mixed (int row, int col, int attribute, char *s); 
  24.                 /* puts mix string on screen */ 
  25.  
  26.  
  27.  
  28. #define ZWAPI_MPX_N    0xE6A7
  29.  
  30. #define ZWF_QUERYZW    0x0000
  31. #define ZWF_GETZWVER    0x0001
  32. #define ZWF_SET_CC    0x0002
  33. #define ZWF_SET_ASC    0x0003
  34. #define ZWF_WRT_CC    0x0004
  35. #define ZWF_WRT_ASC    0x0005
  36. #define ZWF_SOFT_FLUSH    0x0006
  37. #define ZWF_HARD_FLUSH    0x0007
  38. #define ZWF_GET_CCMODE    0x0008
  39. #define ZWF_REST_SWITCH    0x0009
  40. #define ZWF_GET_CCFONT    0x000A
  41. #define ZWF_DELZWDOS    0x49A1
  42.  
  43.