NETDEFS.H 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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;
  36. typedef unsigned int W32;
  37. typedef unsigned short W16;
  38. #ifndef LONG
  39. typedef signed long LONG;
  40. #endif
  41. typedef unsigned long DWORD;
  42. typedef BYTE * PBYTE;
  43. typedef char near * PSTR;
  44. typedef WORD * PWORD;
  45. typedef unsigned short * PSHORT;
  46. typedef LONG * PLONG;
  47. typedef VOID * PVOID;
  48. typedef BYTE far * LPBYTE;
  49. typedef BYTE far * LPSTR;
  50. typedef WORD far * LPWORD;
  51. typedef W32 far * LPW32;
  52. typedef LONG far * LPLONG;
  53. typedef VOID far * LPVOID;
  54. typedef BYTE huge * HPBYTE;
  55. typedef BYTE huge * HPSTR;
  56. typedef LONG huge * HPLONG;
  57. typedef VOID huge * HPVOID;
  58. typedef unsigned HANDLE;
  59. #endif
  60.