//

// status codes returned by drivers

//

#define NDIS_STATUS_SUCCESS                     ((NDIS_STATUS)STATUS_SUCCESS)

#define NDIS_STATUS_PENDING                     ((NDIS_STATUS)STATUS_PENDING)

#define NDIS_STATUS_NOT_RECOGNIZED              ((NDIS_STATUS)0x00010001L)

#define NDIS_STATUS_NOT_COPIED                  ((NDIS_STATUS)0x00010002L)

#define NDIS_STATUS_NOT_ACCEPTED                ((NDIS_STATUS)0x00010003L)

#define NDIS_STATUS_CALL_ACTIVE                 ((NDIS_STATUS)0x00010007L)

#define NDIS_STATUS_INDICATION_REQUIRED         ((NDIS_STATUS)STATUS_NDIS_INDICATION_REQUIRED)

#define NDIS_STATUS_NOT_RESETTABLE              ((NDIS_STATUS)0x80010001L)

#define NDIS_STATUS_SOFT_ERRORS                 ((NDIS_STATUS)0x80010003L)

#define NDIS_STATUS_HARD_ERRORS                 ((NDIS_STATUS)0x80010004L)

#define NDIS_STATUS_BUFFER_OVERFLOW             ((NDIS_STATUS)STATUS_BUFFER_OVERFLOW)

#define NDIS_STATUS_FAILURE                     ((NDIS_STATUS)STATUS_UNSUCCESSFUL)

#define NDIS_STATUS_RESOURCES                   ((NDIS_STATUS)STATUS_INSUFFICIENT_RESOURCES)

#define NDIS_STATUS_CLOSING                     ((NDIS_STATUS)0xC0010002L)

#define NDIS_STATUS_BAD_VERSION                 ((NDIS_STATUS)0xC0010004L)

#define NDIS_STATUS_BAD_CHARACTERISTICS         ((NDIS_STATUS)0xC0010005L)

#define NDIS_STATUS_ADAPTER_NOT_FOUND           ((NDIS_STATUS)0xC0010006L)

#define NDIS_STATUS_OPEN_FAILED                 ((NDIS_STATUS)0xC0010007L)

#define NDIS_STATUS_DEVICE_FAILED               ((NDIS_STATUS)0xC0010008L)

#define NDIS_STATUS_MULTICAST_FULL              ((NDIS_STATUS)0xC0010009L)

#define NDIS_STATUS_MULTICAST_EXISTS            ((NDIS_STATUS)0xC001000AL)

#define NDIS_STATUS_MULTICAST_NOT_FOUND         ((NDIS_STATUS)0xC001000BL)

#define NDIS_STATUS_REQUEST_ABORTED             ((NDIS_STATUS)0xC001000CL)

#define NDIS_STATUS_RESET_IN_PROGRESS           ((NDIS_STATUS)0xC001000DL)

#define NDIS_STATUS_CLOSING_INDICATING          ((NDIS_STATUS)0xC001000EL)

#define NDIS_STATUS_NOT_SUPPORTED               ((NDIS_STATUS)STATUS_NOT_SUPPORTED)

#define NDIS_STATUS_INVALID_PACKET              ((NDIS_STATUS)0xC001000FL)

#define NDIS_STATUS_OPEN_LIST_FULL              ((NDIS_STATUS)0xC0010010L)

#define NDIS_STATUS_ADAPTER_NOT_READY           ((NDIS_STATUS)0xC0010011L)

#define NDIS_STATUS_ADAPTER_NOT_OPEN            ((NDIS_STATUS)0xC0010012L)

#define NDIS_STATUS_NOT_INDICATING              ((NDIS_STATUS)0xC0010013L)

#define NDIS_STATUS_INVALID_LENGTH              ((NDIS_STATUS)0xC0010014L)

#define NDIS_STATUS_INVALID_DATA                ((NDIS_STATUS)0xC0010015L)

#define NDIS_STATUS_BUFFER_TOO_SHORT            ((NDIS_STATUS)0xC0010016L)

#define NDIS_STATUS_INVALID_OID                 ((NDIS_STATUS)0xC0010017L)

#define NDIS_STATUS_ADAPTER_REMOVED             ((NDIS_STATUS)0xC0010018L)

#define NDIS_STATUS_UNSUPPORTED_MEDIA           ((NDIS_STATUS)0xC0010019L)

#define NDIS_STATUS_GROUP_ADDRESS_IN_USE        ((NDIS_STATUS)0xC001001AL)

#define NDIS_STATUS_FILE_NOT_FOUND              ((NDIS_STATUS)0xC001001BL)

#define NDIS_STATUS_ERROR_READING_FILE          ((NDIS_STATUS)0xC001001CL)

#define NDIS_STATUS_ALREADY_MAPPED              ((NDIS_STATUS)0xC001001DL)

#define NDIS_STATUS_RESOURCE_CONFLICT           ((NDIS_STATUS)0xC001001EL)

#define NDIS_STATUS_NO_CABLE                    ((NDIS_STATUS)0xC001001FL)

#define NDIS_STATUS_INVALID_DEVICE_REQUEST      ((NDIS_STATUS)STATUS_INVALID_DEVICE_REQUEST)

#define NDIS_STATUS_NETWORK_UNREACHABLE         ((NDIS_STATUS)STATUS_NETWORK_UNREACHABLE)