home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / neterr.h < prev    next >
Text File  |  1998-04-25  |  2KB  |  59 lines

  1. //=============================================================================
  2. //  Microsoft (R) Bloodhound (tm). Copyright (C) 1991-1992.
  3. //
  4. //  MODULE: neterr.h
  5. //
  6. //  This is the top-level include file for all NETWORK topology error codes
  7. //  Bloodhound driver network error codes -- DO NOT CHANGE!
  8. //=============================================================================
  9.  
  10. #if !defined(_NETERR_)
  11.  
  12. #define _NETERR_
  13.  
  14. //=============================================================================
  15. //  TOKENRING errors
  16. //=============================================================================
  17.  
  18. #define NETERR_RING_STATUS_SIGNAL_LOST           0x00008000
  19.  
  20. #define NETERR_RING_STATUS_HARD_ERROR            0x00004000
  21.  
  22. #define NETERR_RING_STATUS_SOFT_ERROR            0x00002000
  23.  
  24. #define NETERR_RING_STATUS_TRANSMIT_BEACON       0x00001000
  25.  
  26. #define NETERR_RING_STATUS_LOBE_WIRE_FAULT       0x00000800
  27.  
  28. #define NETERR_RING_STATUS_AUTO_REMOVAL_ERROR    0x00000400
  29.  
  30. #define NETERR_RING_STATUS_REMOTE_RECEIVED       0x00000200
  31.  
  32. #define NETERR_RING_STATUS_COUNTER_OVERFLOW      0x00000100
  33.  
  34. #define NETERR_RING_STATUS_SIGNAL_STATION        0x00000080
  35.  
  36. #define NETERR_RING_STATUS_RECOVERY              0x00000040
  37.  
  38.  
  39. //
  40. // The following defines a bit mask to be compared with to see if
  41. // the state of the ring should cause us to stop the current network
  42. // capture.
  43. //
  44. // LobeWireFault, Signal Loss, Remove Received, and Auto Removal are
  45. // currently the ones that fall into this category.
  46. //
  47. #define NETERR_RING_STOP_CAPTURE                 0x00008E00
  48.  
  49.  
  50. //=============================================================================
  51. //  ETHERNET errors
  52. //=============================================================================
  53.  
  54. //=============================================================================
  55. //  FDDI errors
  56. //=============================================================================
  57.  
  58. #endif
  59.