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
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
// WARNING: this file is auto-generated by xtask gen and may be overwritten
use *;
/// A non-empty line was encountered in the INF before the start of a section.
pub const E_EXPECTED_SECTION_NAME : HResultError = from_constant; // SPAPI_E_EXPECTED_SECTION_NAME
/// A section name marker in the INF is not complete, or does not exist on a line by itself.
pub const E_BAD_SECTION_NAME_LINE : HResultError = from_constant; // SPAPI_E_BAD_SECTION_NAME_LINE
/// An INF section was encountered whose name exceeds the maximum section name length.
pub const E_SECTION_NAME_TOO_LONG : HResultError = from_constant; // SPAPI_E_SECTION_NAME_TOO_LONG
/// The syntax of the INF is invalid.
pub const E_GENERAL_SYNTAX : HResultError = from_constant; // SPAPI_E_GENERAL_SYNTAX
/// The style of the INF is different than what was requested.
pub const E_WRONG_INF_STYLE : HResultError = from_constant; // SPAPI_E_WRONG_INF_STYLE
/// The required section was not found in the INF.
pub const E_SECTION_NOT_FOUND : HResultError = from_constant; // SPAPI_E_SECTION_NOT_FOUND
/// The required line was not found in the INF.
pub const E_LINE_NOT_FOUND : HResultError = from_constant; // SPAPI_E_LINE_NOT_FOUND
/// The files affected by the installation of this file queue have not been backed up for uninstall.
pub const E_NO_BACKUP : HResultError = from_constant; // SPAPI_E_NO_BACKUP
/// The INF or the device information set or element does not have an associated install class.
pub const E_NO_ASSOCIATED_CLASS : HResultError = from_constant; // SPAPI_E_NO_ASSOCIATED_CLASS
/// The INF or the device information set or element does not match the specified install class.
pub const E_CLASS_MISMATCH : HResultError = from_constant; // SPAPI_E_CLASS_MISMATCH
/// An existing device was found that is a duplicate of the device being manually installed.
pub const E_DUPLICATE_FOUND : HResultError = from_constant; // SPAPI_E_DUPLICATE_FOUND
/// There is no driver selected for the device information set or element.
pub const E_NO_DRIVER_SELECTED : HResultError = from_constant; // SPAPI_E_NO_DRIVER_SELECTED
/// The requested device registry key does not exist.
pub const E_KEY_DOES_NOT_EXIST : HResultError = from_constant; // SPAPI_E_KEY_DOES_NOT_EXIST
/// The device instance name is invalid.
pub const E_INVALID_DEVINST_NAME : HResultError = from_constant; // SPAPI_E_INVALID_DEVINST_NAME
/// The install class is not present or is invalid.
pub const E_INVALID_CLASS : HResultError = from_constant; // SPAPI_E_INVALID_CLASS
/// The device instance cannot be created because it already exists.
pub const E_DEVINST_ALREADY_EXISTS : HResultError = from_constant; // SPAPI_E_DEVINST_ALREADY_EXISTS
/// The operation cannot be performed on a device information element that has not been registered.
pub const E_DEVINFO_NOT_REGISTERED : HResultError = from_constant; // SPAPI_E_DEVINFO_NOT_REGISTERED
/// The device property code is invalid.
pub const E_INVALID_REG_PROPERTY : HResultError = from_constant; // SPAPI_E_INVALID_REG_PROPERTY
/// The INF from which a driver list is to be built does not exist.
pub const E_NO_INF : HResultError = from_constant; // SPAPI_E_NO_INF
/// The device instance does not exist in the hardware tree.
pub const E_NO_SUCH_DEVINST : HResultError = from_constant; // SPAPI_E_NO_SUCH_DEVINST
/// The icon representing this install class cannot be loaded.
pub const E_CANT_LOAD_CLASS_ICON : HResultError = from_constant; // SPAPI_E_CANT_LOAD_CLASS_ICON
/// The class installer registry entry is invalid.
pub const E_INVALID_CLASS_INSTALLER : HResultError = from_constant; // SPAPI_E_INVALID_CLASS_INSTALLER
/// The class installer has indicated that the default action should be performed for this installation request.
pub const E_DI_DO_DEFAULT : HResultError = from_constant; // SPAPI_E_DI_DO_DEFAULT
/// The operation does not require any files to be copied.
pub const E_DI_NOFILECOPY : HResultError = from_constant; // SPAPI_E_DI_NOFILECOPY
/// The specified hardware profile does not exist.
pub const E_INVALID_HWPROFILE : HResultError = from_constant; // SPAPI_E_INVALID_HWPROFILE
/// There is no device information element currently selected for this device information set.
pub const E_NO_DEVICE_SELECTED : HResultError = from_constant; // SPAPI_E_NO_DEVICE_SELECTED
/// The operation cannot be performed because the device information set is locked.
pub const E_DEVINFO_LIST_LOCKED : HResultError = from_constant; // SPAPI_E_DEVINFO_LIST_LOCKED
/// The operation cannot be performed because the device information element is locked.
pub const E_DEVINFO_DATA_LOCKED : HResultError = from_constant; // SPAPI_E_DEVINFO_DATA_LOCKED
/// The specified path does not contain any applicable device INFs.
pub const E_DI_BAD_PATH : HResultError = from_constant; // SPAPI_E_DI_BAD_PATH
/// No class installer parameters have been set for the device information set or element.
pub const E_NO_CLASSINSTALL_PARAMS : HResultError = from_constant; // SPAPI_E_NO_CLASSINSTALL_PARAMS
/// The operation cannot be performed because the file queue is locked.
pub const E_FILEQUEUE_LOCKED : HResultError = from_constant; // SPAPI_E_FILEQUEUE_LOCKED
/// A service installation section in this INF is invalid.
pub const E_BAD_SERVICE_INSTALLSECT : HResultError = from_constant; // SPAPI_E_BAD_SERVICE_INSTALLSECT
/// There is no class driver list for the device information element.
pub const E_NO_CLASS_DRIVER_LIST : HResultError = from_constant; // SPAPI_E_NO_CLASS_DRIVER_LIST
/// The installation failed because a function driver was not specified for this device instance.
pub const E_NO_ASSOCIATED_SERVICE : HResultError = from_constant; // SPAPI_E_NO_ASSOCIATED_SERVICE
/// There is presently no default device interface designated for this interface class.
pub const E_NO_DEFAULT_DEVICE_INTERFACE : HResultError = from_constant; // SPAPI_E_NO_DEFAULT_DEVICE_INTERFACE
/// The operation cannot be performed because the device interface is currently active.
pub const E_DEVICE_INTERFACE_ACTIVE : HResultError = from_constant; // SPAPI_E_DEVICE_INTERFACE_ACTIVE
/// The operation cannot be performed because the device interface has been removed from the system.
pub const E_DEVICE_INTERFACE_REMOVED : HResultError = from_constant; // SPAPI_E_DEVICE_INTERFACE_REMOVED
/// An interface installation section in this INF is invalid.
pub const E_BAD_INTERFACE_INSTALLSECT : HResultError = from_constant; // SPAPI_E_BAD_INTERFACE_INSTALLSECT
/// This interface class does not exist in the system.
pub const E_NO_SUCH_INTERFACE_CLASS : HResultError = from_constant; // SPAPI_E_NO_SUCH_INTERFACE_CLASS
/// The reference string supplied for this interface device is invalid.
pub const E_INVALID_REFERENCE_STRING : HResultError = from_constant; // SPAPI_E_INVALID_REFERENCE_STRING
/// The specified machine name does not conform to UNC naming conventions.
pub const E_INVALID_MACHINENAME : HResultError = from_constant; // SPAPI_E_INVALID_MACHINENAME
/// A general remote communication error occurred.
pub const E_REMOTE_COMM_FAILURE : HResultError = from_constant; // SPAPI_E_REMOTE_COMM_FAILURE
/// The machine selected for remote communication is not available at this time.
pub const E_MACHINE_UNAVAILABLE : HResultError = from_constant; // SPAPI_E_MACHINE_UNAVAILABLE
/// The Plug and Play service is not available on the remote machine.
pub const E_NO_CONFIGMGR_SERVICES : HResultError = from_constant; // SPAPI_E_NO_CONFIGMGR_SERVICES
/// The property page provider registry entry is invalid.
pub const E_INVALID_PROPPAGE_PROVIDER : HResultError = from_constant; // SPAPI_E_INVALID_PROPPAGE_PROVIDER
/// The requested device interface is not present in the system.
pub const E_NO_SUCH_DEVICE_INTERFACE : HResultError = from_constant; // SPAPI_E_NO_SUCH_DEVICE_INTERFACE
/// The device's co-installer has additional work to perform after installation is complete.
pub const E_DI_POSTPROCESSING_REQUIRED : HResultError = from_constant; // SPAPI_E_DI_POSTPROCESSING_REQUIRED
/// The device's co-installer is invalid.
pub const E_INVALID_COINSTALLER : HResultError = from_constant; // SPAPI_E_INVALID_COINSTALLER
/// There are no compatible drivers for this device.
pub const E_NO_COMPAT_DRIVERS : HResultError = from_constant; // SPAPI_E_NO_COMPAT_DRIVERS
/// There is no icon that represents this device or device type.
pub const E_NO_DEVICE_ICON : HResultError = from_constant; // SPAPI_E_NO_DEVICE_ICON
/// A logical configuration specified in this INF is invalid.
pub const E_INVALID_INF_LOGCONFIG : HResultError = from_constant; // SPAPI_E_INVALID_INF_LOGCONFIG
/// The class installer has denied the request to install or upgrade this device.
pub const E_DI_DONT_INSTALL : HResultError = from_constant; // SPAPI_E_DI_DONT_INSTALL
/// One of the filter drivers installed for this device is invalid.
pub const E_INVALID_FILTER_DRIVER : HResultError = from_constant; // SPAPI_E_INVALID_FILTER_DRIVER
/// The driver selected for this device does not support this version of Windows.
pub const E_NON_WINDOWS_NT_DRIVER : HResultError = from_constant; // SPAPI_E_NON_WINDOWS_NT_DRIVER
/// The driver selected for this device does not support Windows.
pub const E_NON_WINDOWS_DRIVER : HResultError = from_constant; // SPAPI_E_NON_WINDOWS_DRIVER
/// The third-party INF does not contain digital signature information.
pub const E_NO_CATALOG_FOR_OEM_INF : HResultError = from_constant; // SPAPI_E_NO_CATALOG_FOR_OEM_INF
/// An invalid attempt was made to use a device installation file queue for verification of digital signatures relative to other platforms.
pub const E_DEVINSTALL_QUEUE_NONNATIVE : HResultError = from_constant; // SPAPI_E_DEVINSTALL_QUEUE_NONNATIVE
/// The device cannot be disabled.
pub const E_NOT_DISABLEABLE : HResultError = from_constant; // SPAPI_E_NOT_DISABLEABLE
/// The device could not be dynamically removed.
pub const E_CANT_REMOVE_DEVINST : HResultError = from_constant; // SPAPI_E_CANT_REMOVE_DEVINST
/// Cannot copy to specified target.
pub const E_INVALID_TARGET : HResultError = from_constant; // SPAPI_E_INVALID_TARGET
/// Driver is not intended for this platform.
pub const E_DRIVER_NONNATIVE : HResultError = from_constant; // SPAPI_E_DRIVER_NONNATIVE
/// Operation not allowed in WOW64.
pub const E_IN_WOW64 : HResultError = from_constant; // SPAPI_E_IN_WOW64
/// The operation involving unsigned file copying was rolled back, so that a system restore point could be set.
pub const E_SET_SYSTEM_RESTORE_POINT : HResultError = from_constant; // SPAPI_E_SET_SYSTEM_RESTORE_POINT
/// An INF was copied into the Windows INF directory in an improper manner.
pub const E_INCORRECTLY_COPIED_INF : HResultError = from_constant; // SPAPI_E_INCORRECTLY_COPIED_INF
/// The Security Configuration Editor (SCE) APIs have been disabled on this Embedded product.
pub const E_SCE_DISABLED : HResultError = from_constant; // SPAPI_E_SCE_DISABLED
/// An unknown exception was encountered.
pub const E_UNKNOWN_EXCEPTION : HResultError = from_constant; // SPAPI_E_UNKNOWN_EXCEPTION
/// A problem was encountered when accessing the Plug and Play registry database.
pub const E_PNP_REGISTRY_ERROR : HResultError = from_constant; // SPAPI_E_PNP_REGISTRY_ERROR
/// The requested operation is not supported for a remote machine.
pub const E_REMOTE_REQUEST_UNSUPPORTED : HResultError = from_constant; // SPAPI_E_REMOTE_REQUEST_UNSUPPORTED
/// The specified file is not an installed OEM INF.
pub const E_NOT_AN_INSTALLED_OEM_INF : HResultError = from_constant; // SPAPI_E_NOT_AN_INSTALLED_OEM_INF
/// One or more devices are presently installed using the specified INF.
pub const E_INF_IN_USE_BY_DEVICES : HResultError = from_constant; // SPAPI_E_INF_IN_USE_BY_DEVICES
/// The requested device install operation is obsolete.
pub const E_DI_FUNCTION_OBSOLETE : HResultError = from_constant; // SPAPI_E_DI_FUNCTION_OBSOLETE
/// A file could not be verified because it does not have an associated catalog signed via Authenticode(tm).
pub const E_NO_AUTHENTICODE_CATALOG : HResultError = from_constant; // SPAPI_E_NO_AUTHENTICODE_CATALOG
/// Authenticode(tm) signature verification is not supported for the specified INF.
pub const E_AUTHENTICODE_DISALLOWED : HResultError = from_constant; // SPAPI_E_AUTHENTICODE_DISALLOWED
/// The INF was signed with an Authenticode(tm) catalog from a trusted publisher.
pub const E_AUTHENTICODE_TRUSTED_PUBLISHER : HResultError = from_constant; // SPAPI_E_AUTHENTICODE_TRUSTED_PUBLISHER
/// The publisher of an Authenticode(tm) signed catalog has not yet been established as trusted.
pub const E_AUTHENTICODE_TRUST_NOT_ESTABLISHED : HResultError = from_constant; // SPAPI_E_AUTHENTICODE_TRUST_NOT_ESTABLISHED
/// The publisher of an Authenticode(tm) signed catalog was not established as trusted.
pub const E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED : HResultError = from_constant; // SPAPI_E_AUTHENTICODE_PUBLISHER_NOT_TRUSTED
/// The software was tested for compliance with Windows Logo requirements on a different version of Windows, and may not be compatible with this version.
pub const E_SIGNATURE_OSATTRIBUTE_MISMATCH : HResultError = from_constant; // SPAPI_E_SIGNATURE_OSATTRIBUTE_MISMATCH
/// The file may only be validated by a catalog signed via Authenticode(tm).
pub const E_ONLY_VALIDATE_VIA_AUTHENTICODE : HResultError = from_constant; // SPAPI_E_ONLY_VALIDATE_VIA_AUTHENTICODE
/// One of the installers for this device cannot perform the installation at this time.
pub const E_DEVICE_INSTALLER_NOT_READY : HResultError = from_constant; // SPAPI_E_DEVICE_INSTALLER_NOT_READY
/// A problem was encountered while attempting to add the driver to the store.
pub const E_DRIVER_STORE_ADD_FAILED : HResultError = from_constant; // SPAPI_E_DRIVER_STORE_ADD_FAILED
/// The installation of this device is forbidden by system policy. Contact your system administrator.
pub const E_DEVICE_INSTALL_BLOCKED : HResultError = from_constant; // SPAPI_E_DEVICE_INSTALL_BLOCKED
/// The installation of this driver is forbidden by system policy. Contact your system administrator.
pub const E_DRIVER_INSTALL_BLOCKED : HResultError = from_constant; // SPAPI_E_DRIVER_INSTALL_BLOCKED
/// The specified INF is the wrong type for this operation.
pub const E_WRONG_INF_TYPE : HResultError = from_constant; // SPAPI_E_WRONG_INF_TYPE
/// The hash for the file is not present in the specified catalog file. The file is likely corrupt or the victim of tampering.
pub const E_FILE_HASH_NOT_IN_CATALOG : HResultError = from_constant; // SPAPI_E_FILE_HASH_NOT_IN_CATALOG
/// A problem was encountered while attempting to delete the driver from the store.
pub const E_DRIVER_STORE_DELETE_FAILED : HResultError = from_constant; // SPAPI_E_DRIVER_STORE_DELETE_FAILED
/// An unrecoverable stack overflow was encountered.
pub const E_UNRECOVERABLE_STACK_OVERFLOW : HResultError = from_constant; // SPAPI_E_UNRECOVERABLE_STACK_OVERFLOW
/// No installed components were detected.
pub const E_ERROR_NOT_INSTALLED : HResultError = from_constant; // SPAPI_E_ERROR_NOT_INSTALLED