bherr.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:8k
源码类别:

模拟服务器

开发平台:

C/C++

  1. //=============================================================================
  2. //  Microsoft (R) Network Monitor (tm). 
  3. //  Copyright (C) 1991-1999. All rights reserved.
  4. //
  5. //  MODULE: bherr.h
  6. //
  7. //  Do NOT use this file anymore.  Use NMErr.h and the NMERR_ prefex.
  8. //  This file is only around to keep parsers compatible.
  9. //=============================================================================
  10. #if !defined(_BHERR_)
  11. #define _BHERR_
  12. #include "nmerr.h"
  13. #define BHERR_SUCCESS                        NMERR_SUCCESS                        
  14. #define BHERR_MEMORY_MAPPED_FILE_ERROR       NMERR_MEMORY_MAPPED_FILE_ERROR       
  15. #define BHERR_INVALID_HFILTER                NMERR_INVALID_HFILTER                
  16. #define BHERR_CAPTURING                      NMERR_CAPTURING                      
  17. #define BHERR_NOT_CAPTURING                  NMERR_NOT_CAPTURING                  
  18. #define BHERR_NO_MORE_FRAMES                 NMERR_NO_MORE_FRAMES                 
  19. #define BHERR_BUFFER_TOO_SMALL               NMERR_BUFFER_TOO_SMALL               
  20. #define BHERR_FRAME_NOT_RECOGNIZED           NMERR_FRAME_NOT_RECOGNIZED           
  21. #define BHERR_FILE_ALREADY_EXISTS            NMERR_FILE_ALREADY_EXISTS            
  22. #define BHERR_DRIVER_NOT_FOUND               NMERR_DRIVER_NOT_FOUND               
  23. #define BHERR_ADDRESS_ALREADY_EXISTS         NMERR_ADDRESS_ALREADY_EXISTS         
  24. #define BHERR_INVALID_HFRAME                 NMERR_INVALID_HFRAME                 
  25. #define BHERR_INVALID_HPROTOCOL              NMERR_INVALID_HPROTOCOL              
  26. #define BHERR_INVALID_HPROPERTY              NMERR_INVALID_HPROPERTY              
  27. #define BHERR_LOCKED                         NMERR_LOCKED                         
  28. #define BHERR_STACK_EMPTY                    NMERR_STACK_EMPTY                    
  29. #define BHERR_STACK_OVERFLOW                 NMERR_STACK_OVERFLOW                 
  30. #define BHERR_TOO_MANY_PROTOCOLS             NMERR_TOO_MANY_PROTOCOLS             
  31. #define BHERR_FILE_NOT_FOUND                 NMERR_FILE_NOT_FOUND                 
  32. #define BHERR_OUT_OF_MEMORY                  NMERR_OUT_OF_MEMORY                  
  33. #define BHERR_CAPTURE_PAUSED                 NMERR_CAPTURE_PAUSED                 
  34. #define BHERR_NO_BUFFERS                     NMERR_NO_BUFFERS                     
  35. #define BHERR_BUFFERS_ALREADY_EXIST          NMERR_BUFFERS_ALREADY_EXIST          
  36. #define BHERR_NOT_LOCKED                     NMERR_NOT_LOCKED                     
  37. #define BHERR_OUT_OF_RANGE                   NMERR_OUT_OF_RANGE                   
  38. #define BHERR_LOCK_NESTING_TOO_DEEP          NMERR_LOCK_NESTING_TOO_DEEP          
  39. #define BHERR_LOAD_PARSER_FAILED             NMERR_LOAD_PARSER_FAILED             
  40. #define BHERR_UNLOAD_PARSER_FAILED           NMERR_UNLOAD_PARSER_FAILED          
  41. #define BHERR_INVALID_HADDRESSDB             NMERR_INVALID_HADDRESSDB             
  42. #define BHERR_ADDRESS_NOT_FOUND              NMERR_ADDRESS_NOT_FOUND              
  43. #define BHERR_NETWORK_NOT_PRESENT            NMERR_NETWORK_NOT_PRESENT            
  44. #define BHERR_NO_PROPERTY_DATABASE           NMERR_NO_PROPERTY_DATABASE           
  45. #define BHERR_PROPERTY_NOT_FOUND             NMERR_PROPERTY_NOT_FOUND             
  46. #define BHERR_INVALID_HPROPERTYDB            NMERR_INVALID_HPROPERTYDB            
  47. #define BHERR_PROTOCOL_NOT_ENABLED           NMERR_PROTOCOL_NOT_ENABLED          
  48. #define BHERR_PROTOCOL_NOT_FOUND             NMERR_PROTOCOL_NOT_FOUND            
  49. #define BHERR_INVALID_PARSER_DLL             NMERR_INVALID_PARSER_DLL            
  50. #define BHERR_NO_ATTACHED_PROPERTIES         NMERR_NO_ATTACHED_PROPERTIES         
  51. #define BHERR_NO_FRAMES                      NMERR_NO_FRAMES                      
  52. #define BHERR_INVALID_FILE_FORMAT            NMERR_INVALID_FILE_FORMAT            
  53. #define BHERR_COULD_NOT_CREATE_TEMPFILE      NMERR_COULD_NOT_CREATE_TEMPFILE      
  54. #define BHERR_OUT_OF_DOS_MEMORY              NMERR_OUT_OF_DOS_MEMORY              
  55. #define BHERR_NO_PROTOCOLS_ENABLED           NMERR_NO_PROTOCOLS_ENABLED           
  56. #define BHERR_UNKNOWN_MACTYPE                NMERR_UNKNOWN_MACTYPE                
  57. #define BHERR_ROUTING_INFO_NOT_PRESENT       NMERR_ROUTING_INFO_NOT_PRESENT       
  58. #define BHERR_INVALID_HNETWORK               NMERR_INVALID_HNETWORK               
  59. #define BHERR_NETWORK_ALREADY_OPENED         NMERR_NETWORK_ALREADY_OPENED         
  60. #define BHERR_NETWORK_NOT_OPENED             NMERR_NETWORK_NOT_OPENED             
  61. #define BHERR_FRAME_NOT_FOUND                NMERR_FRAME_NOT_FOUND                
  62. #define BHERR_NO_HANDLES                     NMERR_NO_HANDLES                     
  63. #define BHERR_INVALID_NETWORK_ID             NMERR_INVALID_NETWORK_ID             
  64. #define BHERR_INVALID_HCAPTURE               NMERR_INVALID_HCAPTURE               
  65. #define BHERR_PROTOCOL_ALREADY_ENABLED       NMERR_PROTOCOL_ALREADY_ENABLED       
  66. #define BHERR_FILTER_INVALID_EXPRESSION      NMERR_FILTER_INVALID_EXPRESSION      
  67. #define BHERR_TRANSMIT_ERROR                 NMERR_TRANSMIT_ERROR                 
  68. #define BHERR_INVALID_HBUFFER                NMERR_INVALID_HBUFFER                
  69. #define BHERR_INVALID_DATA                   NMERR_INVALID_DATA                   
  70. #define BHERR_MSDOS_DRIVER_NOT_LOADED        NMERR_MSDOS_DRIVER_NOT_LOADED        
  71. #define BHERR_WINDOWS_DRIVER_NOT_LOADED      NMERR_WINDOWS_DRIVER_NOT_LOADED      
  72. #define BHERR_MSDOS_DRIVER_INIT_FAILURE      NMERR_MSDOS_DRIVER_INIT_FAILURE      
  73. #define BHERR_WINDOWS_DRIVER_INIT_FAILURE    NMERR_WINDOWS_DRIVER_INIT_FAILURE    
  74. #define BHERR_NETWORK_BUSY                   NMERR_NETWORK_BUSY                   
  75. #define BHERR_CAPTURE_NOT_PAUSED             NMERR_CAPTURE_NOT_PAUSED             
  76. #define BHERR_INVALID_PACKET_LENGTH          NMERR_INVALID_PACKET_LENGTH          
  77. #define BHERR_INTERNAL_EXCEPTION             NMERR_INTERNAL_EXCEPTION             
  78. #define BHERR_PROMISCUOUS_MODE_NOT_SUPPORTED NMERR_PROMISCUOUS_MODE_NOT_SUPPORTED 
  79. #define BHERR_MAC_DRIVER_OPEN_FAILURE        NMERR_MAC_DRIVER_OPEN_FAILURE        
  80. #define BHERR_RUNAWAY_PROTOCOL               NMERR_RUNAWAY_PROTOCOL               
  81. #define BHERR_PENDING                        NMERR_PENDING                        
  82. #define BHERR_ACCESS_DENIED                  NMERR_ACCESS_DENIED                  
  83. #define BHERR_INVALID_HPASSWORD              NMERR_INVALID_HPASSWORD              
  84. #define BHERR_INVALID_PARAMETER              NMERR_INVALID_PARAMETER              
  85. #define BHERR_FILE_READ_ERROR                NMERR_FILE_READ_ERROR                
  86. #define BHERR_FILE_WRITE_ERROR               NMERR_FILE_WRITE_ERROR               
  87. #define BHERR_PROTOCOL_NOT_REGISTERED        NMERR_PROTOCOL_NOT_REGISTERED        
  88. #define BHERR_IP_ADDRESS_NOT_FOUND           NMERR_IP_ADDRESS_NOT_FOUND           
  89. #define BHERR_TRANSMIT_CANCELLED             NMERR_TRANSMIT_CANCELLED             
  90. #define BHERR_LOCKED_FRAMES                  NMERR_LOCKED_FRAMES                  
  91. #define BHERR_NO_TRANSMITS_PENDING           NMERR_NO_TRANSMITS_PENDING           
  92. #define BHERR_PATH_NOT_FOUND                 NMERR_PATH_NOT_FOUND                 
  93. #define BHERR_WINDOWS_ERROR                  NMERR_WINDOWS_ERROR                  
  94. #define BHERR_NO_FRAME_NUMBER                NMERR_NO_FRAME_NUMBER                
  95. #define BHERR_FRAME_HAS_NO_CAPTURE           NMERR_FRAME_HAS_NO_CAPTURE           
  96. #define BHERR_FRAME_ALREADY_HAS_CAPTURE      NMERR_FRAME_ALREADY_HAS_CAPTURE      
  97. #define BHERR_NAL_IS_NOT_REMOTE              NMERR_NAL_IS_NOT_REMOTE              
  98. #define BHERR_NOT_SUPPORTED                  NMERR_NOT_SUPPORTED                  
  99. #define BHERR_DISCARD_FRAME                  NMERR_DISCARD_FRAME                  
  100. #define BHERR_CANCEL_SAVE_CAPTURE            NMERR_CANCEL_SAVE_CAPTURE            
  101. #define BHERR_LOST_CONNECTION                NMERR_LOST_CONNECTION                
  102. #define BHERR_INVALID_MEDIA_TYPE             NMERR_INVALID_MEDIA_TYPE             
  103. #define BHERR_AGENT_IN_USE                   NMERR_AGENT_IN_USE                   
  104. #define BHERR_TIMEOUT                        NMERR_TIMEOUT                        
  105. #define BHERR_DISCONNECTED                   NMERR_DISCONNECTED                   
  106. #define BHERR_SETTIMER_FAILED                NMERR_SETTIMER_FAILED                
  107. #define BHERR_NETWORK_ERROR                  NMERR_NETWORK_ERROR                  
  108. #define BHERR_UPLEVEL_CAPTURE_FILE           NMERR_UPLEVEL_CAPTURE_FILE           
  109. #endif