home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a024 / 1.ddi / INCLUDE.H_ / WINBASE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-17  |  3.5 KB  |  106 lines

  1. /***
  2. *    winbase.h
  3. *    WinBase╙δC╙∩╤╘╜╙┐┌╢¿╥σ
  4. *    Winbase ╩╣╙├ Microsoft C ╡─┤≤╨═─ú╩╜.
  5. */
  6.  
  7.  
  8. #ifndef WINBASEC
  9.  
  10. #define WINBASE        void pascal
  11.  
  12. #define FALSE    0
  13. #define TRUE    1
  14.  
  15. #define NIL        '\0'
  16.  
  17. #ifndef NULL
  18. #define NULL    0L
  19. #endif
  20.  
  21. #define WINBASEC
  22. #endif
  23.  
  24. /*
  25.     ┤╙ WinBase ╜╙╩╒╥╗╕÷▓╬╩²
  26. */
  27.  
  28. char *p_getc(int );                //╗±╡├╓╕╢¿▓╬╩²╡─╫╓╖√┤«
  29. int p_lenc(int );                //╗±╡├╓╕╢¿▓╬╩²╡─╫╓╖√┤«│ñ╢╚
  30. int p_geti(int);                //╗±╡├╓╕╢¿▓╬╩²╡─╒√╩²
  31. int p_getlog(int);                //╗±╡├╓╕╢¿▓╬╩²╡─┬▀╝¡╓╡
  32. char *p_getdate(int);            //╗±╡├╓╕╢¿▓╬╩²╡─╚╒╞┌╫╓╖√┤«
  33. long p_getlong(int);            //╗±╡├╓╕╢¿▓╬╩²╡─│ñ╒√╨═
  34. double p_getdb(int);            //╗±╡├╓╕╢¿▓╬╩²╡─╩╡╩²
  35.  
  36. int p_count();                    //╗±╡├▓╬╩²╕÷╩²
  37. int p_ischar(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬╫╓╖√┤«
  38. int p_isnum(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬╩²╓╡
  39. int p_islog(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬┬▀╝¡╓╡
  40. int p_isdate(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬╚╒╞┌
  41. int p_ismemo(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬▒╕╫ó╬─▒╛
  42. int p_isptr(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬╓╕╒δ
  43. int p_isarray(int);                //┼╨╢╧╓╕╢¿▓╬╩²╩╟╖±╬¬╩²╫Θ    
  44.  
  45. /*
  46.     ┤╙ WinBase ╡─▓╬╩²╩²╫Θ╓╨╜╙╩╒╥╗╕÷▓╬╩²
  47. */
  48.  
  49. char *p_getca(int,int);            //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─╫╓╖√┤«
  50. int p_lenca(int,int);           //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─╫╓╖√┤«│ñ╢╚
  51. int p_getia(int,int);           //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─╒√╩²
  52. int p_getloga(int,int);         //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─┬▀╝¡╓╡
  53. char *p_getdatea(int,int);      //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─╚╒╞┌╫╓╖√┤«
  54. long p_getlonga(int,int);       //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─│ñ╒√╨═
  55. double p_getdba(int,int);       //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╡─╩╡╩²
  56.  
  57. int p_lena(int);                //╗±╡├╓╕╢¿╩²╫Θ▓╬╩²╘¬╦╪╡─╕÷╩²
  58. int p_ischara(int,int);         //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬╫╓╖√┤«
  59. int p_isnuma(int,int);          //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬╩²╓╡
  60. int p_isloga(int,int);          //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬┬▀╝¡╓╡
  61. int p_isdatea(int,int);         //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬╚╒╞┌
  62. int p_ismemoa(int,int);         //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬▒╕╫ó╬─▒╛
  63. int p_isptra(int,int);          //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬╓╕╒δ
  64.                                 //┼╨╢╧╓╕╢¿╩²╫Θ▓╬╩²─│╘¬╦╪╩╟╖±╬¬╩²╫Θ    
  65. /*
  66.     ╖╡╗╪╓╡╡╜ WinBase ╡─║»╩²
  67. */
  68.  
  69. void f_ret(void);                    //╖╡╗╪┐╒╓╡(NIL)
  70. void f_retc(char *);                //╖╡╗╪╫╓╖√┤«
  71. void f_retclen(char *,int);            //╖╡╗╪╓╕╢¿│ñ╢╚╫╓╖√┤«
  72. void f_reti(int);                    //╖╡╗╪╒√╩²
  73. void f_retlog(int);                    //╖╡╗╪┬▀╝¡╓╡
  74. void f_retdate(char *);                //╖╡╗╪╚╒╞┌╫╓╖√┤«
  75. void f_retlong(long);                //╖╡╗╪│ñ╒√╩²
  76. void f_retdb(double);                //╖╡╗╪╩╡╩²         
  77.  
  78. /*
  79.     ╖╡╗╪╓╡╡╜ WinBase ║»╩²╓╨╡──│▓╬╩²
  80. */
  81.  
  82. int p_putc(int ,char *);               //╖╡╗╪╫╓╖√┤«╡╜╓╕╢¿▓╬╩²
  83. int p_putclen(int,char *,int);          //╖╡╗╪╓╕╢¿│ñ╢╚╫╓╖√┤«╡╜╓╕╢¿▓╬╩²
  84. int p_puti(int,int);                //╖╡╗╪╒√╩²╡╜╓╕╢¿▓╬╩²
  85. int p_putlog(int,int);                //╖╡╗╪┬▀╝¡╓╡╡╜╓╕╢¿▓╬╩²
  86. int p_putdate(int,char *);            //╖╡╗╪╚╒╞┌╫╓╖√┤«╡╜╓╕╢¿▓╬╩²
  87. int p_putlong(int,long);            //╖╡╗╪│ñ╒√╩²╡╜╓╕╢¿▓╬╩²
  88. int p_putdb(int,double);            //╖╡╗╪╩╡╩²╡╜╓╕╢¿▓╬╩²
  89.  
  90. /*
  91.     ╖╡╗╪╓╡╡╜ WinBase ║»╩²╓╨╡─╩²╫Θ▓╬╩²╡──│╘¬╦╪
  92. */
  93.  
  94. int p_putca(int,int,char *);        //╖╡╗╪╫╓╖√┤«╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  95. int p_putclena(int,int,char *,int); //╖╡╗╪╓╕╢¿│ñ╢╚╫╓╖√┤«╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  96. int p_putia(int,int,int);           //╖╡╗╪╒√╩²╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  97. int p_putloga(int,int,int);         //╖╡╗╪┬▀╝¡╓╡╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  98. int p_putdatea(int,int,char *);     //╖╡╗╪╚╒╞┌╫╓╖√┤«╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  99. int p_putlonga(int,int,long);       //╖╡╗╪│ñ╒√╩²╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪
  100. int p_putdba(int,int,double);       //╖╡╗╪╩╡╩²╡╜╓╕╢¿▓╬╩²╩²╫Θ╡──│╘¬╦╪       
  101.  
  102. /*    ─┌┤µ╖╓┼Σ  */
  103. extern void far * _xalloc(unsigned int Bytes);    //╚⌠╩º░▄╖╡╗╪NULL
  104. extern void _xfree(void far *MemBlock);
  105.  
  106.