SOSDEFS.H 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /****************************************************************************
  2. File : sosdefs.h
  3. Programmer(s) : Don Fowler, Nick Skrepetos
  4. Date :
  5. Purpose :
  6. Last Updated :
  7. ****************************************************************************
  8. Copyright(c) 1993,1994 Human Machine Interfaces
  9. All Rights Reserved
  10. ****************************************************************************/
  11. #ifndef _SOSDEFS_DEFINED
  12. #define _SOSDEFS_DEFINED
  13. #undef _TRUE
  14. #undef _FALSE
  15. #undef TRUE
  16. #undef FALSE
  17. #undef _NULL
  18. enum
  19. {
  20. _FALSE,
  21. _TRUE
  22. };
  23. enum
  24. {
  25. FALSE,
  26. TRUE
  27. };
  28. #define _NULL 0
  29. #ifndef VOID
  30. #define VOID void
  31. #endif
  32. typedef int BOOL;
  33. typedef unsigned int UINT;
  34. typedef unsigned char BYTE;
  35. //typedef unsigned short WORD; //New net/SOS 4.0 definition
  36. typedef unsigned WORD;
  37. typedef unsigned int W32;
  38. typedef unsigned short W16;
  39. #ifndef LONG
  40. typedef signed long LONG;
  41. #endif
  42. typedef unsigned long DWORD;
  43. typedef BYTE * PBYTE;
  44. typedef char near * PSTR;
  45. typedef WORD * PWORD;
  46. typedef unsigned short * PSHORT;
  47. typedef LONG * PLONG;
  48. typedef VOID * PVOID;
  49. typedef BYTE far * LPBYTE;
  50. typedef BYTE far * LPSTR;
  51. typedef WORD far * LPWORD;
  52. typedef W32 far * LPW32;
  53. typedef LONG far * LPLONG;
  54. typedef VOID far * LPVOID;
  55. typedef BYTE huge * HPBYTE;
  56. typedef BYTE huge * HPSTR;
  57. typedef LONG huge * HPLONG;
  58. typedef VOID huge * HPVOID;
  59. typedef unsigned HANDLE;
  60. #endif
  61. 
  62.