1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// The binding to the network interface is being closed.
pub const INTERFACE_CLOSING : HResultError = from_constant; // ERROR_NDIS_INTERFACE_CLOSING
/// An invalid version was specified.
pub const BAD_VERSION : HResultError = from_constant; // ERROR_NDIS_BAD_VERSION
/// An invalid characteristics table was used.
pub const BAD_CHARACTERISTICS : HResultError = from_constant; // ERROR_NDIS_BAD_CHARACTERISTICS
/// Failed to find the network interface or network interface is not ready.
pub const ADAPTER_NOT_FOUND : HResultError = from_constant; // ERROR_NDIS_ADAPTER_NOT_FOUND
/// Failed to open the network interface.
pub const OPEN_FAILED : HResultError = from_constant; // ERROR_NDIS_OPEN_FAILED
/// Network interface has encountered an internal unrecoverable failure.
pub const DEVICE_FAILED : HResultError = from_constant; // ERROR_NDIS_DEVICE_FAILED
/// The multicast list on the network interface is full.
pub const MULTICAST_FULL : HResultError = from_constant; // ERROR_NDIS_MULTICAST_FULL
/// An attempt was made to add a duplicate multicast address to the list.
pub const MULTICAST_EXISTS : HResultError = from_constant; // ERROR_NDIS_MULTICAST_EXISTS
/// At attempt was made to remove a multicast address that was never added.
pub const MULTICAST_NOT_FOUND : HResultError = from_constant; // ERROR_NDIS_MULTICAST_NOT_FOUND
/// Netowork interface aborted the request.
pub const REQUEST_ABORTED : HResultError = from_constant; // ERROR_NDIS_REQUEST_ABORTED
/// Network interface can not process the request because it is being reset.
pub const RESET_IN_PROGRESS : HResultError = from_constant; // ERROR_NDIS_RESET_IN_PROGRESS
/// Netword interface does not support this request.
pub const NOT_SUPPORTED : HResultError = from_constant; // ERROR_NDIS_NOT_SUPPORTED
/// An attempt was made to send an invalid packet on a network interface.
pub const INVALID_PACKET : HResultError = from_constant; // ERROR_NDIS_INVALID_PACKET
/// Network interface is not ready to complete this operation.
pub const ADAPTER_NOT_READY : HResultError = from_constant; // ERROR_NDIS_ADAPTER_NOT_READY
/// The length of the buffer submitted for this operation is not valid.
pub const INVALID_LENGTH : HResultError = from_constant; // ERROR_NDIS_INVALID_LENGTH
/// The data used for this operation is not valid.
pub const INVALID_DATA : HResultError = from_constant; // ERROR_NDIS_INVALID_DATA
/// The length of buffer submitted for this operation is too small.
pub const BUFFER_TOO_SHORT : HResultError = from_constant; // ERROR_NDIS_BUFFER_TOO_SHORT
/// Network interface does not support this OID (Object Identifier)
pub const INVALID_OID : HResultError = from_constant; // ERROR_NDIS_INVALID_OID
/// The network interface has been removed.
pub const ADAPTER_REMOVED : HResultError = from_constant; // ERROR_NDIS_ADAPTER_REMOVED
/// Network interface does not support this media type.
pub const UNSUPPORTED_MEDIA : HResultError = from_constant; // ERROR_NDIS_UNSUPPORTED_MEDIA
/// An attempt was made to remove a token ring group address that is in use by other components.
pub const GROUP_ADDRESS_IN_USE : HResultError = from_constant; // ERROR_NDIS_GROUP_ADDRESS_IN_USE
/// An attempt was made to map a file that can not be found.
pub const FILE_NOT_FOUND : HResultError = from_constant; // ERROR_NDIS_FILE_NOT_FOUND
/// An error occurred while NDIS tried to map the file.
pub const ERROR_READING_FILE : HResultError = from_constant; // ERROR_NDIS_ERROR_READING_FILE
/// An attempt was made to map a file that is alreay mapped.
pub const ALREADY_MAPPED : HResultError = from_constant; // ERROR_NDIS_ALREADY_MAPPED
/// An attempt to allocate a hardware resource failed because the resource is used by another component.
pub const RESOURCE_CONFLICT : HResultError = from_constant; // ERROR_NDIS_RESOURCE_CONFLICT
/// The I/O operation failed because network media is disconnected or wireless access point is out of range.
pub const MEDIA_DISCONNECTED : HResultError = from_constant; // ERROR_NDIS_MEDIA_DISCONNECTED
/// The network address used in the request is invalid.
pub const INVALID_ADDRESS : HResultError = from_constant; // ERROR_NDIS_INVALID_ADDRESS
/// The specified request is not a valid operation for the target device.
pub const INVALID_DEVICE_REQUEST : HResultError = from_constant; // ERROR_NDIS_INVALID_DEVICE_REQUEST
/// The offload operation on the network interface has been paused.
pub const PAUSED : HResultError = from_constant; // ERROR_NDIS_PAUSED
/// Network interface was not found.
pub const INTERFACE_NOT_FOUND : HResultError = from_constant; // ERROR_NDIS_INTERFACE_NOT_FOUND
/// The revision number specified in the structure is not supported.
pub const UNSUPPORTED_REVISION : HResultError = from_constant; // ERROR_NDIS_UNSUPPORTED_REVISION
/// The specified port does not exist on this network interface.
pub const INVALID_PORT : HResultError = from_constant; // ERROR_NDIS_INVALID_PORT
/// The current state of the specified port on this network interface does not support the requested operation.
pub const INVALID_PORT_STATE : HResultError = from_constant; // ERROR_NDIS_INVALID_PORT_STATE
/// The miniport adapter is in low power state.
pub const LOW_POWER_STATE : HResultError = from_constant; // ERROR_NDIS_LOW_POWER_STATE
/// This operation requires the miniport adapter to be reinitialized.
pub const REINIT_REQUIRED : HResultError = from_constant; // ERROR_NDIS_REINIT_REQUIRED
/// There are not enough queues to complete the operation.
pub const NO_QUEUES : HResultError = from_constant; // ERROR_NDIS_NO_QUEUES
/// The wireless local area network interface is in auto configuration mode and doesn't support the requested parameter change operation.
pub const DOT11_AUTO_CONFIG_ENABLED : HResultError = from_constant; // ERROR_NDIS_DOT11_AUTO_CONFIG_ENABLED
/// The wireless local area network interface is busy and can not perform the requested operation.
pub const DOT11_MEDIA_IN_USE : HResultError = from_constant; // ERROR_NDIS_DOT11_MEDIA_IN_USE
/// The wireless local area network interface is powered down and doesn't support the requested operation.
pub const DOT11_POWER_STATE_INVALID : HResultError = from_constant; // ERROR_NDIS_DOT11_POWER_STATE_INVALID
/// The list of wake on LAN patterns is full.
pub const PM_WOL_PATTERN_LIST_FULL : HResultError = from_constant; // ERROR_NDIS_PM_WOL_PATTERN_LIST_FULL
/// The list of low power protocol offloads is full.
pub const PM_PROTOCOL_OFFLOAD_LIST_FULL : HResultError = from_constant; // ERROR_NDIS_PM_PROTOCOL_OFFLOAD_LIST_FULL
/// The wireless local area network interface cannot start an AP on the specified channel right now.
pub const DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE : HResultError = from_constant; // ERROR_NDIS_DOT11_AP_CHANNEL_CURRENTLY_NOT_AVAILABLE
/// The wireless local area network interface cannot start an AP on the specified band right now.
pub const DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE : HResultError = from_constant; // ERROR_NDIS_DOT11_AP_BAND_CURRENTLY_NOT_AVAILABLE
/// The wireless local area network interface cannot start an AP on this channel due to regulatory reasons.
pub const DOT11_AP_CHANNEL_NOT_ALLOWED : HResultError = from_constant; // ERROR_NDIS_DOT11_AP_CHANNEL_NOT_ALLOWED
/// The wireless local area network interface cannot start an AP on this band due to regulatory reasons.
pub const DOT11_AP_BAND_NOT_ALLOWED : HResultError = from_constant; // ERROR_NDIS_DOT11_AP_BAND_NOT_ALLOWED
/// The request will be completed later by NDIS status indication.
pub const INDICATION_REQUIRED : HResultSuccess = from_constant; // ERROR_NDIS_INDICATION_REQUIRED
/// The TCP connection is not offloadable because of a local policy setting.
pub const OFFLOAD_POLICY : HResultError = from_constant; // ERROR_NDIS_OFFLOAD_POLICY
/// The TCP connection is not offloadable by the Chimney Offload target.
pub const OFFLOAD_CONNECTION_REJECTED : HResultError = from_constant; // ERROR_NDIS_OFFLOAD_CONNECTION_REJECTED
/// The IP Path object is not in an offloadable state.
pub const OFFLOAD_PATH_REJECTED : HResultError = from_constant; // ERROR_NDIS_OFFLOAD_PATH_REJECTED