1 /** 2 * Windows API header module 3 * 4 * Translated from MinGW Windows headers 5 * 6 * Authors: Vladimir Vlasov 7 * License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0) 8 * Source: $(DRUNTIMESRC core/sys/windows/_setupapi.d) 9 */ 10 module core.sys.windows.setupapi; 11 version (Windows): 12 13 version (ANSI) {} else version = Unicode; 14 pragma(lib, "setupapi"); 15 16 import core.sys.windows.basetyps, core.sys.windows.commctrl, core.sys.windows.prsht, core.sys.windows.w32api, 17 core.sys.windows.winreg, core.sys.windows.windef; 18 import core.sys.windows.winbase; // for SYSTEMTIME 19 20 /*static if (_WIN32_WINNT < _WIN32_WINDOWS) { 21 enum UINT _SETUPAPI_VER = _WIN32_WINNT; // SetupAPI version follows Windows NT version 22 } else static if (_WIN32_WINDOWS) { 23 static if (_WIN32_WINDOWS >= 0x0490) { 24 enum UINT _SETUPAPI_VER = 0x0500; // WinME uses same version of SetupAPI as Win2k 25 } else static if (_WIN32_WINDOWS >= 0x0410) { 26 enum UINT _SETUPAPI_VER = 0x0410; // Indicates version of SetupAPI shipped with Win98 27 } else { 28 enum UINT _SETUPAPI_VER = 0x0400; // Earliest SetupAPI version 29 } 30 } else { 31 enum UINT _SETUPAPI_VER = 0x0501; 32 } 33 34 version (WindowsNTonly) { 35 static if (_WIN32_WINNT >= 0x500) { 36 enum UINT USE_SP_DRVINFO_DATA_V1 = 0; 37 } else { 38 enum UINT USE_SP_DRVINFO_DATA_V1 = 1; 39 } 40 } else { 41 enum UINT USE_SP_DRVINFO_DATA_V1 = 1; 42 }*/ 43 /+ 44 enum UINT _SETUPAPI_VER = 0x0400; // Earliest SetupAPI version 45 enum UINT USE_SP_DRVINFO_DATA_V1 = 1; 46 +/ 47 enum UINT _SETUPAPI_VER = _WIN32_WINNT; 48 enum bool USE_SP_DRVINFO_DATA_V1 = _WIN32_WINNT < 0x500; 49 50 enum : uint { 51 LINE_LEN = 256, 52 MAX_INF_STRING_LENGTH = 4096, 53 MAX_TITLE_LEN = 60, 54 MAX_INSTRUCTION_LEN = 256, 55 MAX_LABEL_LEN = 30, 56 MAX_SERVICE_NAME_LEN = 256, 57 MAX_SUBTITLE_LEN = 256, 58 SP_MAX_MACHINENAME_LENGTH = MAX_PATH + 3 59 } 60 61 enum : DWORD { 62 COPYFLG_WARN_IF_SKIP = 0x00000001, 63 COPYFLG_NOSKIP = 0x00000002, 64 COPYFLG_NOVERSIONCHECK = 0x00000004, 65 COPYFLG_FORCE_FILE_IN_USE = 0x00000008, 66 COPYFLG_NO_OVERWRITE = 0x00000010, 67 COPYFLG_NO_VERSION_DIALOG = 0x00000020, 68 COPYFLG_OVERWRITE_OLDER_ONLY = 0x00000040, 69 COPYFLG_REPLACEONLY = 0x00000400, 70 COPYFLG_NODECOMP = 0x00000800, 71 COPYFLG_REPLACE_BOOT_FILE = 0x00001000, 72 COPYFLG_NOPRUNE = 0x00002000 73 } 74 75 enum : DWORD { 76 DELFLG_IN_USE = 0x00000001, 77 DELFLG_IN_USE1 = 0x00010000 78 } 79 80 enum : DWORD { 81 DI_REMOVEDEVICE_GLOBAL = 0x00000001, 82 DI_REMOVEDEVICE_CONFIGSPECIFIC = 0x00000002, 83 DI_UNREMOVEDEVICE_CONFIGSPECIFIC = 0x00000002, 84 DI_SHOWOEM = 0x00000001, 85 DI_SHOWCOMPAT = 0x00000002, 86 DI_SHOWCLASS = 0x00000004, 87 DI_SHOWALL = 0x00000007, 88 DI_NOVCP = 0x00000008, 89 DI_DIDCOMPAT = 0x00000010, 90 DI_DIDCLASS = 0x00000020, 91 DI_AUTOASSIGNRES = 0x00000040, 92 DI_NEEDRESTART = 0x00000080, 93 DI_NEEDREBOOT = 0x00000100, 94 DI_NOBROWSE = 0x00000200, 95 DI_MULTMFGS = 0x00000400, 96 DI_DISABLED = 0x00000800, 97 DI_GENERALPAGE_ADDED = 0x00001000, 98 DI_RESOURCEPAGE_ADDED = 0x00002000, 99 DI_PROPERTIES_CHANGE = 0x00004000, 100 DI_INF_IS_SORTED = 0x00008000, 101 DI_ENUMSINGLEINF = 0x00010000, 102 DI_DONOTCALLCONFIGMG = 0x00020000, 103 DI_INSTALLDISABLED = 0x00040000, 104 DI_COMPAT_FROM_CLASS = 0x00080000, 105 DI_CLASSINSTALLPARAMS = 0x00100000, 106 DI_NODI_DEFAULTACTION = 0x00200000, 107 DI_QUIETINSTALL = 0x00800000, 108 DI_NOFILECOPY = 0x01000000, 109 DI_FORCECOPY = 0x02000000, 110 DI_DRIVERPAGE_ADDED = 0x04000000, 111 DI_USECI_SELECTSTRINGS = 0x08000000, 112 DI_OVERRIDE_INFFLAGS = 0x10000000, 113 DI_PROPS_NOCHANGEUSAGE = 0x20000000, 114 DI_NOSELECTICONS = 0x40000000, 115 DI_NOWRITE_IDS = 0x80000000, 116 DI_FLAGSEX_USEOLDINFSEARCH = 0x00000001, 117 DI_FLAGSEX_AUTOSELECTRANK0 = 0x00000002, 118 DI_FLAGSEX_CI_FAILED = 0x00000004, 119 DI_FLAGSEX_DIDINFOLIST = 0x00000010, 120 DI_FLAGSEX_DIDCOMPATINFO = 0x00000020, 121 DI_FLAGSEX_FILTERCLASSES = 0x00000040, 122 DI_FLAGSEX_SETFAILEDINSTALL = 0x00000080, 123 DI_FLAGSEX_DEVICECHANGE = 0x00000100, 124 DI_FLAGSEX_ALWAYSWRITEIDS = 0x00000200, 125 DI_FLAGSEX_PROPCHANGE_PENDING = 0x00000400, 126 DI_FLAGSEX_ALLOWEXCLUDEDDRVS = 0x00000800, 127 DI_FLAGSEX_NOUIONQUERYREMOVE = 0x00001000, 128 DI_FLAGSEX_USECLASSFORCOMPAT = 0x00002000, 129 DI_FLAGSEX_OLDINF_IN_CLASSLIST = 0x00004000, 130 DI_FLAGSEX_NO_DRVREG_MODIFY = 0x00008000, 131 DI_FLAGSEX_IN_SYSTEM_SETUP = 0x00010000, 132 DI_FLAGSEX_INET_DRIVER = 0x00020000, 133 DI_FLAGSEX_APPENDDRIVERLIST = 0x00040000, 134 DI_FLAGSEX_PREINSTALLBACKUP = 0x00080000, 135 DI_FLAGSEX_BACKUPONREPLACE = 0x00100000, 136 DI_FLAGSEX_DRIVERLIST_FROM_URL = 0x00200000, 137 DI_FLAGSEX_RESERVED1 = 0x00400000, 138 DI_FLAGSEX_EXCLUDE_OLD_INET_DRIVERS = 0x00800000, 139 DI_FLAGSEX_POWERPAGE_ADDED = 0x01000000 140 } 141 142 enum : DWORD { 143 DIBCI_NOINSTALLCLASS = 0x00000001, 144 DIBCI_NODISPLAYCLASS = 0x00000002 145 } 146 147 enum : DWORD { 148 DICD_GENERATE_ID = 0x00000001, 149 DICD_INHERIT_CLASSDRVS = 0x00000002 150 } 151 152 enum : DWORD { 153 DICS_ENABLE = 1, 154 DICS_DISABLE, 155 DICS_PROPCHANGE, 156 DICS_START, 157 DICS_STOP // = 5 158 } 159 160 enum : DWORD { 161 DICS_FLAG_GLOBAL = 1, 162 DICS_FLAG_CONFIGSPECIFIC = 2, 163 DICS_FLAG_CONFIGGENERAL = 4 164 } 165 166 alias UINT DI_FUNCTION; 167 168 enum : DI_FUNCTION { 169 DIF_SELECTDEVICE = 1, 170 DIF_INSTALLDEVICE, 171 DIF_ASSIGNRESOURCES, 172 DIF_PROPERTIES, 173 DIF_REMOVE, 174 DIF_FIRSTTIMESETUP, 175 DIF_FOUNDDEVICE, 176 DIF_SELECTCLASSDRIVERS, 177 DIF_VALIDATECLASSDRIVERS, 178 DIF_INSTALLCLASSDRIVERS, 179 DIF_CALCDISKSPACE, 180 DIF_DESTROYPRIVATEDATA, 181 DIF_VALIDATEDRIVER, 182 DIF_MOVEDEVICE, 183 DIF_DETECT, 184 DIF_INSTALLWIZARD, 185 DIF_DESTROYWIZARDDATA, 186 DIF_PROPERTYCHANGE, 187 DIF_ENABLECLASS, 188 DIF_DETECTVERIFY, 189 DIF_INSTALLDEVICEFILES, 190 DIF_UNREMOVE, 191 DIF_SELECTBESTCOMPATDRV, 192 DIF_ALLOW_INSTALL, 193 DIF_REGISTERDEVICE, 194 DIF_NEWDEVICEWIZARD_PRESELECT, 195 DIF_NEWDEVICEWIZARD_SELECT, 196 DIF_NEWDEVICEWIZARD_PREANALYZE, 197 DIF_NEWDEVICEWIZARD_POSTANALYZE, 198 DIF_NEWDEVICEWIZARD_FINISHINSTALL, 199 DIF_UNUSED1, 200 DIF_INSTALLINTERFACES, 201 DIF_DETECTCANCEL, 202 DIF_REGISTER_COINSTALLERS, 203 DIF_ADDPROPERTYPAGE_ADVANCED, 204 DIF_ADDPROPERTYPAGE_BASIC, 205 DIF_RESERVED1, 206 DIF_TROUBLESHOOTER, 207 DIF_POWERMESSAGEWAKE // = 39 208 } 209 210 enum : DWORD { 211 DIGCF_DEFAULT = 0x00000001, 212 DIGCF_PRESENT = 0x00000002, 213 DIGCF_ALLCLASSES = 0x00000004, 214 DIGCF_PROFILE = 0x00000008, 215 DIGCF_DEVICEINTERFACE = 0x00000010 216 } 217 218 deprecated enum : DWORD { 219 DIGCF_INTERFACEDEVICE = DIGCF_DEVICEINTERFACE 220 } 221 222 enum : DWORD { 223 DIGCDP_FLAG_BASIC = 0x00000001, 224 DIGCDP_FLAG_ADVANCED = 0x00000002 225 } 226 227 enum : DWORD { 228 DIOCR_INSTALLER = 0x00000001, 229 DIOCR_INTERFACE = 0x00000002 230 } 231 232 enum : DWORD { 233 DIODI_NO_ADD = 0x00000001 234 } 235 236 enum : DWORD { 237 DIOD_INHERIT_CLASSDRVS = 0x00000002, 238 DIOD_CANCEL_REMOVE = 0x00000004 239 } 240 241 enum : DWORD { 242 DIREG_DEV = 0x00000001, 243 DIREG_DRV = 0x00000002, 244 DIREG_BOTH = 0x00000004 245 } 246 247 enum : int { 248 DIRID_ABSOLUTE = -1, 249 DIRID_NULL = 0, 250 DIRID_SRCPATH = 1, 251 DIRID_WINDOWS = 10, 252 DIRID_SYSTEM = 11, 253 DIRID_DRIVERS = 12, 254 DIRID_IOSUBSYS = DIRID_DRIVERS, 255 DIRID_INF = 17, 256 DIRID_HELP = 18, 257 DIRID_FONTS = 20, 258 DIRID_VIEWERS = 21, 259 DIRID_COLOR = 23, 260 DIRID_APPS = 24, 261 DIRID_SHARED = 25, 262 DIRID_BOOT = 30, 263 DIRID_SYSTEM16 = 50, 264 DIRID_SPOOL = 51, 265 DIRID_SPOOLDRIVERS = 52, 266 DIRID_USERPROFILE = 53, 267 DIRID_LOADER = 54, 268 DIRID_PRINTPROCESSOR = 55, 269 DIRID_DEFAULT = DIRID_SYSTEM 270 } 271 272 enum : int { 273 DIRID_COMMON_STARTMENU = 16406, 274 DIRID_COMMON_PROGRAMS = 16407, 275 DIRID_COMMON_STARTUP = 16408, 276 DIRID_COMMON_DESKTOPDIRECTORY = 16409, 277 DIRID_COMMON_FAVORITES = 16415, 278 DIRID_COMMON_APPDATA = 16419, 279 DIRID_PROGRAM_FILES = 16422, 280 DIRID_SYSTEM_X86 = 16425, 281 DIRID_PROGRAM_FILES_X86 = 16426, 282 DIRID_PROGRAM_FILES_COMMON = 16427, 283 DIRID_PROGRAM_FILES_COMMONX86 = 16428, 284 DIRID_COMMON_TEMPLATES = 16429, 285 DIRID_COMMON_DOCUMENTS = 16430, 286 DIRID_USER = 0x8000, 287 DIRID_ABSOLUTE_16BIT = 0xffff 288 } 289 290 enum : DWORD { 291 DMI_MASK = 0x00000001, 292 DMI_BKCOLOR = 0x00000002, 293 DMI_USERECT = 0x00000004 294 } 295 296 enum : DWORD { 297 DNF_DUPDESC = 0x00000001, 298 DNF_OLDDRIVER = 0x00000002, 299 DNF_EXCLUDEFROMLIST = 0x00000004, 300 DNF_NODRIVER = 0x00000008, 301 DNF_LEGACYINF = 0x00000010, 302 DNF_CLASS_DRIVER = 0x00000020, 303 DNF_COMPATIBLE_DRIVER = 0x00000040, 304 DNF_INET_DRIVER = 0x00000080, 305 DNF_UNUSED1 = 0x00000100, 306 DNF_INDEXED_DRIVER = 0x00000200, 307 DNF_OLD_INET_DRIVER = 0x00000400, 308 DNF_BAD_DRIVER = 0x00000800, 309 DNF_DUPPROVIDER = 0x00001000 310 } 311 312 enum : UINT { 313 DPROMPT_SUCCESS, 314 DPROMPT_CANCEL, 315 DPROMPT_SKIPFILE, 316 DPROMPT_BUFFERTOOSMALL, 317 DPROMPT_OUTOFMEMORY // = 4 318 } 319 320 enum : DWORD { 321 DRIVER_HARDWAREID_RANK = 0x00000FFF, 322 DRIVER_COMPATID_RANK = 0x00003FFF, 323 DRIVER_UNTRUSTED_RANK = 0x00008000, 324 DRIVER_UNTRUSTED_HARDWAREID_RANK = 0x00008FFF, 325 DRIVER_UNTRUSTED_COMPATID_RANK = 0x0000BFFF, 326 DRIVER_W9X_SUSPECT_RANK = 0x0000C000, 327 DRIVER_W9X_SUSPECT_HARDWAREID_RANK = 0x0000CFFF, 328 DRIVER_W9X_SUSPECT_COMPATID_RANK = 0x0000FFFF 329 } 330 331 enum : DWORD { 332 DYNAWIZ_FLAG_PAGESADDED = 0x00000001, 333 DYNAWIZ_FLAG_INSTALLDET_NEXT = 0x00000002, 334 DYNAWIZ_FLAG_INSTALLDET_PREV = 0x00000004, 335 DYNAWIZ_FLAG_ANALYZE_HANDLECONFLICT = 0x00000008 336 } 337 338 enum : WORD { 339 ENABLECLASS_QUERY, 340 ENABLECLASS_SUCCESS, 341 ENABLECLASS_FAILURE // = 2 342 } 343 344 enum : DWORD { 345 ERROR_EXPECTED_SECTION_NAME = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0, 346 ERROR_BAD_SECTION_NAME_LINE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 1, 347 ERROR_SECTION_NAME_TOO_LONG = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 2, 348 ERROR_GENERAL_SYNTAX = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 3, 349 ERROR_WRONG_INF_STYLE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x100, 350 ERROR_NOT_INSTALLED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x1000, 351 ERROR_SECTION_NOT_FOUND = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x101, 352 ERROR_LINE_NOT_FOUND = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x102, 353 ERROR_NO_BACKUP = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x103, 354 ERROR_NO_ASSOCIATED_CLASS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x200, 355 ERROR_CLASS_MISMATCH = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x201, 356 ERROR_DUPLICATE_FOUND = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x202, 357 ERROR_NO_DRIVER_SELECTED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x203, 358 ERROR_KEY_DOES_NOT_EXIST = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x204, 359 ERROR_INVALID_DEVINST_NAME = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x205, 360 ERROR_INVALID_CLASS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x206, 361 ERROR_DEVINST_ALREADY_EXISTS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x207, 362 ERROR_DEVINFO_NOT_REGISTERED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x208, 363 ERROR_INVALID_REG_PROPERTY = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x209, 364 ERROR_NO_INF = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20A, 365 ERROR_NO_SUCH_DEVINST = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20B, 366 ERROR_CANT_LOAD_CLASS_ICON = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20C, 367 ERROR_INVALID_CLASS_INSTALLER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20D, 368 ERROR_DI_DO_DEFAULT = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20E, 369 ERROR_DI_NOFILECOPY = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x20F, 370 ERROR_INVALID_HWPROFILE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x210, 371 ERROR_NO_DEVICE_SELECTED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x211, 372 ERROR_DEVINFO_LIST_LOCKED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x212, 373 ERROR_DEVINFO_DATA_LOCKED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x213, 374 ERROR_DI_BAD_PATH = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x214, 375 ERROR_NO_CLASSINSTALL_PARAMS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x215, 376 ERROR_FILEQUEUE_LOCKED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x216, 377 ERROR_BAD_SERVICE_INSTALLSECT = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x217, 378 ERROR_NO_CLASS_DRIVER_LIST = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x218, 379 ERROR_NO_ASSOCIATED_SERVICE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x219, 380 ERROR_NO_DEFAULT_DEVICE_INTERFACE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21A, 381 ERROR_DEVICE_INTERFACE_ACTIVE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21B, 382 ERROR_DEVICE_INTERFACE_REMOVED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21C, 383 ERROR_BAD_INTERFACE_INSTALLSECT = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21D, 384 ERROR_NO_SUCH_INTERFACE_CLASS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21E, 385 ERROR_INVALID_REFERENCE_STRING = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x21F, 386 ERROR_INVALID_MACHINENAME = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x220, 387 ERROR_REMOTE_COMM_FAILURE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x221, 388 ERROR_MACHINE_UNAVAILABLE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x222, 389 ERROR_NO_CONFIGMGR_SERVICES = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x223, 390 ERROR_INVALID_PROPPAGE_PROVIDER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x224, 391 ERROR_NO_SUCH_DEVICE_INTERFACE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x225, 392 ERROR_DI_POSTPROCESSING_REQUIRED = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x226, 393 ERROR_INVALID_COINSTALLER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x227, 394 ERROR_NO_COMPAT_DRIVERS = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x228, 395 ERROR_NO_DEVICE_ICON = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x229, 396 ERROR_INVALID_INF_LOGCONFIG = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22A, 397 ERROR_DI_DONT_INSTALL = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22B, 398 ERROR_INVALID_FILTER_DRIVER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22C, 399 ERROR_NON_WINDOWS_NT_DRIVER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22D, 400 ERROR_NON_WINDOWS_DRIVER = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22E, 401 ERROR_NO_CATALOG_FOR_OEM_INF = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x22F, 402 ERROR_DEVINSTALL_QUEUE_NONNATIVE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x230, 403 ERROR_NOT_DISABLEABLE = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x231, 404 ERROR_CANT_REMOVE_DEVINST = APPLICATION_ERROR_MASK | ERROR_SEVERITY_ERROR | 0x232 405 } 406 407 deprecated enum : DWORD { 408 ERROR_NO_DEFAULT_INTERFACE_DEVICE = ERROR_NO_DEFAULT_DEVICE_INTERFACE, 409 ERROR_INTERFACE_DEVICE_ACTIVE = ERROR_DEVICE_INTERFACE_ACTIVE, 410 ERROR_INTERFACE_DEVICE_REMOVED = ERROR_DEVICE_INTERFACE_REMOVED, 411 ERROR_NO_SUCH_INTERFACE_DEVICE = ERROR_NO_SUCH_DEVICE_INTERFACE, 412 } 413 414 enum : UINT { 415 FILEOP_COPY, 416 FILEOP_RENAME, 417 FILEOP_DELETE, 418 FILEOP_BACKUP, 419 FILEOP_NEWPATH, // = 4 420 FILEOP_ABORT = 0, 421 FILEOP_DOIT, 422 FILEOP_SKIP, // = 2 423 FILEOP_RETRY = FILEOP_DOIT 424 } 425 426 enum : UINT { 427 FILE_COMPRESSION_NONE, 428 FILE_COMPRESSION_WINLZA, 429 FILE_COMPRESSION_MSZIP, 430 FILE_COMPRESSION_NTCAB // = 3 431 } 432 433 enum : DWORD { 434 FLG_ADDREG_TYPE_SZ = 0x00000000, 435 FLG_ADDREG_BINVALUETYPE = 0x00000001, 436 FLG_ADDREG_NOCLOBBER = 0x00000002, 437 FLG_ADDREG_DELVAL = 0x00000004, 438 FLG_ADDREG_APPEND = 0x00000008, 439 FLG_ADDREG_KEYONLY = 0x00000010, 440 FLG_ADDREG_OVERWRITEONLY = 0x00000020, 441 FLG_ADDREG_TYPE_MULTI_SZ = 0x00010000, 442 FLG_ADDREG_TYPE_EXPAND_SZ = 0x00020000, 443 FLG_ADDREG_TYPE_BINARY = 0x00000000 | FLG_ADDREG_BINVALUETYPE, 444 FLG_ADDREG_TYPE_DWORD = 0x00010000 | FLG_ADDREG_BINVALUETYPE, 445 FLG_ADDREG_TYPE_NONE = 0x00020000 | FLG_ADDREG_BINVALUETYPE, 446 FLG_ADDREG_TYPE_MASK = 0xFFFF0000 | FLG_ADDREG_BINVALUETYPE 447 } 448 449 static if (_SETUPAPI_VER >= 0x0501) { 450 enum : DWORD { 451 FLG_ADDREG_64BITKEY = 0x00001000, 452 FLG_ADDREG_KEYONLY_COMMON = 0x00002000, 453 FLG_ADDREG_32BITKEY = 0x00004000, 454 FLG_ADDREG_DELREG_BIT = 0x00008000 455 } 456 } 457 458 enum : DWORD { 459 FLG_DELREG_VALUE = 0x00000000 460 } 461 462 static if (_SETUPAPI_VER >= 0x0501) { 463 enum : DWORD { 464 FLG_DELREG_TYPE_MASK = FLG_ADDREG_TYPE_MASK, 465 FLG_DELREG_TYPE_SZ = FLG_ADDREG_TYPE_SZ, 466 FLG_DELREG_TYPE_MULTI_SZ = FLG_ADDREG_TYPE_MULTI_SZ, 467 FLG_DELREG_TYPE_EXPAND_SZ = FLG_ADDREG_TYPE_EXPAND_SZ, 468 FLG_DELREG_TYPE_BINARY = FLG_ADDREG_TYPE_BINARY, 469 FLG_DELREG_TYPE_DWORD = FLG_ADDREG_TYPE_DWORD, 470 FLG_DELREG_TYPE_NONE = FLG_ADDREG_TYPE_NONE, 471 FLG_DELREG_64BITKEY = FLG_ADDREG_64BITKEY, 472 FLG_DELREG_KEYONLY_COMMON = FLG_ADDREG_KEYONLY_COMMON, 473 FLG_DELREG_32BITKEY = FLG_ADDREG_32BITKEY, 474 FLG_DELREG_OPERATION_MASK = 0x000000FE, 475 FLG_DELREG_MULTI_SZ_DELSTRING = 0x00000002 | FLG_DELREG_TYPE_MULTI_SZ | FLG_ADDREG_DELREG_BIT 476 } 477 } 478 479 enum : DWORD { 480 FLG_BITREG_CLEARBITS = 0x00000000, 481 FLG_BITREG_SETBITS = 0x00000001 482 } 483 484 static if (_SETUPAPI_VER >= 0x0501) { 485 enum : DWORD { 486 FLG_BITREG_64BITKEY = 0x00001000, 487 FLG_BITREG_32BITKEY = 0x00004000 488 } 489 } 490 491 enum : DWORD { 492 FLG_PROFITEM_CURRENTUSER = 0x00000001, 493 FLG_PROFITEM_DELETE = 0x00000002, 494 FLG_PROFITEM_GROUP = 0x00000004, 495 FLG_PROFITEM_CSIDL = 0x00000008 496 } 497 498 enum : DWORD { 499 FLG_REGSVR_DLLREGISTER = 0x00000001, 500 FLG_REGSVR_DLLINSTALL = 0x00000002 501 } 502 503 enum { 504 IDD_DYNAWIZ_FIRSTPAGE = 10000, 505 IDD_DYNAWIZ_SELECT_PREVPAGE, 506 IDD_DYNAWIZ_SELECT_NEXTPAGE, 507 IDD_DYNAWIZ_ANALYZE_PREVPAGE, 508 IDD_DYNAWIZ_ANALYZE_NEXTPAGE, // = 1004 509 IDD_DYNAWIZ_INSTALLDETECTED_PREVPAGE = 10006, 510 IDD_DYNAWIZ_INSTALLDETECTED_NEXTPAGE, 511 IDD_DYNAWIZ_INSTALLDETECTED_NODEVS, 512 IDD_DYNAWIZ_SELECTDEV_PAGE, 513 IDD_DYNAWIZ_ANALYZEDEV_PAGE, 514 IDD_DYNAWIZ_INSTALLDETECTEDDEVS_PAGE, 515 IDD_DYNAWIZ_SELECTCLASS_PAGE, // = 10012 516 MIN_IDD_DYNAWIZ_RESOURCE_ID = 10000, 517 MAX_IDD_DYNAWIZ_RESOURCE_ID = 11000 518 } 519 520 enum : DWORD { 521 IDF_NOBROWSE = 0x00000001, 522 IDF_NOSKIP = 0x00000002, 523 IDF_NODETAILS = 0x00000004, 524 IDF_NOCOMPRESSED = 0x00000008, 525 IDF_CHECKFIRST = 0x00000100, 526 IDF_NOBEEP = 0x00000200, 527 IDF_NOFOREGROUND = 0x00000400, 528 IDF_WARNIFSKIP = 0x00000800 529 } 530 531 static if (_SETUPAPI_VER >= 0x0501) { 532 enum : DWORD { 533 IDF_NOREMOVABLEMEDIAPROMPT = 0x00001000, 534 IDF_USEDISKNAMEASPROMPT = 0x00002000, 535 IDF_OEMDISK = 0x80000000 536 } 537 } 538 539 enum { 540 IDI_RESOURCEFIRST = 159, 541 IDI_RESOURCE = 159, 542 IDI_RESOURCELAST = 161, 543 IDI_RESOURCEOVERLAYFIRST = 161, 544 IDI_RESOURCEOVERLAYLAST = 161, 545 IDI_CONFLICT = 161, 546 IDI_PROBLEM_OVL = 500, 547 IDI_DISABLED_OVL = 501, 548 IDI_FORCED_OVL = 502, 549 IDI_CLASSICON_OVERLAYFIRST = 500, 550 IDI_CLASSICON_OVERLAYLAST = 502 551 } 552 553 enum : DWORD { 554 INF_STYLE_NONE = 0x00000000, 555 INF_STYLE_OLDNT = 0x00000001, 556 INF_STYLE_WIN4 = 0x00000002, 557 INF_STYLE_CACHE_ENABLE = 0x00000010, 558 INF_STYLE_CACHE_DISABLE = 0x00000020 559 } 560 561 enum : DWORD { 562 INFINFO_INF_SPEC_IS_HINF = 1, 563 INFINFO_INF_NAME_IS_ABSOLUTE, 564 INFINFO_DEFAULT_SEARCH, 565 INFINFO_REVERSE_DEFAULT_SEARCH, 566 INFINFO_INF_PATH_LIST_SEARCH // = 5 567 } 568 569 alias DWORD LogSeverity; 570 enum : LogSeverity { 571 LogSevInformation, 572 LogSevWarning, 573 LogSevError, 574 LogSevFatalError, 575 LogSevMaximum // = 4 576 } 577 578 enum MAX_INSTALLWIZARD_DYNAPAGES = 20; 579 580 enum : DWORD { 581 NDW_INSTALLFLAG_DIDFACTDEFS = 0x00000001, 582 NDW_INSTALLFLAG_HARDWAREALLREADYIN = 0x00000002, 583 NDW_INSTALLFLAG_NEEDSHUTDOWN = 0x00000200, 584 NDW_INSTALLFLAG_EXPRESSINTRO = 0x00000400, 585 NDW_INSTALLFLAG_SKIPISDEVINSTALLED = 0x00000800, 586 NDW_INSTALLFLAG_NODETECTEDDEVS = 0x00001000, 587 NDW_INSTALLFLAG_INSTALLSPECIFIC = 0x00002000, 588 NDW_INSTALLFLAG_SKIPCLASSLIST = 0x00004000, 589 NDW_INSTALLFLAG_CI_PICKED_OEM = 0x00008000, 590 NDW_INSTALLFLAG_PCMCIAMODE = 0x00010000, 591 NDW_INSTALLFLAG_PCMCIADEVICE = 0x00020000, 592 NDW_INSTALLFLAG_USERCANCEL = 0x00040000, 593 NDW_INSTALLFLAG_KNOWNCLASS = 0x00080000, 594 NDW_INSTALLFLAG_NEEDRESTART = 0x00000080, 595 NDW_INSTALLFLAG_NEEDREBOOT = 0x00000100 596 } 597 598 enum : DWORD { 599 SETDIRID_NOT_FULL_PATH = 0x00000001 600 } 601 602 enum : DWORD { 603 SP_COPY_DELETESOURCE = 0x0000001, 604 SP_COPY_REPLACEONLY = 0x0000002, 605 SP_COPY_NEWER = 0x0000004, 606 SP_COPY_NEWER_OR_SAME = 0x0000004, 607 SP_COPY_NOOVERWRITE = 0x0000008, 608 SP_COPY_NODECOMP = 0x0000010, 609 SP_COPY_LANGUAGEAWARE = 0x0000020, 610 SP_COPY_SOURCE_ABSOLUTE = 0x0000040, 611 SP_COPY_SOURCEPATH_ABSOLUTE = 0x0000080, 612 SP_COPY_IN_USE_NEEDS_REBOOT = 0x0000100, 613 SP_COPY_FORCE_IN_USE = 0x0000200, 614 SP_COPY_NOSKIP = 0x0000400, 615 SP_FLAG_CABINETCONTINUATION = 0x0000800, 616 SP_COPY_FORCE_NOOVERWRITE = 0x0001000, 617 SP_COPY_FORCE_NEWER = 0x0002000, 618 SP_COPY_WARNIFSKIP = 0x0004000, 619 SP_COPY_NOBROWSE = 0x0008000, 620 SP_COPY_NEWER_ONLY = 0x0010000, 621 SP_COPY_SOURCE_SIS_MASTER = 0x0020000, 622 SP_COPY_OEMINF_CATALOG_ONLY = 0x0040000, 623 SP_COPY_REPLACE_BOOT_FILE = 0x0080000, 624 SP_COPY_NOPRUNE = 0x0100000 625 } 626 627 static if (_SETUPAPI_VER >= 0x0501) { 628 enum : DWORD { 629 SP_COPY_OEM_F6_INF = 0x0200000 630 } 631 } 632 633 enum : DWORD { 634 SPCRP_SECURITY = 23, 635 SPCRP_SECURITY_SDS, 636 SPCRP_DEVTYPE, 637 SPCRP_EXCLUSIVE, 638 SPCRP_CHARACTERISTICS, 639 SPCRP_MAXIMUM_PROPERTY // = 28 640 } 641 642 enum : DWORD { 643 SPDIT_NODRIVER, 644 SPDIT_CLASSDRIVER, 645 SPDIT_COMPATDRIVER // = 2 646 } 647 648 enum : DWORD { 649 SPDRP_DEVICEDESC, 650 SPDRP_HARDWAREID, 651 SPDRP_COMPATIBLEIDS, 652 SPDRP_UNUSED0, 653 SPDRP_SERVICE, 654 SPDRP_UNUSED1, 655 SPDRP_UNUSED2, 656 SPDRP_CLASS, 657 SPDRP_CLASSGUID, 658 SPDRP_DRIVER, 659 SPDRP_CONFIGFLAGS, 660 SPDRP_MFG, 661 SPDRP_FRIENDLYNAME, 662 SPDRP_LOCATION_INFORMATION, 663 SPDRP_PHYSICAL_DEVICE_OBJECT_NAME, 664 SPDRP_CAPABILITIES, 665 SPDRP_UI_NUMBER, 666 SPDRP_UPPERFILTERS, 667 SPDRP_LOWERFILTERS, 668 SPDRP_BUSTYPEGUID, 669 SPDRP_LEGACYBUSTYPE, 670 SPDRP_BUSNUMBER, 671 SPDRP_ENUMERATOR_NAME, 672 SPDRP_SECURITY, 673 SPDRP_SECURITY_SDS, 674 SPDRP_DEVTYPE, 675 SPDRP_EXCLUSIVE, 676 SPDRP_CHARACTERISTICS, 677 SPDRP_ADDRESS, // = 28 678 SPDRP_UI_NUMBER_DESC_FORMAT = 30, 679 SPDRP_MAXIMUM_PROPERTY = 31 680 } 681 682 enum : UINT { 683 SPDSL_IGNORE_DISK = 1, 684 SPDSL_DISALLOW_NEGATIVE_ADJUST 685 } 686 687 enum : UINT { 688 SPFILENOTIFY_STARTQUEUE = 1, 689 SPFILENOTIFY_ENDQUEUE, 690 SPFILENOTIFY_STARTSUBQUEUE, 691 SPFILENOTIFY_ENDSUBQUEUE, 692 SPFILENOTIFY_STARTDELETE, 693 SPFILENOTIFY_ENDDELETE, 694 SPFILENOTIFY_DELETEERROR, 695 SPFILENOTIFY_STARTRENAME, 696 SPFILENOTIFY_ENDRENAME, 697 SPFILENOTIFY_RENAMEERROR, 698 SPFILENOTIFY_STARTCOPY, 699 SPFILENOTIFY_ENDCOPY, 700 SPFILENOTIFY_COPYERROR, 701 SPFILENOTIFY_NEEDMEDIA, 702 SPFILENOTIFY_QUEUESCAN, 703 SPFILENOTIFY_CABINETINFO, 704 SPFILENOTIFY_FILEINCABINET, 705 SPFILENOTIFY_NEEDNEWCABINET, 706 SPFILENOTIFY_FILEEXTRACTED, 707 SPFILENOTIFY_FILEOPDELAYED, 708 SPFILENOTIFY_STARTBACKUP, 709 SPFILENOTIFY_BACKUPERROR, 710 SPFILENOTIFY_ENDBACKUP, 711 SPFILENOTIFY_QUEUESCAN_EX, 712 SPFILENOTIFY_STARTREGISTRATION, // = 25 713 SPFILENOTIFY_ENDREGISTRATION = 32, 714 SPFILENOTIFY_LANGMISMATCH = 0x00010000, 715 SPFILENOTIFY_TARGETEXISTS = 0x00020000, 716 SPFILENOTIFY_TARGETNEWER = 0x00040000 717 } 718 719 static if (_SETUPAPI_VER >= 0x0501) { 720 enum : UINT { 721 SPFILENOTIFY_QUEUESCAN_SIGNERINFO = 0x00000040 722 } 723 } 724 725 enum : DWORD { 726 SPFILELOG_SYSTEMLOG = 0x00000001, 727 SPFILELOG_OEMFILE = 0x00000001, 728 SPFILELOG_FORCENEW = 0x00000002, 729 SPFILELOG_QUERYONLY = 0x00000004 730 } 731 732 enum : INT { 733 SPFILEQ_FILE_IN_USE = 0x00000001, 734 SPFILEQ_REBOOT_RECOMMENDED = 0x00000002, 735 SPFILEQ_REBOOT_IN_PROGRESS = 0x00000004 736 } 737 738 enum : DWORD { 739 SPINT_ACTIVE = 0x00000001, 740 SPINT_DEFAULT = 0x00000002, 741 SPINT_REMOVED = 0x00000004 742 } 743 744 deprecated enum : DWORD { 745 SPID_ACTIVE = SPINT_ACTIVE, 746 SPID_DEFAULT = SPINT_DEFAULT, 747 SPID_REMOVED = SPINT_REMOVED 748 } 749 750 enum : UINT { 751 SPINST_LOGCONFIG = 0x00000001, 752 SPINST_INIFILES = 0x00000002, 753 SPINST_REGISTRY = 0x00000004, 754 SPINST_INI2REG = 0x00000008, 755 SPINST_FILES = 0x00000010, 756 SPINST_BITREG = 0x00000020, 757 SPINST_REGSVR = 0x00000040, 758 SPINST_UNREGSVR = 0x00000080, 759 SPINST_PROFILEITEMS = 0x00000100, 760 SPINST_SINGLESECTION = 0x00010000, 761 SPINST_LOGCONFIG_IS_FORCED = 0x00020000, 762 SPINST_LOGCONFIGS_ARE_OVERRIDES = 0x00040000 763 } 764 765 static if (_SETUPAPI_VER >= 0x0501) { 766 enum : UINT { 767 SPINST_COPYINF = 0x00000200, 768 SPINST_ALL = 0x000003ff, 769 SPINST_REGISTERCALLBACKAWARE = 0x00080000 770 } 771 } else { 772 enum : UINT { 773 SPINST_ALL = 0x000001ff 774 } 775 } 776 777 enum : DWORD { 778 SPOST_NONE, 779 SPOST_PATH, 780 SPOST_URL, 781 SPOST_MAX // = 3 782 } 783 784 enum : DWORD { 785 SPPSR_SELECT_DEVICE_RESOURCES = 1, 786 SPPSR_ENUM_BASIC_DEVICE_PROPERTIES, 787 SPPSR_ENUM_ADV_DEVICE_PROPERTIES 788 } 789 790 enum : DWORD { 791 SPQ_SCAN_FILE_PRESENCE = 0x00000001, 792 SPQ_SCAN_FILE_VALIDITY = 0x00000002, 793 SPQ_SCAN_USE_CALLBACK = 0x00000004, 794 SPQ_SCAN_USE_CALLBACKEX = 0x00000008, 795 SPQ_SCAN_INFORM_USER = 0x00000010, 796 SPQ_SCAN_PRUNE_COPY_QUEUE = 0x00000020 797 } 798 799 static if (_SETUPAPI_VER >= 0x0501) { 800 enum : DWORD { 801 SPQ_SCAN_USE_CALLBACK_SIGNERINFO = 0x00000040, 802 SPQ_SCAN_PRUNE_DELREN = 0x00000080 803 } 804 } 805 806 enum : UINT_PTR { 807 SPQ_DELAYED_COPY = 0x00000001 808 } 809 810 enum : DWORD { 811 SPRDI_FIND_DUPS = 0x00000001, 812 } 813 814 enum : DWORD { 815 SPSVCINST_TAGTOFRONT = 0x00000001, 816 SPSVCINST_ASSOCSERVICE = 0x00000002, 817 SPSVCINST_DELETEEVENTLOGENTRY = 0x00000004, 818 SPSVCINST_NOCLOBBER_DISPLAYNAME = 0x00000008, 819 SPSVCINST_NOCLOBBER_STARTTYPE = 0x00000010, 820 SPSVCINST_NOCLOBBER_ERRORCONTROL = 0x00000020, 821 SPSVCINST_NOCLOBBER_LOADORDERGROUP = 0x00000040, 822 SPSVCINST_NOCLOBBER_DEPENDENCIES = 0x00000080, 823 SPSVCINST_NOCLOBBER_DESCRIPTION = 0x00000100, 824 SPSVCINST_STOPSERVICE = 0x00000200 825 } 826 827 static if (_SETUPAPI_VER >= 0x0501) { 828 enum : DWORD { 829 SPSVCINST_CLOBBER_SECURITY = 0x00000400 830 } 831 } 832 833 enum : DWORD { 834 SPWPT_SELECTDEVICE = 0x00000001 835 } 836 837 enum : DWORD { 838 SPWP_USE_DEVINFO_DATA = 0x00000001 839 } 840 841 enum : UINT { 842 SRCINFO_PATH = 1, 843 SRCINFO_TAGFILE, 844 SRCINFO_DESCRIPTION, 845 SRCINFO_FLAGS // = 4 846 } 847 848 enum : DWORD { 849 SRCLIST_TEMPORARY = 0x00000001, 850 SRCLIST_NOBROWSE = 0x00000002, 851 SRCLIST_SYSTEM = 0x00000010, 852 SRCLIST_USER = 0x00000020, 853 SRCLIST_SYSIFADMIN = 0x00000040, 854 SRCLIST_SUBDIRS = 0x00000100, 855 SRCLIST_APPEND = 0x00000200, 856 SRCLIST_NOSTRIPPLATFORM = 0x00000400 857 } 858 859 alias PVOID HINF; 860 alias PVOID HDSKSPC; 861 mixin DECLARE_HANDLE!("HDEVINFO"); 862 alias PVOID HSPFILEQ; 863 alias PVOID HSPFILELOG; 864 865 enum SetupFileLogInfo { 866 SetupFileLogSourceFilename, 867 SetupFileLogChecksum, 868 SetupFileLogDiskTagfile, 869 SetupFileLogDiskDescription, 870 SetupFileLogOtherInfo, 871 SetupFileLogMax 872 } 873 874 version (Win64) 875 private enum _alignVal = 0; 876 else 877 private enum _alignVal = 1; 878 879 struct INFCONTEXT { 880 PVOID Inf; 881 PVOID CurrentInf; 882 UINT Section; 883 UINT Line; 884 } 885 alias INFCONTEXT* PINFCONTEXT; 886 887 mixin AlignedStr!(_alignVal, "SP_INF_INFORMATION", q{ 888 DWORD InfStyle; 889 DWORD InfCount; 890 BYTE[1] _VersionData; 891 BYTE* VersionData() return { return _VersionData.ptr; } 892 }); 893 alias SP_INF_INFORMATION* PSP_INF_INFORMATION; 894 895 struct SP_ALTPLATFORM_INFO { 896 DWORD cbSize = SP_ALTPLATFORM_INFO.sizeof; 897 DWORD Platform; 898 DWORD MajorVersion; 899 DWORD MinorVersion; 900 WORD ProcessorArchitecture; 901 WORD Reserved; 902 } 903 alias SP_ALTPLATFORM_INFO* PSP_ALTPLATFORM_INFO; 904 905 struct SP_ORIGINAL_FILE_INFO_A { 906 DWORD cbSize = SP_ORIGINAL_FILE_INFO_A.sizeof; 907 CHAR[MAX_PATH] OriginalInfName = 0; 908 CHAR[MAX_PATH] OriginalCatalogName = 0; 909 } 910 alias SP_ORIGINAL_FILE_INFO_A* PSP_ORIGINAL_FILE_INFO_A; 911 912 struct SP_ORIGINAL_FILE_INFO_W { 913 DWORD cbSize = SP_ORIGINAL_FILE_INFO_W.sizeof; 914 WCHAR[MAX_PATH] OriginalInfName = 0; 915 WCHAR[MAX_PATH] OriginalCatalogName = 0; 916 } 917 alias SP_ORIGINAL_FILE_INFO_W* PSP_ORIGINAL_FILE_INFO_W; 918 919 struct FILEPATHS_A { 920 PCSTR Target; 921 PCSTR Source; 922 UINT Win32Error; 923 DWORD Flags; 924 } 925 alias FILEPATHS_A* PFILEPATHS_A; 926 927 struct FILEPATHS_W { 928 PCWSTR Target; 929 PCWSTR Source; 930 UINT Win32Error; 931 DWORD Flags; 932 } 933 alias FILEPATHS_W* PFILEPATHS_W; 934 935 struct SOURCE_MEDIA_A { 936 PCSTR Reserved; 937 PCSTR Tagfile; 938 PCSTR Description; 939 PCSTR SourcePath; 940 PCSTR SourceFile; 941 DWORD Flags; 942 } 943 alias SOURCE_MEDIA_A* PSOURCE_MEDIA_A; 944 945 struct SOURCE_MEDIA_W { 946 PCWSTR Reserved; 947 PCWSTR Tagfile; 948 PCWSTR Description; 949 PCWSTR SourcePath; 950 PCWSTR SourceFile; 951 DWORD Flags; 952 } 953 alias SOURCE_MEDIA_W* PSOURCE_MEDIA_W; 954 955 struct CABINET_INFO_A { 956 PCSTR CabinetPath; 957 PCSTR CabinetFile; 958 PCSTR DiskName; 959 USHORT SetId; 960 USHORT CabinetNumber; 961 } 962 alias CABINET_INFO_A* PCABINET_INFO_A; 963 964 struct CABINET_INFO_W { 965 PCWSTR CabinetPath; 966 PCWSTR CabinetFile; 967 PCWSTR DiskName; 968 USHORT SetId; 969 USHORT CabinetNumber; 970 } 971 alias CABINET_INFO_W* PCABINET_INFO_W; 972 973 mixin AlignedStr!(_alignVal, "FILE_IN_CABINET_INFO_A", q{ 974 PCSTR NameInCabinet; 975 DWORD FileSize; 976 DWORD Win32Error; 977 WORD DosDate; 978 WORD DosTime; 979 WORD DosAttribs; 980 CHAR[MAX_PATH] FullTargetName = 0; 981 }); 982 alias FILE_IN_CABINET_INFO_A* PFILE_IN_CABINET_INFO_A; 983 984 mixin AlignedStr!(_alignVal, "FILE_IN_CABINET_INFO_W", q{ 985 PCWSTR NameInCabinet; 986 DWORD FileSize; 987 DWORD Win32Error; 988 WORD DosDate; 989 WORD DosTime; 990 WORD DosAttribs; 991 WCHAR[MAX_PATH] FullTargetName = 0; 992 }); 993 alias FILE_IN_CABINET_INFO_W* PFILE_IN_CABINET_INFO_W; 994 995 struct SP_FILE_COPY_PARAMS_A { 996 DWORD cbSize = SP_FILE_COPY_PARAMS_A.sizeof; 997 HSPFILEQ QueueHandle; 998 PCSTR SourceRootPath; 999 PCSTR SourcePath; 1000 PCSTR SourceFilename; 1001 PCSTR SourceDescription; 1002 PCSTR SourceTagfile; 1003 PCSTR TargetDirectory; 1004 PCSTR TargetFilename; 1005 DWORD CopyStyle; 1006 HINF LayoutInf; 1007 PCSTR SecurityDescriptor; 1008 } 1009 alias SP_FILE_COPY_PARAMS_A* PSP_FILE_COPY_PARAMS_A; 1010 1011 struct SP_FILE_COPY_PARAMS_W { 1012 DWORD cbSize = SP_FILE_COPY_PARAMS_W.sizeof; 1013 HSPFILEQ QueueHandle; 1014 PCWSTR SourceRootPath; 1015 PCWSTR SourcePath; 1016 PCWSTR SourceFilename; 1017 PCWSTR SourceDescription; 1018 PCWSTR SourceTagfile; 1019 PCWSTR TargetDirectory; 1020 PCWSTR TargetFilename; 1021 DWORD CopyStyle; 1022 HINF LayoutInf; 1023 PCWSTR SecurityDescriptor; 1024 } 1025 alias SP_FILE_COPY_PARAMS_W* PSP_FILE_COPY_PARAMS_W; 1026 1027 struct SP_DEVINFO_DATA { 1028 DWORD cbSize = SP_DEVINFO_DATA.sizeof; 1029 GUID ClassGuid; 1030 DWORD DevInst; 1031 ULONG_PTR Reserved; 1032 } 1033 alias SP_DEVINFO_DATA* PSP_DEVINFO_DATA; 1034 1035 mixin AlignedStr!(_alignVal, "SP_DEVICE_INTERFACE_DATA", q{ 1036 DWORD cbSize = SP_DEVICE_INTERFACE_DATA.sizeof; 1037 GUID InterfaceClassGuid; 1038 DWORD Flags; 1039 ULONG_PTR Reserved; 1040 }); 1041 alias SP_DEVICE_INTERFACE_DATA* PSP_DEVICE_INTERFACE_DATA; 1042 deprecated alias SP_DEVICE_INTERFACE_DATA SP_INTERFACE_DEVICE_DATA; 1043 deprecated alias SP_DEVICE_INTERFACE_DATA* PSP_INTERFACE_DEVICE_DATA; 1044 1045 mixin AlignedStr!(_alignVal, "SP_DEVICE_INTERFACE_DETAIL_DATA_A", q{ 1046 DWORD cbSize = SP_DEVICE_INTERFACE_DETAIL_DATA_A.sizeof; 1047 CHAR[1] _DevicePath = 0; 1048 CHAR* DevicePath() return { return _DevicePath.ptr; } 1049 }); 1050 alias SP_DEVICE_INTERFACE_DETAIL_DATA_A* PSP_DEVICE_INTERFACE_DETAIL_DATA_A; 1051 1052 mixin AlignedStr!(_alignVal, "SP_DEVICE_INTERFACE_DETAIL_DATA_W", q{ 1053 DWORD cbSize = SP_DEVICE_INTERFACE_DETAIL_DATA_W.sizeof; 1054 WCHAR[1] _DevicePath = 0; 1055 WCHAR* DevicePath() return { return _DevicePath.ptr; } 1056 }); 1057 alias SP_DEVICE_INTERFACE_DETAIL_DATA_W* PSP_DEVICE_INTERFACE_DETAIL_DATA_W; 1058 1059 deprecated alias SP_DEVICE_INTERFACE_DETAIL_DATA_A SP_INTERFACE_DEVICE_DETAIL_DATA_A; 1060 deprecated alias SP_DEVICE_INTERFACE_DETAIL_DATA_A* PSP_INTERFACE_DEVICE_DETAIL_DATA_A; 1061 deprecated alias SP_DEVICE_INTERFACE_DETAIL_DATA_W SP_INTERFACE_DEVICE_DETAIL_DATA_W; 1062 deprecated alias SP_DEVICE_INTERFACE_DETAIL_DATA_W* PSP_INTERFACE_DEVICE_DETAIL_DATA_W; 1063 1064 mixin AlignedStr!(_alignVal, "SP_DEVINFO_LIST_DETAIL_DATA_A", q{ 1065 DWORD cbSize = SP_DEVINFO_LIST_DETAIL_DATA_A.sizeof; 1066 GUID ClassGuid; 1067 HANDLE RemoteMachineHandle; 1068 CHAR[SP_MAX_MACHINENAME_LENGTH] RemoteMachineName = 0; 1069 }); 1070 alias SP_DEVINFO_LIST_DETAIL_DATA_A* PSP_DEVINFO_LIST_DETAIL_DATA_A; 1071 1072 mixin AlignedStr!(_alignVal, "SP_DEVINFO_LIST_DETAIL_DATA_W", q{ 1073 DWORD cbSize = SP_DEVINFO_LIST_DETAIL_DATA_W.sizeof; 1074 GUID ClassGuid; 1075 HANDLE RemoteMachineHandle; 1076 WCHAR[SP_MAX_MACHINENAME_LENGTH] RemoteMachineName = 0; 1077 }); 1078 alias SP_DEVINFO_LIST_DETAIL_DATA_W* PSP_DEVINFO_LIST_DETAIL_DATA_W; 1079 1080 extern(Windows) alias UINT function(PVOID, UINT, UINT_PTR, UINT_PTR) PSP_FILE_CALLBACK_A; 1081 extern(Windows) alias UINT function(PVOID, UINT, UINT_PTR, UINT_PTR) PSP_FILE_CALLBACK_W; 1082 1083 struct SP_DEVINSTALL_PARAMS_A { 1084 DWORD cbSize = SP_DEVINSTALL_PARAMS_A.sizeof; 1085 DWORD Flags; 1086 DWORD FlagsEx; 1087 HWND hwndParent; 1088 PSP_FILE_CALLBACK_A InstallMsgHandler; 1089 PVOID InstallMsgHandlerContext; 1090 HSPFILEQ FileQueue; 1091 ULONG_PTR ClassInstallReserved; 1092 DWORD Reserved; 1093 CHAR[MAX_PATH] DriverPath = 0; 1094 } 1095 alias SP_DEVINSTALL_PARAMS_A* PSP_DEVINSTALL_PARAMS_A; 1096 1097 struct SP_DEVINSTALL_PARAMS_W { 1098 DWORD cbSize = SP_DEVINSTALL_PARAMS_W.sizeof; 1099 DWORD Flags; 1100 DWORD FlagsEx; 1101 HWND hwndParent; 1102 PSP_FILE_CALLBACK_W InstallMsgHandler; 1103 PVOID InstallMsgHandlerContext; 1104 HSPFILEQ FileQueue; 1105 ULONG_PTR ClassInstallReserved; 1106 DWORD Reserved; 1107 WCHAR[MAX_PATH] DriverPath = 0; 1108 } 1109 alias SP_DEVINSTALL_PARAMS_W* PSP_DEVINSTALL_PARAMS_W; 1110 1111 struct SP_CLASSINSTALL_HEADER { 1112 DWORD cbSize = SP_CLASSINSTALL_HEADER.sizeof; 1113 DI_FUNCTION InstallFunction; 1114 } 1115 alias SP_CLASSINSTALL_HEADER* PSP_CLASSINSTALL_HEADER; 1116 1117 struct SP_ENABLECLASS_PARAMS { 1118 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1119 GUID ClassGuid; 1120 DWORD EnableMessage; 1121 } 1122 alias SP_ENABLECLASS_PARAMS* PSP_ENABLECLASS_PARAMS; 1123 1124 struct SP_MOVEDEV_PARAMS { 1125 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1126 SP_DEVINFO_DATA SourceDeviceInfoData; 1127 } 1128 alias SP_MOVEDEV_PARAMS* PSP_MOVEDEV_PARAMS; 1129 1130 struct SP_PROPCHANGE_PARAMS { 1131 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1132 DWORD StateChange; 1133 DWORD Scope; 1134 DWORD HwProfile; 1135 } 1136 alias SP_PROPCHANGE_PARAMS* PSP_PROPCHANGE_PARAMS; 1137 1138 struct SP_REMOVEDEVICE_PARAMS { 1139 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1140 DWORD Scope; 1141 DWORD HwProfile; 1142 } 1143 alias SP_REMOVEDEVICE_PARAMS* PSP_REMOVEDEVICE_PARAMS; 1144 1145 struct SP_UNREMOVEDEVICE_PARAMS { 1146 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1147 DWORD Scope; 1148 DWORD HwProfile; 1149 } 1150 alias SP_UNREMOVEDEVICE_PARAMS* PSP_UNREMOVEDEVICE_PARAMS; 1151 1152 struct SP_SELECTDEVICE_PARAMS_A { 1153 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1154 CHAR[MAX_TITLE_LEN] Title = 0; 1155 CHAR[MAX_INSTRUCTION_LEN] Instructions = 0; 1156 CHAR[MAX_LABEL_LEN] ListLabel = 0; 1157 CHAR[MAX_SUBTITLE_LEN] SubTitle = 0; 1158 BYTE[2] Reserved; 1159 } 1160 alias SP_SELECTDEVICE_PARAMS_A* PSP_SELECTDEVICE_PARAMS_A; 1161 1162 struct SP_SELECTDEVICE_PARAMS_W { 1163 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1164 WCHAR[MAX_TITLE_LEN] Title = 0; 1165 WCHAR[MAX_INSTRUCTION_LEN] Instructions = 0; 1166 WCHAR[MAX_LABEL_LEN] ListLabel = 0; 1167 WCHAR[MAX_SUBTITLE_LEN] SubTitle = 0; 1168 } 1169 alias SP_SELECTDEVICE_PARAMS_W* PSP_SELECTDEVICE_PARAMS_W; 1170 1171 extern(Windows) alias BOOL function(PVOID, DWORD) PDETECT_PROGRESS_NOTIFY; 1172 1173 struct SP_DETECTDEVICE_PARAMS { 1174 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1175 PDETECT_PROGRESS_NOTIFY DetectProgressNotify; 1176 PVOID ProgressNotifyParam; 1177 } 1178 alias SP_DETECTDEVICE_PARAMS* PSP_DETECTDEVICE_PARAMS; 1179 1180 struct SP_INSTALLWIZARD_DATA { 1181 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1182 DWORD Flags; 1183 HPROPSHEETPAGE[MAX_INSTALLWIZARD_DYNAPAGES] DynamicPages; 1184 DWORD NumDynamicPages; 1185 DWORD DynamicPageFlags; 1186 DWORD PrivateFlags; 1187 LPARAM PrivateData; 1188 HWND hwndWizardDlg; 1189 } 1190 alias SP_INSTALLWIZARD_DATA* PSP_INSTALLWIZARD_DATA; 1191 1192 struct SP_NEWDEVICEWIZARD_DATA { 1193 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1194 DWORD Flags; 1195 HPROPSHEETPAGE[MAX_INSTALLWIZARD_DYNAPAGES] DynamicPages; 1196 DWORD NumDynamicPages; 1197 HWND hwndWizardDlg; 1198 } 1199 alias SP_NEWDEVICEWIZARD_DATA* PSP_NEWDEVICEWIZARD_DATA; 1200 alias SP_NEWDEVICEWIZARD_DATA SP_ADDPROPERTYPAGE_DATA; 1201 alias SP_NEWDEVICEWIZARD_DATA* PSP_ADDPROPERTYPAGE_DATA; 1202 1203 struct SP_TROUBLESHOOTER_PARAMS_A { 1204 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1205 CHAR[MAX_PATH] ChmFile = 0; 1206 CHAR[MAX_PATH] HtmlTroubleShooter = 0; 1207 } 1208 alias SP_TROUBLESHOOTER_PARAMS_A* PSP_TROUBLESHOOTER_PARAMS_A; 1209 1210 struct SP_TROUBLESHOOTER_PARAMS_W { 1211 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1212 WCHAR[MAX_PATH] ChmFile = 0; 1213 WCHAR[MAX_PATH] HtmlTroubleShooter = 0; 1214 } 1215 alias SP_TROUBLESHOOTER_PARAMS_W* PSP_TROUBLESHOOTER_PARAMS_W; 1216 1217 struct SP_POWERMESSAGEWAKE_PARAMS_A { 1218 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1219 CHAR[LINE_LEN*2] PowerMessageWake = 0; 1220 } 1221 alias SP_POWERMESSAGEWAKE_PARAMS_A* PSP_POWERMESSAGEWAKE_PARAMS_A; 1222 1223 struct SP_POWERMESSAGEWAKE_PARAMS_W { 1224 SP_CLASSINSTALL_HEADER ClassInstallHeader; 1225 WCHAR[LINE_LEN*2] PowerMessageWake = 0; 1226 } 1227 alias SP_POWERMESSAGEWAKE_PARAMS_W* PSP_POWERMESSAGEWAKE_PARAMS_W; 1228 1229 mixin AlignedStr!(_alignVal, "SP_DRVINFO_DATA_V2_A", q{ 1230 DWORD cbSize = SP_DRVINFO_DATA_V2_A.sizeof; 1231 DWORD DriverType; 1232 ULONG_PTR Reserved; 1233 CHAR[LINE_LEN] Description = 0; 1234 CHAR[LINE_LEN] MfgName = 0; 1235 CHAR[LINE_LEN] ProviderName = 0; 1236 FILETIME DriverDate; 1237 DWORDLONG DriverVersion; 1238 }); 1239 alias SP_DRVINFO_DATA_V2_A* PSP_DRVINFO_DATA_V2_A; 1240 1241 mixin AlignedStr!(_alignVal, "SP_DRVINFO_DATA_V2_W", q{ 1242 DWORD cbSize = SP_DRVINFO_DATA_V2_A.sizeof; 1243 DWORD DriverType; 1244 ULONG_PTR Reserved; 1245 WCHAR[LINE_LEN] Description = 0; 1246 WCHAR[LINE_LEN] MfgName = 0; 1247 WCHAR[LINE_LEN] ProviderName = 0; 1248 FILETIME DriverDate; 1249 DWORDLONG DriverVersion; 1250 }); 1251 alias SP_DRVINFO_DATA_V2_W* PSP_DRVINFO_DATA_V2_W; 1252 1253 struct SP_DRVINFO_DATA_V1_A { 1254 DWORD cbSize = SP_DRVINFO_DATA_V1_A.sizeof; 1255 DWORD DriverType; 1256 ULONG_PTR Reserved; 1257 CHAR[LINE_LEN] Description = 0; 1258 CHAR[LINE_LEN] MfgName = 0; 1259 CHAR[LINE_LEN] ProviderName = 0; 1260 } 1261 alias SP_DRVINFO_DATA_V1_A* PSP_DRVINFO_DATA_V1_A; 1262 1263 struct SP_DRVINFO_DATA_V1_W { 1264 DWORD cbSize = SP_DRVINFO_DATA_V1_W.sizeof; 1265 DWORD DriverType; 1266 ULONG_PTR Reserved; 1267 WCHAR[LINE_LEN] Description = 0; 1268 WCHAR[LINE_LEN] MfgName = 0; 1269 WCHAR[LINE_LEN] ProviderName = 0; 1270 } 1271 alias SP_DRVINFO_DATA_V1_W* PSP_DRVINFO_DATA_V1_W; 1272 1273 version (Unicode) { 1274 alias SP_DRVINFO_DATA_V1_W SP_DRVINFO_DATA_V1; 1275 alias SP_DRVINFO_DATA_V2_W SP_DRVINFO_DATA_V2; 1276 } else { 1277 alias SP_DRVINFO_DATA_V1_A SP_DRVINFO_DATA_V1; 1278 alias SP_DRVINFO_DATA_V2_A SP_DRVINFO_DATA_V2; 1279 } 1280 alias SP_DRVINFO_DATA_V1* PSP_DRVINFO_DATA_V1; 1281 alias SP_DRVINFO_DATA_V2* PSP_DRVINFO_DATA_V2; 1282 1283 static if (USE_SP_DRVINFO_DATA_V1) { 1284 alias SP_DRVINFO_DATA_V1_A SP_DRVINFO_DATA_A; 1285 alias SP_DRVINFO_DATA_V1_A* PSP_DRVINFO_DATA_A; 1286 alias SP_DRVINFO_DATA_V1_W SP_DRVINFO_DATA_W; 1287 alias SP_DRVINFO_DATA_V1_W* PSP_DRVINFO_DATA_W; 1288 alias SP_DRVINFO_DATA_V1 SP_DRVINFO_DATA; 1289 alias SP_DRVINFO_DATA_V1* PSP_DRVINFO_DATA; 1290 } else { 1291 alias SP_DRVINFO_DATA_V2_A SP_DRVINFO_DATA_A; 1292 alias SP_DRVINFO_DATA_V2_A* PSP_DRVINFO_DATA_A; 1293 alias SP_DRVINFO_DATA_V2_W SP_DRVINFO_DATA_W; 1294 alias SP_DRVINFO_DATA_V2_W* PSP_DRVINFO_DATA_W; 1295 alias SP_DRVINFO_DATA_V2 SP_DRVINFO_DATA; 1296 alias SP_DRVINFO_DATA_V2* PSP_DRVINFO_DATA; 1297 } 1298 1299 extern(Windows) alias DWORD function(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINFO_DATA, PVOID) PSP_DETSIG_CMPPROC; 1300 1301 mixin AlignedStr!(_alignVal, "SP_DRVINFO_DETAIL_DATA_A", q{ 1302 DWORD cbSize = SP_DRVINFO_DETAIL_DATA_A.sizeof; 1303 FILETIME InfDate; 1304 DWORD CompatIDsOffset; 1305 DWORD CompatIDsLength; 1306 ULONG_PTR Reserved; 1307 CHAR[LINE_LEN] SectionName = 0; 1308 CHAR[MAX_PATH] InfFileName = 0; 1309 CHAR[LINE_LEN] DrvDescription = 0; 1310 CHAR[1] _HardwareID = 0; 1311 CHAR* HardwareID() return { return _HardwareID.ptr; } 1312 }); 1313 alias SP_DRVINFO_DETAIL_DATA_A* PSP_DRVINFO_DETAIL_DATA_A; 1314 1315 mixin AlignedStr!(_alignVal, "SP_DRVINFO_DETAIL_DATA_W", q{ 1316 DWORD cbSize = SP_DRVINFO_DETAIL_DATA_W.sizeof; 1317 FILETIME InfDate; 1318 DWORD CompatIDsOffset; 1319 DWORD CompatIDsLength; 1320 ULONG_PTR Reserved; 1321 WCHAR[LINE_LEN] SectionName = 0; 1322 WCHAR[MAX_PATH] InfFileName = 0; 1323 WCHAR[LINE_LEN] DrvDescription = 0; 1324 WCHAR[1] _HardwareID = 0; 1325 WCHAR* HardwareID() return { return _HardwareID.ptr; } 1326 }); 1327 alias SP_DRVINFO_DETAIL_DATA_W* PSP_DRVINFO_DETAIL_DATA_W; 1328 1329 struct SP_DRVINSTALL_PARAMS { 1330 DWORD cbSize = SP_DRVINSTALL_PARAMS.sizeof; 1331 DWORD Rank; 1332 DWORD Flags; 1333 DWORD_PTR PrivateData; 1334 DWORD Reserved; 1335 } 1336 alias SP_DRVINSTALL_PARAMS* PSP_DRVINSTALL_PARAMS; 1337 1338 struct COINSTALLER_CONTEXT_DATA { 1339 BOOL PostProcessing; 1340 DWORD InstallResult; 1341 PVOID PrivateData; 1342 } 1343 alias COINSTALLER_CONTEXT_DATA* PCOINSTALLER_CONTEXT_DATA; 1344 1345 struct SP_CLASSIMAGELIST_DATA { 1346 DWORD cbSize = SP_CLASSIMAGELIST_DATA.sizeof; 1347 HIMAGELIST ImageList; 1348 ULONG_PTR Reserved; 1349 } 1350 alias SP_CLASSIMAGELIST_DATA* PSP_CLASSIMAGELIST_DATA; 1351 1352 struct SP_PROPSHEETPAGE_REQUEST { 1353 DWORD cbSize = SP_PROPSHEETPAGE_REQUEST.sizeof; 1354 DWORD PageRequested; 1355 HDEVINFO DeviceInfoSet; 1356 PSP_DEVINFO_DATA DeviceInfoData; 1357 } 1358 alias SP_PROPSHEETPAGE_REQUEST* PSP_PROPSHEETPAGE_REQUEST; 1359 1360 struct SP_BACKUP_QUEUE_PARAMS_A { 1361 DWORD cbSize = SP_BACKUP_QUEUE_PARAMS_A.sizeof; 1362 CHAR[MAX_PATH] FullInfPath = 0; 1363 INT FilenameOffset; 1364 } 1365 alias SP_BACKUP_QUEUE_PARAMS_A* PSP_BACKUP_QUEUE_PARAMS_A; 1366 1367 struct SP_BACKUP_QUEUE_PARAMS_W { 1368 DWORD cbSize = SP_BACKUP_QUEUE_PARAMS_W.sizeof; 1369 WCHAR[MAX_PATH] FullInfPath = 0; 1370 INT FilenameOffset; 1371 } 1372 alias SP_BACKUP_QUEUE_PARAMS_W* PSP_BACKUP_QUEUE_PARAMS_W; 1373 1374 version (Unicode) { 1375 alias SP_ORIGINAL_FILE_INFO_W SP_ORIGINAL_FILE_INFO; 1376 alias SP_ORIGINAL_FILE_INFO_W* PSP_ORIGINAL_FILE_INFO; 1377 alias FILEPATHS_W FILEPATHS; 1378 alias FILEPATHS_W* PFILEPATHS; 1379 alias SOURCE_MEDIA_W SOURCE_MEDIA; 1380 alias SOURCE_MEDIA_W* PSOURCE_MEDIA; 1381 alias CABINET_INFO_W CABINET_INFO; 1382 alias CABINET_INFO_W* PCABINET_INFO; 1383 alias FILE_IN_CABINET_INFO_W FILE_IN_CABINET_INFO; 1384 alias FILE_IN_CABINET_INFO_W* PFILE_IN_CABINET_INFO; 1385 alias SP_FILE_COPY_PARAMS_W SP_FILE_COPY_PARAMS; 1386 alias SP_FILE_COPY_PARAMS_W* PSP_FILE_COPY_PARAMS; 1387 alias SP_DEVICE_INTERFACE_DETAIL_DATA_W SP_DEVICE_INTERFACE_DETAIL_DATA; 1388 alias SP_DEVICE_INTERFACE_DETAIL_DATA_W* PSP_DEVICE_INTERFACE_DETAIL_DATA; 1389 deprecated { 1390 alias SP_DEVICE_INTERFACE_DETAIL_DATA_W SP_INTERFACE_DEVICE_DETAIL_DATA; 1391 alias SP_DEVICE_INTERFACE_DETAIL_DATA_W* PSP_INTERFACE_DEVICE_DETAIL_DATA; 1392 } 1393 alias SP_DEVINFO_LIST_DETAIL_DATA_W SP_DEVINFO_LIST_DETAIL_DATA; 1394 alias SP_DEVINFO_LIST_DETAIL_DATA_W *PSP_DEVINFO_LIST_DETAIL_DATA; 1395 alias SP_DEVINSTALL_PARAMS_W SP_DEVINSTALL_PARAMS; 1396 alias SP_DEVINSTALL_PARAMS_W* PSP_DEVINSTALL_PARAMS; 1397 alias SP_SELECTDEVICE_PARAMS_W SP_SELECTDEVICE_PARAMS; 1398 alias SP_SELECTDEVICE_PARAMS_W* PSP_SELECTDEVICE_PARAMS; 1399 alias SP_TROUBLESHOOTER_PARAMS_W SP_TROUBLESHOOTER_PARAMS; 1400 alias SP_TROUBLESHOOTER_PARAMS_W* PSP_TROUBLESHOOTER_PARAMS; 1401 alias SP_POWERMESSAGEWAKE_PARAMS_W SP_POWERMESSAGEWAKE_PARAMS; 1402 alias SP_POWERMESSAGEWAKE_PARAMS_W* PSP_POWERMESSAGEWAKE_PARAMS; 1403 alias SP_DRVINFO_DETAIL_DATA_W SP_DRVINFO_DETAIL_DATA; 1404 alias SP_DRVINFO_DETAIL_DATA_W* PSP_DRVINFO_DETAIL_DATA; 1405 alias SP_BACKUP_QUEUE_PARAMS_W SP_BACKUP_QUEUE_PARAMS; 1406 alias SP_BACKUP_QUEUE_PARAMS_W* PSP_BACKUP_QUEUE_PARAMS; 1407 } else { 1408 alias SP_ORIGINAL_FILE_INFO_A SP_ORIGINAL_FILE_INFO; 1409 alias SP_ORIGINAL_FILE_INFO_A* PSP_ORIGINAL_FILE_INFO; 1410 alias FILEPATHS_A FILEPATHS; 1411 alias FILEPATHS_A* PFILEPATHS; 1412 alias SOURCE_MEDIA_A SOURCE_MEDIA; 1413 alias SOURCE_MEDIA_A* PSOURCE_MEDIA; 1414 alias CABINET_INFO_A CABINET_INFO; 1415 alias CABINET_INFO_A* PCABINET_INFO; 1416 alias FILE_IN_CABINET_INFO_A FILE_IN_CABINET_INFO; 1417 alias FILE_IN_CABINET_INFO_A* PFILE_IN_CABINET_INFO; 1418 alias SP_FILE_COPY_PARAMS_A SP_FILE_COPY_PARAMS; 1419 alias SP_FILE_COPY_PARAMS_A* PSP_FILE_COPY_PARAMS; 1420 alias SP_DEVICE_INTERFACE_DETAIL_DATA_A SP_DEVICE_INTERFACE_DETAIL_DATA; 1421 alias SP_DEVICE_INTERFACE_DETAIL_DATA_A* PSP_DEVICE_INTERFACE_DETAIL_DATA; 1422 deprecated { 1423 alias SP_DEVICE_INTERFACE_DETAIL_DATA_A SP_INTERFACE_DEVICE_DETAIL_DATA; 1424 alias SP_DEVICE_INTERFACE_DETAIL_DATA_A* PSP_INTERFACE_DEVICE_DETAIL_DATA; 1425 } 1426 alias SP_DEVINFO_LIST_DETAIL_DATA_A SP_DEVINFO_LIST_DETAIL_DATA; 1427 alias SP_DEVINFO_LIST_DETAIL_DATA_A* PSP_DEVINFO_LIST_DETAIL_DATA; 1428 alias SP_DEVINSTALL_PARAMS_A SP_DEVINSTALL_PARAMS; 1429 alias SP_DEVINSTALL_PARAMS_A* PSP_DEVINSTALL_PARAMS; 1430 alias SP_SELECTDEVICE_PARAMS_A SP_SELECTDEVICE_PARAMS; 1431 alias SP_SELECTDEVICE_PARAMS_A* PSP_SELECTDEVICE_PARAMS; 1432 alias SP_TROUBLESHOOTER_PARAMS_A SP_TROUBLESHOOTER_PARAMS; 1433 alias SP_TROUBLESHOOTER_PARAMS_A* PSP_TROUBLESHOOTER_PARAMS; 1434 alias SP_POWERMESSAGEWAKE_PARAMS_A SP_POWERMESSAGEWAKE_PARAMS; 1435 alias SP_POWERMESSAGEWAKE_PARAMS_A* PSP_POWERMESSAGEWAKE_PARAMS; 1436 alias SP_DRVINFO_DETAIL_DATA_A SP_DRVINFO_DETAIL_DATA; 1437 alias SP_DRVINFO_DETAIL_DATA_A* PSP_DRVINFO_DETAIL_DATA; 1438 alias SP_BACKUP_QUEUE_PARAMS_A SP_BACKUP_QUEUE_PARAMS; 1439 alias SP_BACKUP_QUEUE_PARAMS_A* PSP_BACKUP_QUEUE_PARAMS; 1440 } 1441 1442 extern (Windows) { 1443 BOOL SetupAddInstallSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, PVOID, UINT); 1444 BOOL SetupAddInstallSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, PVOID, UINT); 1445 BOOL SetupAddSectionToDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT); 1446 BOOL SetupAddSectionToDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT); 1447 BOOL SetupAddToDiskSpaceListA(HDSKSPC, PCSTR, LONGLONG, UINT, PVOID, UINT); 1448 BOOL SetupAddToDiskSpaceListW(HDSKSPC, PCWSTR, LONGLONG, UINT, PVOID, UINT); 1449 BOOL SetupAddToSourceListA(DWORD, PCSTR); 1450 BOOL SetupAddToSourceListW(DWORD, PCWSTR); 1451 BOOL SetupQuerySourceListA(DWORD, PCSTR**List, PUINT); 1452 BOOL SetupQuerySourceListW(DWORD, PCWSTR**List, PUINT); 1453 BOOL SetupFreeSourceListA(PCSTR**List, UINT); 1454 BOOL SetupFreeSourceListW(PCWSTR**List, UINT); 1455 BOOL SetupAdjustDiskSpaceListA(HDSKSPC, LPCSTR, LONGLONG, PVOID, UINT); 1456 BOOL SetupAdjustDiskSpaceListW(HDSKSPC, LPCWSTR, LONGLONG, PVOID, UINT); 1457 UINT SetupBackupErrorA(HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD); 1458 UINT SetupBackupErrorW(HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD); 1459 BOOL SetupCancelTemporary(); 1460 BOOL SetupCloseFileQueue(HSPFILEQ); 1461 VOID SetupCloseInfFile(HINF); 1462 VOID SetupCloseLog(); 1463 BOOL SetupCommitFileQueueA(HWND, HSPFILEQ, PSP_FILE_CALLBACK_A, PVOID); 1464 BOOL SetupCommitFileQueueW(HWND, HSPFILEQ, PSP_FILE_CALLBACK_W, PVOID); 1465 UINT SetupCopyErrorA(HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, UINT, DWORD, PSTR, DWORD, PDWORD); 1466 UINT SetupCopyErrorW(HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD, PWSTR, DWORD, PDWORD); 1467 BOOL SetupCopyOEMInfA(PCSTR, PCSTR, DWORD, DWORD, PSTR, DWORD, PDWORD, PSTR*); 1468 BOOL SetupCopyOEMInfW(PCWSTR, PCWSTR, DWORD, DWORD, PWSTR, DWORD, PDWORD, PWSTR*); 1469 HDSKSPC SetupCreateDiskSpaceListA(PVOID, DWORD, UINT); 1470 HDSKSPC SetupCreateDiskSpaceListW(PVOID, DWORD, UINT); 1471 DWORD SetupDecompressOrCopyFileA(PCSTR, PCSTR, PUINT); 1472 DWORD SetupDecompressOrCopyFileW(PCWSTR, PCWSTR, PUINT); 1473 UINT SetupDefaultQueueCallbackA(PVOID, UINT, UINT_PTR, UINT_PTR); 1474 UINT SetupDefaultQueueCallbackW(PVOID, UINT, UINT_PTR, UINT_PTR); 1475 UINT SetupDeleteErrorA(HWND, PCSTR, PCSTR, UINT, DWORD); 1476 UINT SetupDeleteErrorW(HWND, PCWSTR, PCWSTR, UINT, DWORD); 1477 BOOL SetupDestroyDiskSpaceList(HDSKSPC); 1478 BOOL SetupDiAskForOEMDisk(HDEVINFO, PSP_DEVINFO_DATA); 1479 BOOL SetupDiBuildClassInfoList(DWORD, LPGUID, DWORD, PDWORD); 1480 BOOL SetupDiBuildClassInfoListExA(DWORD, LPGUID, DWORD, PDWORD, PCSTR, PVOID); 1481 BOOL SetupDiBuildClassInfoListExW(DWORD, LPGUID, DWORD, PDWORD, PCWSTR, PVOID); 1482 BOOL SetupDiBuildDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD); 1483 BOOL SetupDiCallClassInstaller(DI_FUNCTION, HDEVINFO, PSP_DEVINFO_DATA); 1484 BOOL SetupDiCancelDriverInfoSearch(HDEVINFO); 1485 BOOL SetupDiChangeState(HDEVINFO, PSP_DEVINFO_DATA); 1486 BOOL SetupDiClassGuidsFromNameA(PCSTR, LPGUID, DWORD, PDWORD); 1487 BOOL SetupDiClassGuidsFromNameW(PCWSTR, LPGUID, DWORD, PDWORD); 1488 BOOL SetupDiClassGuidsFromNameExA(PCSTR, LPGUID, DWORD, PDWORD, PCSTR, PVOID); 1489 BOOL SetupDiClassGuidsFromNameExW(PCWSTR, LPGUID, DWORD, PDWORD, PCWSTR, PVOID); 1490 BOOL SetupDiClassNameFromGuidA(const(GUID)*, PSTR, DWORD, PDWORD); 1491 BOOL SetupDiClassNameFromGuidW(const(GUID)*, PWSTR, DWORD, PDWORD); 1492 BOOL SetupDiClassNameFromGuidExA(const(GUID)*, PSTR, DWORD, PDWORD, PCSTR, PVOID); 1493 BOOL SetupDiClassNameFromGuidExW(const(GUID)*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); 1494 BOOL SetupDiCreateDeviceInfoA(HDEVINFO, PCSTR, const(GUID)*, PCSTR, HWND, DWORD, PSP_DEVINFO_DATA); 1495 BOOL SetupDiCreateDeviceInfoW(HDEVINFO, PCWSTR, const(GUID)*, PCWSTR, HWND, DWORD, PSP_DEVINFO_DATA); 1496 HDEVINFO SetupDiCreateDeviceInfoList(const(GUID)*, HWND); 1497 HDEVINFO SetupDiCreateDeviceInfoListExA(const(GUID)*, HWND, PCSTR, PVOID); 1498 HDEVINFO SetupDiCreateDeviceInfoListExW(const(GUID)*, HWND, PCWSTR, PVOID); 1499 BOOL SetupDiCreateDeviceInterfaceA(HDEVINFO, PSP_DEVINFO_DATA, const(GUID)*, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); 1500 BOOL SetupDiCreateDeviceInterfaceW(HDEVINFO, PSP_DEVINFO_DATA, const(GUID)*, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); 1501 HKEY SetupDiCreateDeviceInterfaceRegKeyA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCSTR); 1502 HKEY SetupDiCreateDeviceInterfaceRegKeyW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM, HINF, PCWSTR); 1503 HKEY SetupDiCreateDevRegKeyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCSTR); 1504 HKEY SetupDiCreateDevRegKeyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, HINF, PCWSTR); 1505 BOOL SetupDiDeleteDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA); 1506 BOOL SetupDiDeleteDeviceInterfaceData(HDEVINFO, PSP_DEVICE_INTERFACE_DATA); 1507 BOOL SetupDiDeleteDeviceInterfaceRegKey(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD); 1508 BOOL SetupDiDeleteDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD); 1509 BOOL SetupDiDestroyClassImageList(PSP_CLASSIMAGELIST_DATA); 1510 BOOL SetupDiDestroyDeviceInfoList(HDEVINFO); 1511 BOOL SetupDiDestroyDriverInfoList(HDEVINFO, PSP_DEVINFO_DATA, DWORD); 1512 INT SetupDiDrawMiniIcon(HDC, RECT, INT, DWORD); 1513 BOOL SetupDiEnumDeviceInfo(HDEVINFO, DWORD, PSP_DEVINFO_DATA); 1514 BOOL SetupDiEnumDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA, const(GUID)*, DWORD, PSP_DEVICE_INTERFACE_DATA); 1515 BOOL SetupDiEnumDriverInfoA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_A); 1516 BOOL SetupDiEnumDriverInfoW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, PSP_DRVINFO_DATA_W); 1517 BOOL SetupDiGetActualSectionToInstallA(HINF, PCSTR, PSTR, DWORD, PDWORD, PSTR*); 1518 BOOL SetupDiGetActualSectionToInstallW(HINF, PCWSTR, PWSTR, DWORD, PDWORD, PWSTR*); 1519 BOOL SetupDiGetClassBitmapIndex(const(GUID)*, PINT); 1520 BOOL SetupDiGetClassDescriptionA(const(GUID)*, PSTR, DWORD, PDWORD); 1521 BOOL SetupDiGetClassDescriptionW(const(GUID)*, PWSTR, DWORD, PDWORD); 1522 BOOL SetupDiGetClassDescriptionExA(const(GUID)*, PSTR, DWORD, PDWORD, PCSTR, PVOID); 1523 BOOL SetupDiGetClassDescriptionExW(const(GUID)*, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); 1524 BOOL SetupDiGetClassDevPropertySheetsA(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERA, DWORD, PDWORD, DWORD); 1525 BOOL SetupDiGetClassDevPropertySheetsW(HDEVINFO, PSP_DEVINFO_DATA, LPPROPSHEETHEADERW, DWORD, PDWORD, DWORD); 1526 HDEVINFO SetupDiGetClassDevsA(const(GUID)*, PCSTR, HWND, DWORD); 1527 HDEVINFO SetupDiGetClassDevsW(const(GUID)*, PCWSTR, HWND, DWORD); 1528 HDEVINFO SetupDiGetClassDevsExA(const(GUID)*, PCSTR, HWND, DWORD, HDEVINFO, PCSTR, PVOID); 1529 HDEVINFO SetupDiGetClassDevsExW(const(GUID)*, PCWSTR, HWND, DWORD, HDEVINFO, PCWSTR, PVOID); 1530 BOOL SetupDiGetClassImageIndex(PSP_CLASSIMAGELIST_DATA, const(GUID)*, PINT); 1531 BOOL SetupDiGetClassImageList(PSP_CLASSIMAGELIST_DATA); 1532 BOOL SetupDiGetClassImageListExA(PSP_CLASSIMAGELIST_DATA, PCSTR, PVOID); 1533 BOOL SetupDiGetClassImageListExW(PSP_CLASSIMAGELIST_DATA, PCWSTR, PVOID); 1534 BOOL SetupDiGetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD); 1535 BOOL SetupDiGetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD, PDWORD); 1536 BOOL SetupDiGetClassRegistryPropertyA(LPGUID, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCSTR, PVOID); 1537 BOOL SetupDiGetClassRegistryPropertyW(LPGUID, DWORD, PDWORD, PBYTE, DWORD, PDWORD, PCWSTR, PVOID); 1538 BOOL SetupDiGetDeviceInfoListClass(HDEVINFO, LPGUID); 1539 BOOL SetupDiGetDeviceInfoListDetailA(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_A); 1540 BOOL SetupDiGetDeviceInfoListDetailW(HDEVINFO, PSP_DEVINFO_LIST_DETAIL_DATA_W); 1541 BOOL SetupDiGetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A); 1542 BOOL SetupDiGetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W); 1543 BOOL SetupDiGetDeviceInstanceIdA(HDEVINFO, PSP_DEVINFO_DATA, PSTR, DWORD, PDWORD); 1544 BOOL SetupDiGetDeviceInstanceIdW(HDEVINFO, PSP_DEVINFO_DATA, PWSTR, DWORD, PDWORD); 1545 BOOL SetupDiGetDeviceInterfaceAlias(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, const(GUID)*, PSP_DEVICE_INTERFACE_DATA); 1546 BOOL SetupDiGetDeviceInterfaceDetailA(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_A, DWORD, PDWORD, PSP_DEVINFO_DATA); 1547 BOOL SetupDiGetDeviceInterfaceDetailW(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, PSP_DEVICE_INTERFACE_DETAIL_DATA_W, DWORD, PDWORD, PSP_DEVINFO_DATA); 1548 BOOL SetupDiGetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD); 1549 BOOL SetupDiGetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PDWORD, PBYTE, DWORD, PDWORD); 1550 BOOL SetupDiGetDriverInfoDetailA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINFO_DETAIL_DATA_A, DWORD, PDWORD); 1551 BOOL SetupDiGetDriverInfoDetailW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINFO_DETAIL_DATA_W, DWORD, PDWORD); 1552 BOOL SetupDiGetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS); 1553 BOOL SetupDiGetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS); 1554 BOOL SetupDiGetHwProfileFriendlyNameA(DWORD, PSTR, DWORD, PDWORD); 1555 BOOL SetupDiGetHwProfileFriendlyNameExA(DWORD, PSTR, DWORD, PDWORD, PCSTR, PVOID); 1556 BOOL SetupDiGetHwProfileFriendlyNameExW(DWORD, PWSTR, DWORD, PDWORD, PCWSTR, PVOID); 1557 BOOL SetupDiGetHwProfileFriendlyNameW(DWORD, PWSTR, DWORD, PDWORD); 1558 BOOL SetupDiGetHwProfileList(PDWORD, DWORD, PDWORD, PDWORD); 1559 BOOL SetupDiGetHwProfileListExA(PDWORD, DWORD, PDWORD, PDWORD, PCSTR, PVOID); 1560 BOOL SetupDiGetHwProfileListExW(PDWORD, DWORD, PDWORD, PDWORD, PCWSTR, PVOID); 1561 BOOL SetupDiGetINFClassA(PCSTR, LPGUID, PSTR, DWORD, PDWORD); 1562 BOOL SetupDiGetINFClassW(PCWSTR, LPGUID, PWSTR, DWORD, PDWORD); 1563 BOOL SetupDiGetSelectedDevice(HDEVINFO, PSP_DEVINFO_DATA); 1564 BOOL SetupDiGetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A); 1565 BOOL SetupDiGetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W); 1566 HPROPSHEETPAGE SetupDiGetWizardage(HDEVINFO, PSP_DEVINFO_DATA, PSP_INSTALLWIZARD_DATA, DWORD, DWORD); 1567 BOOL SetupDiInstallClassA(HWND, PCSTR, DWORD, HSPFILEQ); 1568 BOOL SetupDiInstallClassW(HWND, PCWSTR, DWORD, HSPFILEQ); 1569 BOOL SetupDiInstallClassExA(HWND, PCSTR, DWORD, HSPFILEQ, const(GUID)*, PVOID, PVOID); 1570 BOOL SetupDiInstallClassExW(HWND, PCWSTR, DWORD, HSPFILEQ, const(GUID)*, PVOID, PVOID); 1571 BOOL SetupDiInstallDevice(HDEVINFO, PSP_DEVINFO_DATA); 1572 BOOL SetupDiInstallDeviceInterfaces(HDEVINFO, PSP_DEVINFO_DATA); 1573 BOOL SetupDiInstallDriverFiles(HDEVINFO, PSP_DEVINFO_DATA); 1574 BOOL SetupDiLoadClassIcon(const(GUID)*, HICON*, PINT); 1575 BOOL SetupDiMoveDuplicateDevice(HDEVINFO, PSP_DEVINFO_DATA); 1576 HKEY SetupDiOpenClassRegKey(const(GUID)*, REGSAM); 1577 HKEY SetupDiOpenClassRegKeyExA(const(GUID)*, REGSAM, DWORD, PCSTR, PVOID); 1578 HKEY SetupDiOpenClassRegKeyExW(const(GUID)*, REGSAM, DWORD, PCWSTR, PVOID); 1579 BOOL SetupDiOpenDeviceInfoA(HDEVINFO, PCSTR, HWND, DWORD, PSP_DEVINFO_DATA); 1580 BOOL SetupDiOpenDeviceInfoW(HDEVINFO, PCWSTR, HWND, DWORD, PSP_DEVINFO_DATA); 1581 BOOL SetupDiOpenDeviceInterfaceA(HDEVINFO, PCSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); 1582 BOOL SetupDiOpenDeviceInterfaceW(HDEVINFO, PCWSTR, DWORD, PSP_DEVICE_INTERFACE_DATA); 1583 HKEY SetupDiOpenDeviceInterfaceRegKey(HDEVINFO, PSP_DEVICE_INTERFACE_DATA, DWORD, REGSAM); 1584 HKEY SetupDiOpenDevRegKey(HDEVINFO, PSP_DEVINFO_DATA, DWORD, DWORD, DWORD, REGSAM); 1585 BOOL SetupDiRegisterCoDeviceInstallers(HDEVINFO, PSP_DEVINFO_DATA); 1586 BOOL SetupDiRegisterDeviceInfo(HDEVINFO, PSP_DEVINFO_DATA, DWORD, PSP_DETSIG_CMPPROC, PVOID, PSP_DEVINFO_DATA); 1587 BOOL SetupDiRemoveDevice(HDEVINFO, PSP_DEVINFO_DATA); 1588 BOOL SetupDiRemoveDeviceInterface(HDEVINFO, PSP_DEVICE_INTERFACE_DATA); 1589 BOOL SetupDiSelectBestCompatDrv(HDEVINFO, PSP_DEVINFO_DATA); 1590 BOOL SetupDiSelectDevice(HDEVINFO, PSP_DEVINFO_DATA); 1591 BOOL SetupDiSelectOEMDrv(HWND, HDEVINFO, PSP_DEVINFO_DATA); 1592 BOOL SetupDiSetClassInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD); 1593 BOOL SetupDiSetClassInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_CLASSINSTALL_HEADER, DWORD); 1594 BOOL SetupDiSetClassRegistryPropertyA(LPGUID, DWORD, const(BYTE)*, DWORD, PCSTR, PVOID); 1595 BOOL SetupDiSetClassRegistryPropertyW(LPGUID, DWORD, const(BYTE)*, DWORD, PCWSTR, PVOID); 1596 BOOL SetupDiSetDeviceInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_A); 1597 BOOL SetupDiSetDeviceInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DEVINSTALL_PARAMS_W); 1598 BOOL SetupDiSetDeviceRegistryPropertyA(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const(BYTE)*, DWORD); 1599 BOOL SetupDiSetDeviceRegistryPropertyW(HDEVINFO, PSP_DEVINFO_DATA, DWORD, const(BYTE)*, DWORD); 1600 BOOL SetupDiSetDriverInstallParamsA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A, PSP_DRVINSTALL_PARAMS); 1601 BOOL SetupDiSetDriverInstallParamsW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W, PSP_DRVINSTALL_PARAMS); 1602 BOOL SetupDiSetSelectedDevice(HDEVINFO, PSP_DEVINFO_DATA); 1603 BOOL SetupDiSetSelectedDriverA(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_A); 1604 BOOL SetupDiSetSelectedDriverW(HDEVINFO, PSP_DEVINFO_DATA, PSP_DRVINFO_DATA_W); 1605 BOOL SetupDiUnremoveDevice(HDEVINFO, PSP_DEVINFO_DATA); 1606 HDSKSPC SetupDuplicateDiskSpaceListA(HDSKSPC, PVOID, DWORD, UINT); 1607 HDSKSPC SetupDuplicateDiskSpaceListW(HDSKSPC, PVOID, DWORD, UINT); 1608 BOOL SetupFindFirstLineA(HINF, PCSTR, PCSTR, PINFCONTEXT); 1609 BOOL SetupFindFirstLineW(HINF, PCWSTR, PCWSTR, PINFCONTEXT); 1610 BOOL SetupFindNextLine(PINFCONTEXT, PINFCONTEXT); 1611 BOOL SetupFindNextMatchLineA(PINFCONTEXT, PCSTR, PINFCONTEXT); 1612 BOOL SetupFindNextMatchLineW(PINFCONTEXT, PCWSTR, PINFCONTEXT); 1613 BOOL SetupFreeA(PCSTR**, UINT); 1614 BOOL SetupFreeW(PCWSTR**, UINT); 1615 BOOL SetupGetBackupInformationA(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_A); 1616 BOOL SetupGetBackupInformationW(HSPFILEQ, PSP_BACKUP_QUEUE_PARAMS_W); 1617 BOOL SetupGetBinaryField(PINFCONTEXT, DWORD, PBYTE, DWORD, LPDWORD); 1618 DWORD SetupGetFieldCount(PINFCONTEXT); 1619 DWORD SetupGetFileCompressionInfoA(PCSTR, PSTR*, PDWORD, PDWORD, PUINT); 1620 DWORD SetupGetFileCompressionInfoW(PCWSTR, PWSTR*, PDWORD, PDWORD, PUINT); 1621 BOOL SetupGetInfFileListA(PCSTR, DWORD, PSTR, DWORD, PDWORD); 1622 BOOL SetupGetInfFileListW(PCWSTR, DWORD, PWSTR, DWORD, PDWORD); 1623 BOOL SetupGetInfInformationA(LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD); 1624 BOOL SetupGetInfInformationW(LPCVOID, DWORD, PSP_INF_INFORMATION, DWORD, PDWORD); 1625 BOOL SetupGetIntField(PINFCONTEXT, DWORD, PINT); 1626 BOOL SetupGetLineByIndexA(HINF, PCSTR, DWORD, PINFCONTEXT); 1627 BOOL SetupGetLineByIndexW(HINF, PCWSTR, DWORD, PINFCONTEXT); 1628 LONG SetupGetLineCountA(HINF, PCSTR); 1629 LONG SetupGetLineCountW(HINF, PCWSTR); 1630 BOOL SetupGetLineTextA(PINFCONTEXT, HINF, PCSTR, PCSTR, PSTR, DWORD, PDWORD); 1631 BOOL SetupGetLineTextW(PINFCONTEXT, HINF, PCWSTR, PCWSTR, PWSTR, DWORD, PDWORD); 1632 BOOL SetupGetMultiSzFieldA(PINFCONTEXT, DWORD, PSTR, DWORD, LPDWORD); 1633 BOOL SetupGetMultiSzFieldW(PINFCONTEXT, DWORD, PWSTR, DWORD, LPDWORD); 1634 BOOL SetupGetSourceFileLocationA(HINF, PINFCONTEXT, PCSTR, PUINT, PSTR, DWORD, PDWORD); 1635 BOOL SetupGetSourceFileLocationW(HINF, PINFCONTEXT, PCWSTR, PUINT, PWSTR, DWORD, PDWORD); 1636 BOOL SetupGetSourceFileSizeA(HINF, PINFCONTEXT, PCSTR, PCSTR, PDWORD, UINT); 1637 BOOL SetupGetSourceFileSizeW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PDWORD, UINT); 1638 BOOL SetupGetSourceInfoA(HINF, UINT, UINT, PSTR, DWORD, PDWORD); 1639 BOOL SetupGetSourceInfoW(HINF, UINT, UINT, PWSTR, DWORD, PDWORD); 1640 BOOL SetupGetStringFieldA(PINFCONTEXT, DWORD, PSTR, DWORD, PDWORD); 1641 BOOL SetupGetStringFieldW(PINFCONTEXT, DWORD, PWSTR, DWORD, PDWORD); 1642 BOOL SetupGetTargetPathA(HINF, PINFCONTEXT, PCSTR, PSTR, DWORD, PDWORD); 1643 BOOL SetupGetTargetPathW(HINF, PINFCONTEXT, PCWSTR, PWSTR, DWORD, PDWORD); 1644 PVOID SetupInitDefaultQueueCallback(HWND); 1645 PVOID SetupInitDefaultQueueCallbackEx(HWND, HWND, UINT, DWORD, PVOID); 1646 HSPFILELOG SetupInitializeFileLogA(PCSTR, DWORD); 1647 HSPFILELOG SetupInitializeFileLogW(PCWSTR, DWORD); 1648 BOOL SetupInstallFileA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID); 1649 BOOL SetupInstallFileW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID); 1650 BOOL SetupInstallFileExA(HINF, PINFCONTEXT, PCSTR, PCSTR, PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID, PBOOL); 1651 BOOL SetupInstallFileExW(HINF, PINFCONTEXT, PCWSTR, PCWSTR, PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID, PBOOL); 1652 BOOL SetupInstallFilesFromInfSectionA(HINF, HINF, HSPFILEQ, PCSTR, PCSTR, UINT); 1653 BOOL SetupInstallFilesFromInfSectionW(HINF, HINF, HSPFILEQ, PCWSTR, PCWSTR, UINT); 1654 BOOL SetupInstallFromInfSectionA(HWND, HINF, PCSTR, UINT, HKEY, PCSTR, UINT, PSP_FILE_CALLBACK_A, PVOID, HDEVINFO, PSP_DEVINFO_DATA); 1655 BOOL SetupInstallFromInfSectionW(HWND, HINF, PCWSTR, UINT, HKEY, PCWSTR, UINT, PSP_FILE_CALLBACK_W, PVOID, HDEVINFO, PSP_DEVINFO_DATA); 1656 BOOL SetupInstallServicesFromInfSectionA(HINF, PCSTR, DWORD); 1657 BOOL SetupInstallServicesFromInfSectionW(HINF, PCWSTR, DWORD); 1658 BOOL SetupInstallServicesFromInfSectionExA(HINF, PCSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID); 1659 BOOL SetupInstallServicesFromInfSectionExW(HINF, PCWSTR, DWORD, HDEVINFO, PSP_DEVINFO_DATA, PVOID, PVOID); 1660 BOOL SetupIterateCabinetA(PCSTR, DWORD, PSP_FILE_CALLBACK_A, PVOID); 1661 BOOL SetupIterateCabinetW(PCWSTR, DWORD, PSP_FILE_CALLBACK_W, PVOID); 1662 BOOL SetupLogErrorA(LPCSTR, LogSeverity); 1663 BOOL SetupLogErrorW(LPCWSTR, LogSeverity); 1664 BOOL SetupLogFileA(HSPFILELOG, PCSTR, PCSTR, PCSTR, DWORD, PCSTR, PCSTR, PCSTR, DWORD); 1665 BOOL SetupLogFileW(HSPFILELOG, PCWSTR, PCWSTR, PCWSTR, DWORD, PCWSTR, PCWSTR, PCWSTR, DWORD); 1666 BOOL SetupOpenAppendInfFileA(PCSTR, HINF, PUINT); 1667 BOOL SetupOpenAppendInfFileW(PCWSTR, HINF, PUINT); 1668 HSPFILEQ SetupOpenFileQueue(); 1669 HINF SetupOpenInfFileA(PCSTR, PCSTR, DWORD, PUINT); 1670 HINF SetupOpenInfFileW(PCWSTR, PCWSTR, DWORD, PUINT); 1671 BOOL SetupOpenLog(BOOL); 1672 HINF SetupOpenMasterInf(); 1673 UINT SetupPromptForDiskA(HWND, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, DWORD, PSTR, DWORD, PDWORD); 1674 UINT SetupPromptForDiskW(HWND, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, DWORD, PWSTR, DWORD, PDWORD); 1675 INT SetupPromptReboot(HSPFILEQ, HWND, BOOL); 1676 BOOL SetupQueryA(DWORD, PCSTR**, PUINT); 1677 BOOL SetupQueryW(DWORD, PCWSTR**, PUINT); 1678 BOOL SetupQueryDrivesInDiskSpaceListA(HDSKSPC, PSTR, DWORD, PDWORD); 1679 BOOL SetupQueryDrivesInDiskSpaceListW(HDSKSPC, PWSTR, DWORD, PDWORD); 1680 BOOL SetupQueryFileLogA(HSPFILELOG, PCSTR, PCSTR, SetupFileLogInfo, PSTR, DWORD, PDWORD); 1681 BOOL SetupQueryFileLogW(HSPFILELOG, PCWSTR, PCWSTR, SetupFileLogInfo, PWSTR, DWORD, PDWORD); 1682 BOOL SetupQueryInfFileInformationA(PSP_INF_INFORMATION, UINT, PSTR, DWORD, PDWORD); 1683 BOOL SetupQueryInfFileInformationW(PSP_INF_INFORMATION, UINT, PWSTR, DWORD, PDWORD); 1684 BOOL SetupQueryInfOriginalFileInformationA(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_A); 1685 BOOL SetupQueryInfOriginalFileInformationW(PSP_INF_INFORMATION, UINT, PSP_ALTPLATFORM_INFO, PSP_ORIGINAL_FILE_INFO_W); 1686 BOOL SetupQueryInfVersionInformationA(PSP_INF_INFORMATION, UINT, PSTR, PSTR, DWORD, PDWORD); 1687 BOOL SetupQueryInfVersionInformationW(PSP_INF_INFORMATION, UINT, PCWSTR, PWSTR, DWORD, PDWORD); 1688 BOOL SetupQuerySpaceRequiredOnDriveA(HDSKSPC, PCSTR, LONGLONG*, PVOID, UINT); 1689 BOOL SetupQuerySpaceRequiredOnDriveW(HDSKSPC, PCWSTR, LONGLONG*, PVOID, UINT); 1690 BOOL SetupQueueCopyA(HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, PCSTR, DWORD); 1691 BOOL SetupQueueCopyW(HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, PCWSTR, DWORD); 1692 BOOL SetupQueueCopyIndirectA(PSP_FILE_COPY_PARAMS_A); 1693 BOOL SetupQueueCopyIndirectW(PSP_FILE_COPY_PARAMS_W); 1694 BOOL SetupQueueCopySectionA(HSPFILEQ, PCSTR, HINF, HINF, PCSTR, DWORD); 1695 BOOL SetupQueueCopySectionW(HSPFILEQ, PCWSTR, HINF, HINF, PCWSTR, DWORD); 1696 BOOL SetupQueueDefaultCopyA(HSPFILEQ, HINF, PCSTR, PCSTR, PCSTR, DWORD); 1697 BOOL SetupQueueDefaultCopyW(HSPFILEQ, HINF, PCWSTR, PCWSTR, PCWSTR, DWORD); 1698 BOOL SetupQueueDeleteA(HSPFILEQ, PCSTR, PCSTR); 1699 BOOL SetupQueueDeleteW(HSPFILEQ, PCWSTR, PCWSTR); 1700 BOOL SetupQueueDeleteSectionA(HSPFILEQ, HINF, HINF, PCSTR); 1701 BOOL SetupQueueDeleteSectionW(HSPFILEQ, HINF, HINF, PCWSTR); 1702 BOOL SetupQueueRenameA(HSPFILEQ, PCSTR, PCSTR, PCSTR, PCSTR); 1703 BOOL SetupQueueRenameW(HSPFILEQ, PCWSTR, PCWSTR, PCWSTR, PCWSTR); 1704 BOOL SetupQueueRenameSectionA(HSPFILEQ, HINF, HINF, PCSTR); 1705 BOOL SetupQueueRenameSectionW(HSPFILEQ, HINF, HINF, PCWSTR); 1706 BOOL SetupRemoveFileLogEntryA(HSPFILELOG, PCSTR, PCSTR); 1707 BOOL SetupRemoveFileLogEntryW(HSPFILELOG, PCWSTR, PCWSTR); 1708 BOOL SetupRemoveFromDiskSpaceListA(HDSKSPC, PCSTR, UINT, PVOID, UINT); 1709 BOOL SetupRemoveFromDiskSpaceListW(HDSKSPC, PCWSTR, UINT, PVOID, UINT); 1710 BOOL SetupRemoveFromSourceListA(DWORD, PCSTR); 1711 BOOL SetupRemoveFromSourceListW(DWORD, PCWSTR); 1712 BOOL SetupRemoveInstallSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, PVOID, UINT); 1713 BOOL SetupRemoveInstallSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, PVOID, UINT); 1714 BOOL SetupRemoveSectionFromDiskSpaceListA(HDSKSPC, HINF, HINF, PCSTR, UINT, PVOID, UINT); 1715 BOOL SetupRemoveSectionFromDiskSpaceListW(HDSKSPC, HINF, HINF, PCWSTR, UINT, PVOID, UINT); 1716 UINT SetupRenameErrorA(HWND, PCSTR, PCSTR, PCSTR, UINT, DWORD); 1717 UINT SetupRenameErrorW(HWND, PCWSTR, PCWSTR, PCWSTR, UINT, DWORD); 1718 BOOL SetupScanFileQueueA(HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_A, PVOID, PDWORD); 1719 BOOL SetupScanFileQueueW(HSPFILEQ, DWORD, HWND, PSP_FILE_CALLBACK_W, PVOID, PDWORD); 1720 BOOL SetupSetDirectoryIdA(HINF, DWORD, PCSTR); 1721 BOOL SetupSetDirectoryIdW(HINF, DWORD, PCWSTR); 1722 BOOL SetupSetDirectoryIdExA(HINF, DWORD, PCSTR, DWORD, DWORD, PVOID); 1723 BOOL SetupSetDirectoryIdExW(HINF, DWORD, PCWSTR, DWORD, DWORD, PVOID); 1724 BOOL SetupSetFileQueueAlternatePlatformA(HSPFILEQ, PSP_ALTPLATFORM_INFO, PCSTR); 1725 BOOL SetupSetFileQueueAlternatePlatformW(HSPFILEQ, PSP_ALTPLATFORM_INFO, PCWSTR); 1726 BOOL SetupSetPlatformPathOverrideA(PCSTR); 1727 BOOL SetupSetPlatformPathOverrideW(PCWSTR); 1728 BOOL SetupSetSourceListA(DWORD, PCSTR*, UINT); 1729 BOOL SetupSetSourceListW(DWORD, PCWSTR*, UINT); 1730 VOID SetupTermDefaultQueueCallback(PVOID); 1731 BOOL SetupTerminateFileLog(HSPFILELOG); 1732 } 1733 1734 deprecated { 1735 alias SetupDiCreateDeviceInterfaceW SetupDiCreateInterfaceDeviceW; 1736 alias SetupDiCreateDeviceInterfaceRegKeyW SetupDiCreateInterfaceDeviceRegKeyW; 1737 alias SetupDiOpenDeviceInterfaceW SetupDiOpenInterfaceDeviceW; 1738 alias SetupDiGetDeviceInterfaceDetailW SetupDiGetInterfaceDeviceDetailW; 1739 alias SetupDiCreateDeviceInterfaceA SetupDiCreateInterfaceDeviceA; 1740 alias SetupDiCreateDeviceInterfaceRegKeyA SetupDiCreateInterfaceDeviceRegKeyA; 1741 alias SetupDiOpenDeviceInterfaceA SetupDiOpenInterfaceDeviceA; 1742 alias SetupDiGetDeviceInterfaceDetailA SetupDiGetInterfaceDeviceDetailA; 1743 } 1744 1745 version (Unicode) { 1746 alias PSP_FILE_CALLBACK_W PSP_FILE_CALLBACK; 1747 alias SetupAddInstallSectionToDiskSpaceListW SetupAddInstallSectionToDiskSpaceList; 1748 alias SetupAddSectionToDiskSpaceListW SetupAddSectionToDiskSpaceList; 1749 alias SetupAddToDiskSpaceListW SetupAddToDiskSpaceList; 1750 alias SetupAddToSourceListW SetupAddToSourceList; 1751 alias SetupAdjustDiskSpaceListW SetupAdjustDiskSpaceList; 1752 alias SetupBackupErrorW SetupBackupError; 1753 alias SetupCommitFileQueueW SetupCommitFileQueue; 1754 alias SetupCopyErrorW SetupCopyError; 1755 alias SetupCopyOEMInfW SetupCopyOEMInf; 1756 alias SetupCreateDiskSpaceListW SetupCreateDiskSpaceList; 1757 alias SetupDecompressOrCopyFileW SetupDecompressOrCopyFile; 1758 alias SetupDefaultQueueCallbackW SetupDefaultQueueCallback; 1759 alias SetupDeleteErrorW SetupDeleteError; 1760 alias SetupDiBuildClassInfoListExW SetupDiBuildClassInfoListEx; 1761 alias SetupDiClassGuidsFromNameExW SetupDiClassGuidsFromNameEx; 1762 alias SetupDiClassGuidsFromNameW SetupDiClassGuidsFromName; 1763 alias SetupDiClassNameFromGuidExW SetupDiClassNameFromGuidEx; 1764 alias SetupDiClassNameFromGuidW SetupDiClassNameFromGuid; 1765 alias SetupDiCreateDeviceInfoListExW SetupDiCreateDeviceInfoListEx; 1766 alias SetupDiCreateDeviceInfoW SetupDiCreateDeviceInfo; 1767 alias SetupDiCreateDeviceInterfaceRegKeyW SetupDiCreateDeviceInterfaceRegKey; 1768 deprecated alias SetupDiCreateDeviceInterfaceRegKeyW SetupDiCreateInterfaceDeviceRegKey; 1769 alias SetupDiCreateDeviceInterfaceW SetupDiCreateDeviceInterface; 1770 deprecated alias SetupDiCreateDeviceInterfaceW SetupDiCreateInterfaceDevice; 1771 alias SetupDiCreateDevRegKeyW SetupDiCreateDevRegKey; 1772 alias SetupDiEnumDriverInfoW SetupDiEnumDriverInfo; 1773 alias SetupDiGetActualSectionToInstallW SetupDiGetActualSectionToInstall; 1774 alias SetupDiGetClassDescriptionExW SetupDiGetClassDescriptionEx; 1775 alias SetupDiGetClassDescriptionW SetupDiGetClassDescription; 1776 alias SetupDiGetClassDevPropertySheetsW SetupDiGetClassDevPropertySheets; 1777 alias SetupDiGetClassDevsExW SetupDiGetClassDevsEx; 1778 alias SetupDiGetClassDevsW SetupDiGetClassDevs; 1779 alias SetupDiGetClassImageListExW SetupDiGetClassImageListEx; 1780 alias SetupDiGetClassInstallParamsW SetupDiGetClassInstallParams; 1781 alias SetupDiGetClassRegistryPropertyW SetupDiGetClassRegistryProperty; 1782 alias SetupDiGetDeviceInfoListDetailW SetupDiGetDeviceInfoListDetail; 1783 alias SetupDiGetDeviceInstallParamsW SetupDiGetDeviceInstallParams; 1784 alias SetupDiGetDeviceInstanceIdW SetupDiGetDeviceInstanceId; 1785 alias SetupDiGetDeviceInterfaceDetailW SetupDiGetDeviceInterfaceDetail; 1786 deprecated alias SetupDiGetDeviceInterfaceDetailW SetupDiGetInterfaceDeviceDetail; 1787 alias SetupDiGetDeviceRegistryPropertyW SetupDiGetDeviceRegistryProperty; 1788 alias SetupDiGetDriverInfoDetailW SetupDiGetDriverInfoDetail; 1789 alias SetupDiGetDriverInstallParamsW SetupDiGetDriverInstallParams; 1790 alias SetupDiGetHwProfileFriendlyNameExW SetupDiGetHwProfileFriendlyNameEx; 1791 alias SetupDiGetHwProfileFriendlyNameW SetupDiGetHwProfileFriendlyName; 1792 alias SetupDiGetHwProfileListExW SetupDiGetHwProfileListEx; 1793 alias SetupDiGetINFClassW SetupDiGetINFClass; 1794 alias SetupDiGetSelectedDriverW SetupDiGetSelectedDriver; 1795 alias SetupDiInstallClassExW SetupDiInstallClassEx; 1796 alias SetupDiInstallClassW SetupDiInstallClass; 1797 alias SetupDiOpenClassRegKeyExW SetupDiOpenClassRegKeyEx; 1798 alias SetupDiOpenDeviceInfoW SetupDiOpenDeviceInfo; 1799 alias SetupDiOpenDeviceInterfaceW SetupDiOpenDeviceInterface; 1800 deprecated alias SetupDiOpenDeviceInterfaceW SetupDiOpenInterfaceDevice; 1801 alias SetupDiSetClassInstallParamsW SetupDiSetClassInstallParams; 1802 alias SetupDiSetClassRegistryPropertyW SetupDiSetClassRegistryProperty; 1803 alias SetupDiSetDeviceInstallParamsW SetupDiSetDeviceInstallParams; 1804 alias SetupDiSetDeviceRegistryPropertyW SetupDiSetDeviceRegistryProperty; 1805 alias SetupDiSetDriverInstallParamsW SetupDiSetDriverInstallParams; 1806 alias SetupDiSetSelectedDriverW SetupDiSetSelectedDriver; 1807 alias SetupDuplicateDiskSpaceListW SetupDuplicateDiskSpaceList; 1808 alias SetupFindFirstLineW SetupFindFirstLine; 1809 alias SetupFindNextMatchLineW SetupFindNextMatchLine; 1810 alias SetupFreeSourceListW SetupFreeSourceList; 1811 alias SetupGetBackupInformationW SetupGetBackupInformation; 1812 alias SetupGetFileCompressionInfoW SetupGetFileCompressionInfo; 1813 alias SetupGetInfFileListW SetupGetInfFileList; 1814 alias SetupGetInfInformationW SetupGetInfInformation; 1815 alias SetupGetLineByIndexW SetupGetLineByIndex; 1816 alias SetupGetLineCountW SetupGetLineCount; 1817 alias SetupGetLineTextW SetupGetLineText; 1818 alias SetupGetMultiSzFieldW SetupGetMultiSzField; 1819 alias SetupGetSourceFileLocationW SetupGetSourceFileLocation; 1820 alias SetupGetSourceFileSizeW SetupGetSourceFileSize; 1821 alias SetupGetSourceInfoW SetupGetSourceInfo; 1822 alias SetupGetStringFieldW SetupGetStringField; 1823 alias SetupGetTargetPathW SetupGetTargetPath; 1824 alias SetupInitializeFileLogW SetupInitializeFileLog; 1825 alias SetupInstallFileExW SetupInstallFileEx; 1826 alias SetupInstallFilesFromInfSectionW SetupInstallFilesFromInfSection; 1827 alias SetupInstallFileW SetupInstallFile; 1828 alias SetupInstallFromInfSectionW SetupInstallFromInfSection; 1829 alias SetupInstallServicesFromInfSectionExW SetupInstallServicesFromInfSectionEx; 1830 alias SetupInstallServicesFromInfSectionW SetupInstallServicesFromInfSection; 1831 alias SetupIterateCabinetW SetupIterateCabinet; 1832 alias SetupLogErrorW SetupLogError; 1833 alias SetupLogFileW SetupLogFile; 1834 alias SetupOpenAppendInfFileW SetupOpenAppendInfFile; 1835 alias SetupOpenInfFileW SetupOpenInfFile; 1836 alias SetupPromptForDiskW SetupPromptForDisk; 1837 alias SetupQueryDrivesInDiskSpaceListW SetupQueryDrivesInDiskSpaceList; 1838 alias SetupQueryFileLogW SetupQueryFileLog; 1839 alias SetupQueryInfFileInformationW SetupQueryInfFileInformation; 1840 alias SetupQueryInfOriginalFileInformationW SetupQueryInfOriginalFileInformation; 1841 alias SetupQueryInfVersionInformationW SetupQueryInfVersionInformation; 1842 alias SetupQuerySourceListW SetupQuerySourceList; 1843 alias SetupQuerySpaceRequiredOnDriveW SetupQuerySpaceRequiredOnDrive; 1844 alias SetupQueueCopyIndirectW SetupQueueCopyIndirect; 1845 alias SetupQueueCopySectionW SetupQueueCopySection; 1846 alias SetupQueueCopyW SetupQueueCopy; 1847 alias SetupQueueDefaultCopyW SetupQueueDefaultCopy; 1848 alias SetupQueueDeleteSectionW SetupQueueDeleteSection; 1849 alias SetupQueueDeleteW SetupQueueDelete; 1850 alias SetupQueueRenameSectionW SetupQueueRenameSection; 1851 alias SetupQueueRenameW SetupQueueRename; 1852 alias SetupRemoveFileLogEntryW SetupRemoveFileLogEntry; 1853 alias SetupRemoveFromDiskSpaceListW SetupRemoveFromDiskSpaceList; 1854 alias SetupRemoveFromSourceListW SetupRemoveFromSourceList; 1855 alias SetupRemoveInstallSectionFromDiskSpaceListW SetupRemoveInstallSectionFromDiskSpaceList; 1856 alias SetupRemoveSectionFromDiskSpaceListW SetupRemoveSectionFromDiskSpaceList; 1857 alias SetupRenameErrorW SetupRenameError; 1858 alias SetupScanFileQueueW SetupScanFileQueue; 1859 alias SetupSetDirectoryIdExW SetupSetDirectoryIdEx; 1860 alias SetupSetDirectoryIdW SetupSetDirectoryId; 1861 alias SetupSetFileQueueAlternatePlatformW SetupSetFileQueueAlternatePlatform; 1862 alias SetupSetPlatformPathOverrideW SetupSetPlatformPathOverride; 1863 alias SetupSetSourceListW SetupSetSourceList; 1864 } else { 1865 alias PSP_FILE_CALLBACK_A PSP_FILE_CALLBACK; 1866 alias SetupAddInstallSectionToDiskSpaceListA SetupAddInstallSectionToDiskSpaceList; 1867 alias SetupAddSectionToDiskSpaceListA SetupAddSectionToDiskSpaceList; 1868 alias SetupAddToDiskSpaceListA SetupAddToDiskSpaceList; 1869 alias SetupAddToSourceListA SetupAddToSourceList; 1870 alias SetupAdjustDiskSpaceListA SetupAdjustDiskSpaceList; 1871 alias SetupBackupErrorA SetupBackupError; 1872 alias SetupCommitFileQueueA SetupCommitFileQueue; 1873 alias SetupCopyErrorA SetupCopyError; 1874 alias SetupCopyOEMInfA SetupCopyOEMInf; 1875 alias SetupCreateDiskSpaceListA SetupCreateDiskSpaceList; 1876 alias SetupDecompressOrCopyFileA SetupDecompressOrCopyFile; 1877 alias SetupDefaultQueueCallbackA SetupDefaultQueueCallback; 1878 alias SetupDeleteErrorA SetupDeleteError; 1879 alias SetupDiBuildClassInfoListExA SetupDiBuildClassInfoListEx; 1880 alias SetupDiClassGuidsFromNameA SetupDiClassGuidsFromName; 1881 alias SetupDiClassGuidsFromNameExA SetupDiClassGuidsFromNameEx; 1882 alias SetupDiClassNameFromGuidA SetupDiClassNameFromGuid; 1883 alias SetupDiClassNameFromGuidExA SetupDiClassNameFromGuidEx; 1884 alias SetupDiCreateDeviceInfoA SetupDiCreateDeviceInfo; 1885 alias SetupDiCreateDeviceInfoListExA SetupDiCreateDeviceInfoListEx; 1886 alias SetupDiCreateDeviceInterfaceA SetupDiCreateDeviceInterface; 1887 deprecated alias SetupDiCreateDeviceInterfaceA SetupDiCreateInterfaceDevice; 1888 alias SetupDiCreateDeviceInterfaceRegKeyA SetupDiCreateDeviceInterfaceRegKey; 1889 deprecated alias SetupDiCreateDeviceInterfaceRegKeyA SetupDiCreateInterfaceDeviceRegKey; 1890 alias SetupDiCreateDevRegKeyA SetupDiCreateDevRegKey; 1891 alias SetupDiDeleteDeviceInterfaceData SetupDiDeleteInterfaceDeviceData; 1892 alias SetupDiEnumDriverInfoA SetupDiEnumDriverInfo; 1893 alias SetupDiGetActualSectionToInstallA SetupDiGetActualSectionToInstall; 1894 alias SetupDiGetClassDescriptionA SetupDiGetClassDescription; 1895 alias SetupDiGetClassDescriptionExA SetupDiGetClassDescriptionEx; 1896 alias SetupDiGetClassDevPropertySheetsA SetupDiGetClassDevPropertySheets; 1897 alias SetupDiGetClassDevsA SetupDiGetClassDevs; 1898 alias SetupDiGetClassDevsExA SetupDiGetClassDevsEx; 1899 alias SetupDiGetClassImageListExA SetupDiGetClassImageListEx; 1900 alias SetupDiGetClassInstallParamsA SetupDiGetClassInstallParams; 1901 alias SetupDiGetClassRegistryPropertyA SetupDiGetClassRegistryProperty; 1902 alias SetupDiGetDeviceInfoListDetailA SetupDiGetDeviceInfoListDetail; 1903 alias SetupDiGetDeviceInstallParamsA SetupDiGetDeviceInstallParams; 1904 alias SetupDiGetDeviceInstanceIdA SetupDiGetDeviceInstanceId; 1905 alias SetupDiGetDeviceInterfaceDetailA SetupDiGetDeviceInterfaceDetail; 1906 deprecated alias SetupDiGetDeviceInterfaceDetailA SetupDiGetInterfaceDeviceDetail; 1907 alias SetupDiGetDeviceRegistryPropertyA SetupDiGetDeviceRegistryProperty; 1908 alias SetupDiGetDriverInfoDetailA SetupDiGetDriverInfoDetail; 1909 alias SetupDiGetDriverInstallParamsA SetupDiGetDriverInstallParams; 1910 alias SetupDiGetHwProfileFriendlyNameA SetupDiGetHwProfileFriendlyName; 1911 alias SetupDiGetHwProfileFriendlyNameExA SetupDiGetHwProfileFriendlyNameEx; 1912 alias SetupDiGetHwProfileListExA SetupDiGetHwProfileListEx; 1913 alias SetupDiGetINFClassA SetupDiGetINFClass; 1914 alias SetupDiGetSelectedDriverA SetupDiGetSelectedDriver; 1915 alias SetupDiInstallClassA SetupDiInstallClass; 1916 alias SetupDiInstallClassExA SetupDiInstallClassEx; 1917 alias SetupDiOpenClassRegKeyExA SetupDiOpenClassRegKeyEx; 1918 alias SetupDiOpenDeviceInfoA SetupDiOpenDeviceInfo; 1919 alias SetupDiOpenDeviceInterfaceA SetupDiOpenDeviceInterface; 1920 deprecated alias SetupDiOpenDeviceInterfaceA SetupDiOpenInterfaceDevice; 1921 alias SetupDiSetClassInstallParamsA SetupDiSetClassInstallParams; 1922 alias SetupDiSetClassRegistryPropertyA SetupDiSetClassRegistryProperty; 1923 alias SetupDiSetDeviceInstallParamsA SetupDiSetDeviceInstallParams; 1924 alias SetupDiSetDeviceRegistryPropertyA SetupDiSetDeviceRegistryProperty; 1925 alias SetupDiSetDriverInstallParamsA SetupDiSetDriverInstallParams; 1926 alias SetupDiSetSelectedDriverA SetupDiSetSelectedDriver; 1927 alias SetupDuplicateDiskSpaceListA SetupDuplicateDiskSpaceList; 1928 alias SetupFindFirstLineA SetupFindFirstLine; 1929 alias SetupFindNextMatchLineA SetupFindNextMatchLine; 1930 alias SetupFreeSourceListA SetupFreeSourceList; 1931 alias SetupGetBackupInformationA SetupGetBackupInformation; 1932 alias SetupGetFileCompressionInfoA SetupGetFileCompressionInfo; 1933 alias SetupGetInfFileListA SetupGetInfFileList; 1934 alias SetupGetInfInformationA SetupGetInfInformation; 1935 alias SetupGetLineByIndexA SetupGetLineByIndex; 1936 alias SetupGetLineCountA SetupGetLineCount; 1937 alias SetupGetLineTextA SetupGetLineText; 1938 alias SetupGetMultiSzFieldA SetupGetMultiSzField; 1939 alias SetupGetSourceFileLocationA SetupGetSourceFileLocation; 1940 alias SetupGetSourceFileSizeA SetupGetSourceFileSize; 1941 alias SetupGetSourceInfoA SetupGetSourceInfo; 1942 alias SetupGetStringFieldA SetupGetStringField; 1943 alias SetupGetTargetPathA SetupGetTargetPath; 1944 alias SetupInitializeFileLogA SetupInitializeFileLog; 1945 alias SetupInstallFileA SetupInstallFile; 1946 alias SetupInstallFileExA SetupInstallFileEx; 1947 alias SetupInstallFilesFromInfSectionA SetupInstallFilesFromInfSection; 1948 alias SetupInstallFromInfSectionA SetupInstallFromInfSection; 1949 alias SetupInstallServicesFromInfSectionA SetupInstallServicesFromInfSection; 1950 alias SetupInstallServicesFromInfSectionExA SetupInstallServicesFromInfSectionEx; 1951 alias SetupIterateCabinetA SetupIterateCabinet; 1952 alias SetupLogErrorA SetupLogError; 1953 alias SetupLogFileA SetupLogFile; 1954 alias SetupOpenAppendInfFileA SetupOpenAppendInfFile; 1955 alias SetupOpenInfFileA SetupOpenInfFile; 1956 alias SetupPromptForDiskA SetupPromptForDisk; 1957 alias SetupQueryDrivesInDiskSpaceListA SetupQueryDrivesInDiskSpaceList; 1958 alias SetupQueryFileLogA SetupQueryFileLog; 1959 alias SetupQueryInfFileInformationA SetupQueryInfFileInformation; 1960 alias SetupQueryInfOriginalFileInformationA SetupQueryInfOriginalFileInformation; 1961 alias SetupQueryInfVersionInformationA SetupQueryInfVersionInformation; 1962 alias SetupQuerySourceListA SetupQuerySourceList; 1963 alias SetupQuerySpaceRequiredOnDriveA SetupQuerySpaceRequiredOnDrive; 1964 alias SetupQueueCopyA SetupQueueCopy; 1965 alias SetupQueueCopyIndirectA SetupQueueCopyIndirect; 1966 alias SetupQueueCopySectionA SetupQueueCopySection; 1967 alias SetupQueueDefaultCopyA SetupQueueDefaultCopy; 1968 alias SetupQueueDeleteA SetupQueueDelete; 1969 alias SetupQueueDeleteSectionA SetupQueueDeleteSection; 1970 alias SetupQueueRenameA SetupQueueRename; 1971 alias SetupQueueRenameSectionA SetupQueueRenameSection; 1972 alias SetupRemoveFileLogEntryA SetupRemoveFileLogEntry; 1973 alias SetupRemoveFromDiskSpaceListA SetupRemoveFromDiskSpaceList; 1974 alias SetupRemoveFromSourceListA SetupRemoveFromSourceList; 1975 alias SetupRemoveInstallSectionFromDiskSpaceListA SetupRemoveInstallSectionFromDiskSpaceList; 1976 alias SetupRemoveSectionFromDiskSpaceListA SetupRemoveSectionFromDiskSpaceList; 1977 alias SetupRenameErrorA SetupRenameError; 1978 alias SetupScanFileQueueA SetupScanFileQueue; 1979 alias SetupSetDirectoryIdA SetupSetDirectoryId; 1980 alias SetupSetDirectoryIdExA SetupSetDirectoryIdEx; 1981 alias SetupSetFileQueueAlternatePlatformA SetupSetFileQueueAlternatePlatform; 1982 alias SetupSetPlatformPathOverrideA SetupSetPlatformPathOverride; 1983 alias SetupSetSourceListA SetupSetSourceList; 1984 }