Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

810 lines
21 KiB

  1. //
  2. // this file will initially be parsed by c-preprocessor
  3. //
  4. // "SPAPIP" is defined for the private library
  5. // "ANSI_SETUPAPI" will be defined for the special ANSI variants (see relevent "sources")
  6. //
  7. #ifdef SPAPIP
  8. #define INTERNAL // allow linking of internal API's
  9. #else //SPAPIP
  10. #define INTERNAL PRIVATE // do not allow (compile time) linking of internal API's
  11. #endif //SPAPIP
  12. #ifndef EXPNAME
  13. #define EXPNAME "SETUPAPI"
  14. #endif //EXPNAME
  15. LIBRARY EXPNAME
  16. EXPORTS
  17. ;----- cfgmgr32 -----
  18. ; hw tree traveral routines
  19. ;
  20. ; not exported in ANSI variants
  21. ;
  22. #ifndef ANSI_SETUPAPI
  23. CM_Locate_DevNodeA
  24. CM_Locate_DevNodeW
  25. CM_Locate_DevNode_ExA
  26. CM_Locate_DevNode_ExW
  27. CM_Get_Child
  28. CM_Get_Child_Ex
  29. CM_Get_Sibling
  30. CM_Get_Sibling_Ex
  31. CM_Get_Parent
  32. CM_Get_Parent_Ex
  33. CM_Get_Device_IDA
  34. CM_Get_Device_IDW
  35. CM_Get_Device_ID_ExA
  36. CM_Get_Device_ID_ExW
  37. CM_Get_Device_ID_Size
  38. CM_Get_Device_ID_Size_Ex
  39. CM_Enumerate_EnumeratorsA
  40. CM_Enumerate_EnumeratorsW
  41. CM_Enumerate_Enumerators_ExA
  42. CM_Enumerate_Enumerators_ExW
  43. CM_Get_Device_ID_ListA
  44. CM_Get_Device_ID_ListW
  45. CM_Get_Device_ID_List_ExA
  46. CM_Get_Device_ID_List_ExW
  47. CM_Get_Device_ID_List_SizeA
  48. CM_Get_Device_ID_List_SizeW
  49. CM_Get_Device_ID_List_Size_ExA
  50. CM_Get_Device_ID_List_Size_ExW
  51. CM_Get_Depth
  52. CM_Get_Depth_Ex
  53. ; registry property routines
  54. CM_Get_DevNode_Registry_PropertyA
  55. CM_Get_DevNode_Registry_PropertyW
  56. CM_Get_DevNode_Registry_Property_ExA
  57. CM_Get_DevNode_Registry_Property_ExW
  58. CM_Set_DevNode_Registry_PropertyA
  59. CM_Set_DevNode_Registry_PropertyW
  60. CM_Set_DevNode_Registry_Property_ExA
  61. CM_Set_DevNode_Registry_Property_ExW
  62. CM_Get_Class_Registry_PropertyA
  63. CM_Get_Class_Registry_PropertyW
  64. CM_Set_Class_Registry_PropertyA
  65. CM_Set_Class_Registry_PropertyW
  66. CM_Open_DevNode_Key
  67. CM_Open_DevNode_Key_Ex
  68. CM_Delete_DevNode_Key
  69. CM_Delete_DevNode_Key_Ex
  70. CM_Open_Class_KeyA
  71. CM_Open_Class_KeyW
  72. CM_Open_Class_Key_ExA
  73. CM_Open_Class_Key_ExW
  74. CM_Enumerate_Classes
  75. CM_Enumerate_Classes_Ex
  76. CM_Get_Class_NameA
  77. CM_Get_Class_NameW
  78. CM_Get_Class_Name_ExA
  79. CM_Get_Class_Name_ExW
  80. CM_Get_Class_Key_NameA
  81. CM_Get_Class_Key_NameW
  82. CM_Get_Class_Key_Name_ExA
  83. CM_Get_Class_Key_Name_ExW
  84. CM_Delete_Class_Key
  85. CM_Delete_Class_Key_Ex
  86. CM_Get_Device_Interface_ListA
  87. CM_Get_Device_Interface_ListW
  88. CM_Get_Device_Interface_List_ExA
  89. CM_Get_Device_Interface_List_ExW
  90. CM_Get_Device_Interface_List_SizeA
  91. CM_Get_Device_Interface_List_SizeW
  92. CM_Get_Device_Interface_List_Size_ExA
  93. CM_Get_Device_Interface_List_Size_ExW
  94. CM_Register_Device_InterfaceA
  95. CM_Register_Device_InterfaceW
  96. CM_Register_Device_Interface_ExA
  97. CM_Register_Device_Interface_ExW
  98. CM_Unregister_Device_InterfaceA
  99. CM_Unregister_Device_InterfaceW
  100. CM_Unregister_Device_Interface_ExA
  101. CM_Unregister_Device_Interface_ExW
  102. CM_Get_Device_Interface_AliasA
  103. CM_Get_Device_Interface_AliasW
  104. CM_Get_Device_Interface_Alias_ExA
  105. CM_Get_Device_Interface_Alias_ExW
  106. CM_Get_DevNode_Custom_PropertyA
  107. CM_Get_DevNode_Custom_PropertyW
  108. CM_Get_DevNode_Custom_Property_ExA
  109. CM_Get_DevNode_Custom_Property_ExW
  110. ; routines that operate on devnodes/devinsts
  111. CM_Add_IDA
  112. CM_Add_IDW
  113. CM_Add_ID_ExA
  114. CM_Add_ID_ExW
  115. CM_Create_DevNodeA
  116. CM_Create_DevNodeW
  117. CM_Create_DevNode_ExA
  118. CM_Create_DevNode_ExW
  119. CM_Disable_DevNode
  120. CM_Disable_DevNode_Ex
  121. CM_Enable_DevNode
  122. CM_Enable_DevNode_Ex
  123. CM_Get_DevNode_Status
  124. CM_Get_DevNode_Status_Ex
  125. CM_Set_DevNode_Problem
  126. CM_Set_DevNode_Problem_Ex
  127. CM_Move_DevNode
  128. CM_Move_DevNode_Ex
  129. CM_Reenumerate_DevNode
  130. CM_Reenumerate_DevNode_Ex
  131. CM_Request_Device_EjectA
  132. CM_Request_Device_Eject_ExA
  133. CM_Request_Device_EjectW
  134. CM_Request_Device_Eject_ExW
  135. CM_Setup_DevNode
  136. CM_Setup_DevNode_Ex
  137. CM_Remove_SubTree
  138. CM_Remove_SubTree_Ex
  139. CM_Uninstall_DevNode
  140. CM_Uninstall_DevNode_Ex
  141. CM_Query_And_Remove_SubTreeA
  142. CM_Query_And_Remove_SubTree_ExA
  143. CM_Query_And_Remove_SubTreeW
  144. CM_Query_And_Remove_SubTree_ExW
  145. CM_Query_Remove_SubTree
  146. CM_Query_Remove_SubTree_Ex
  147. CM_Register_Device_Driver
  148. CM_Register_Device_Driver_Ex
  149. ; logical configuration routines
  150. CM_Add_Empty_Log_Conf
  151. CM_Add_Empty_Log_Conf_Ex
  152. CM_Free_Log_Conf
  153. CM_Free_Log_Conf_Ex
  154. CM_Get_First_Log_Conf
  155. CM_Get_First_Log_Conf_Ex
  156. CM_Get_Next_Log_Conf
  157. CM_Get_Next_Log_Conf_Ex
  158. CM_Free_Log_Conf_Handle
  159. CM_Get_Log_Conf_Priority
  160. CM_Get_Log_Conf_Priority_Ex
  161. ; range routines
  162. CM_Add_Range
  163. CM_Create_Range_List
  164. CM_Delete_Range
  165. CM_Dup_Range_List
  166. CM_Find_Range
  167. CM_First_Range
  168. CM_Free_Range_List
  169. CM_Intersect_Range_List
  170. CM_Invert_Range_List
  171. CM_Merge_Range_List
  172. CM_Next_Range
  173. CM_Test_Range_Available
  174. ; hardware profile routines
  175. CM_Is_Dock_Station_Present
  176. CM_Is_Dock_Station_Present_Ex
  177. CM_Request_Eject_PC
  178. CM_Request_Eject_PC_Ex
  179. CM_Get_HW_Prof_FlagsA
  180. CM_Get_HW_Prof_FlagsW
  181. CM_Get_HW_Prof_Flags_ExA
  182. CM_Get_HW_Prof_Flags_ExW
  183. CM_Set_HW_Prof_FlagsA
  184. CM_Set_HW_Prof_FlagsW
  185. CM_Set_HW_Prof_Flags_ExA
  186. CM_Set_HW_Prof_Flags_ExW
  187. CM_Get_Hardware_Profile_InfoA
  188. CM_Get_Hardware_Profile_InfoW
  189. CM_Get_Hardware_Profile_Info_ExA
  190. CM_Get_Hardware_Profile_Info_ExW
  191. CM_Set_HW_Prof ; NOT IMPLEMENTED
  192. CM_Set_HW_Prof_Ex ; NOT IMPLEMENTED
  193. CM_Is_Dock_Station_Present ; NOT IMPLEMENTED
  194. CM_Request_Eject_PC ; NOT IMPLEMENTED
  195. ; resource routines
  196. CM_Add_Res_Des
  197. CM_Add_Res_Des_Ex
  198. CM_Free_Res_Des
  199. CM_Free_Res_Des_Ex
  200. CM_Get_Next_Res_Des
  201. CM_Get_Next_Res_Des_Ex
  202. CM_Get_Res_Des_Data
  203. CM_Get_Res_Des_Data_Ex
  204. CM_Get_Res_Des_Data_Size
  205. CM_Get_Res_Des_Data_Size_Ex
  206. CM_Modify_Res_Des
  207. CM_Modify_Res_Des_Ex
  208. CM_Detect_Resource_Conflict ; Superceded
  209. CM_Detect_Resource_Conflict_Ex ; Superceded
  210. CM_Free_Res_Des_Handle
  211. ; resource conflict routines
  212. CM_Query_Resource_Conflict_List
  213. CM_Free_Resource_Conflict_Handle
  214. CM_Get_Resource_Conflict_Count
  215. CM_Get_Resource_Conflict_DetailsA
  216. CM_Get_Resource_Conflict_DetailsW
  217. ; miscellaneous routines
  218. CM_Get_Version
  219. CM_Get_Version_Ex
  220. CM_Is_Version_Available
  221. CM_Is_Version_Available_Ex
  222. CM_Connect_MachineA
  223. CM_Connect_MachineW
  224. CM_Disconnect_Machine
  225. CM_Get_Global_State
  226. CM_Get_Global_State_Ex
  227. CM_Query_Arbitrator_Free_Data
  228. CM_Query_Arbitrator_Free_Data_Ex
  229. CM_Query_Arbitrator_Free_Size
  230. CM_Query_Arbitrator_Free_Size_Ex
  231. CM_Run_Detection ; NOT IMPLEMENTED
  232. CM_Run_Detection_Ex ; NOT IMPLEMENTED
  233. ; internal routines
  234. CMP_Report_LogOn
  235. CMP_Init_Detection
  236. CMP_RegisterNotification
  237. CMP_UnregisterNotification
  238. CMP_WaitServicesAvailable
  239. CMP_WaitNoPendingInstallEvents
  240. CMP_GetBlockedDriverInfo
  241. CMP_GetServerSideDeviceInstallFlags
  242. #endif // !ANSI_SETUPAPI
  243. ;
  244. ;----- setupapi -----
  245. ;
  246. ;
  247. ; INF Open/close and version APIs
  248. ;
  249. SetupGetInfInformationA
  250. SetupGetInfInformationW
  251. SetupQueryInfFileInformationA
  252. SetupQueryInfFileInformationW
  253. SetupQueryInfOriginalFileInformationA
  254. SetupQueryInfOriginalFileInformationW
  255. SetupQueryInfVersionInformationA
  256. SetupQueryInfVersionInformationW
  257. SetupGetInfFileListA
  258. SetupGetInfFileListW
  259. SetupOpenInfFileA
  260. SetupOpenInfFileW
  261. SetupOpenAppendInfFileA
  262. SetupOpenAppendInfFileW
  263. SetupCloseInfFile
  264. SetupOpenMasterInf
  265. SetupVerifyInfFileA
  266. SetupVerifyInfFileW
  267. ;
  268. ; Low-level enumeration of sections
  269. ; in a single INF
  270. ;
  271. SetupEnumInfSectionsA
  272. SetupEnumInfSectionsW
  273. ;
  274. ; INF line APIs
  275. ;
  276. SetupFindFirstLineA
  277. SetupFindFirstLineW
  278. SetupFindNextLine
  279. SetupFindNextMatchLineA
  280. SetupFindNextMatchLineW
  281. SetupGetLineByIndexA
  282. SetupGetLineByIndexW
  283. SetupGetLineCountA
  284. SetupGetLineCountW
  285. SetupGetLineTextA
  286. SetupGetLineTextW
  287. ;
  288. ; INF value APIs
  289. ;
  290. SetupGetFieldCount
  291. SetupGetStringFieldA
  292. SetupGetStringFieldW
  293. SetupGetIntField
  294. SetupGetMultiSzFieldA
  295. SetupGetMultiSzFieldW
  296. SetupGetBinaryField
  297. ;
  298. ; INF filelist APIs
  299. ;
  300. SetupGetSourceFileLocationA
  301. SetupGetSourceFileLocationW
  302. SetupGetSourceFileSizeA
  303. SetupGetSourceFileSizeW
  304. SetupGetTargetPathA
  305. SetupGetTargetPathW
  306. ;
  307. ; Source media information APIs
  308. ;
  309. SetupGetSourceInfoA
  310. SetupGetSourceInfoW
  311. ;
  312. ; Low-level copy functions
  313. ;
  314. SetupGetFileCompressionInfoA
  315. SetupGetFileCompressionInfoW
  316. SetupGetFileCompressionInfoExA
  317. SetupGetFileCompressionInfoExW
  318. SetupDecompressOrCopyFileA
  319. SetupDecompressOrCopyFileW
  320. SetupInstallFileA
  321. SetupInstallFileW
  322. SetupInstallFileExA
  323. SetupInstallFileExW
  324. SetupCopyOEMInfA
  325. SetupCopyOEMInfW
  326. SetupUninstallNewlyCopiedInfs
  327. SetupUninstallOEMInfA
  328. SetupUninstallOEMInfW
  329. ;
  330. ; Disk prompting functions
  331. ;
  332. SetupPromptForDiskA
  333. SetupPromptForDiskW
  334. ;
  335. ; Source list control functions
  336. ;
  337. SetupSetSourceListA
  338. SetupSetSourceListW
  339. SetupCancelTemporarySourceList
  340. SetupAddToSourceListA
  341. SetupAddToSourceListW
  342. SetupRemoveFromSourceListA
  343. SetupRemoveFromSourceListW
  344. SetupQuerySourceListA
  345. SetupQuerySourceListW
  346. SetupFreeSourceListA
  347. SetupFreeSourceListW
  348. ;
  349. ; File operation error functions
  350. ;
  351. SetupCopyErrorA
  352. SetupCopyErrorW
  353. SetupRenameErrorA
  354. SetupRenameErrorW
  355. SetupDeleteErrorA
  356. SetupDeleteErrorW
  357. SetupBackupErrorA
  358. SetupBackupErrorW
  359. ;
  360. ; File queue functions
  361. ;
  362. SetupOpenFileQueue
  363. SetupCloseFileQueue
  364. SetupSetFileQueueAlternatePlatformA
  365. SetupSetFileQueueAlternatePlatformW
  366. SetupSetPlatformPathOverrideA
  367. SetupSetPlatformPathOverrideW
  368. SetupQueueCopyA
  369. SetupQueueCopyW
  370. SetupQueueCopyIndirectA
  371. SetupQueueCopyIndirectW
  372. SetupQueueDeleteA
  373. SetupQueueDeleteW
  374. SetupQueueRenameA
  375. SetupQueueRenameW
  376. SetupQueueCopySectionA
  377. SetupQueueCopySectionW
  378. SetupQueueDeleteSectionA
  379. SetupQueueDeleteSectionW
  380. SetupQueueRenameSectionA
  381. SetupQueueRenameSectionW
  382. SetupQueueDefaultCopyA
  383. SetupQueueDefaultCopyW
  384. SetupCommitFileQueue
  385. SetupCommitFileQueueA
  386. SetupCommitFileQueueW
  387. SetupInitDefaultQueueCallback
  388. SetupInitDefaultQueueCallbackEx
  389. SetupTermDefaultQueueCallback
  390. #ifdef ANSI_SETUPAPI
  391. SetupDefaultQueueCallback = SetupDefaultQueueCallbackA
  392. #else
  393. SetupDefaultQueueCallback = SetupDefaultQueueCallbackW
  394. #endif
  395. SetupDefaultQueueCallbackA
  396. SetupDefaultQueueCallbackW
  397. #ifdef ANSI_SETUPAPI
  398. SetupScanFileQueue = SetupScanFileQueueA
  399. #else
  400. SetupScanFileQueue = SetupScanFileQueueW
  401. #endif
  402. SetupScanFileQueueA
  403. SetupScanFileQueueW
  404. SetupSetDirectoryIdA
  405. SetupSetDirectoryIdW
  406. SetupSetDirectoryIdExA
  407. SetupSetDirectoryIdExW
  408. SetupGetFileQueueCount
  409. SetupGetFileQueueFlags
  410. SetupSetFileQueueFlags
  411. ;
  412. ; Disk space list functions
  413. ;
  414. SetupCreateDiskSpaceListA
  415. SetupCreateDiskSpaceListW
  416. SetupDuplicateDiskSpaceListA
  417. SetupDuplicateDiskSpaceListW
  418. SetupDestroyDiskSpaceList
  419. SetupQueryDrivesInDiskSpaceListA
  420. SetupQueryDrivesInDiskSpaceListW
  421. SetupQuerySpaceRequiredOnDriveA
  422. SetupQuerySpaceRequiredOnDriveW
  423. SetupAdjustDiskSpaceListA
  424. SetupAdjustDiskSpaceListW
  425. SetupAddToDiskSpaceListA
  426. SetupAddToDiskSpaceListW
  427. SetupAddSectionToDiskSpaceListA
  428. SetupAddSectionToDiskSpaceListW
  429. SetupAddInstallSectionToDiskSpaceListA
  430. SetupAddInstallSectionToDiskSpaceListW
  431. SetupRemoveFromDiskSpaceListA
  432. SetupRemoveFromDiskSpaceListW
  433. SetupRemoveSectionFromDiskSpaceListA
  434. SetupRemoveSectionFromDiskSpaceListW
  435. SetupRemoveInstallSectionFromDiskSpaceListA
  436. SetupRemoveInstallSectionFromDiskSpaceListW
  437. ;
  438. ; High-level INF-based installation functions
  439. ;
  440. SetupConfigureWmiFromInfSectionA
  441. SetupConfigureWmiFromInfSectionW
  442. SetupInstallFromInfSectionA
  443. SetupInstallFromInfSectionW
  444. SetupInstallFilesFromInfSectionA
  445. SetupInstallFilesFromInfSectionW
  446. SetupInstallServicesFromInfSectionA
  447. SetupInstallServicesFromInfSectionW
  448. SetupInstallServicesFromInfSectionExA
  449. SetupInstallServicesFromInfSectionExW
  450. ;
  451. ; Even higher-level INF install function (to support
  452. ; right-click INF installs in the shell).
  453. ;
  454. InstallHinfSectionA
  455. InstallHinfSectionW
  456. InstallHinfSection = InstallHinfSectionA
  457. ;
  458. ; Property sheet extension export (e.g., for resource
  459. ; seletion property page).
  460. ;
  461. ExtensionPropSheetPageProc
  462. ;
  463. ; File logging functions
  464. ;
  465. SetupInitializeFileLogA
  466. SetupInitializeFileLogW
  467. SetupTerminateFileLog
  468. SetupLogFileA
  469. SetupLogFileW
  470. SetupRemoveFileLogEntryA
  471. SetupRemoveFileLogEntryW
  472. SetupQueryFileLogA
  473. SetupQueryFileLogW
  474. ;
  475. ; File backup functions
  476. ;
  477. SetupGetBackupInformationA
  478. SetupGetBackupInformationW
  479. SetupPrepareQueueForRestoreA
  480. SetupPrepareQueueForRestoreW
  481. ;
  482. ; Miscellaneous stuff
  483. ;
  484. SetupPromptReboot
  485. SetupIterateCabinetA
  486. SetupIterateCabinetW
  487. SetupSetNonInteractiveMode
  488. SetupGetNonInteractiveMode
  489. ;
  490. ; Device Installer functions
  491. ;
  492. SetupDiAskForOEMDisk
  493. SetupDiBuildClassInfoList
  494. SetupDiBuildClassInfoListExA
  495. SetupDiBuildClassInfoListExW
  496. SetupDiBuildDriverInfoList
  497. SetupDiCallClassInstaller
  498. SetupDiCancelDriverInfoSearch
  499. SetupDiChangeState
  500. SetupDiClassGuidsFromNameA
  501. SetupDiClassGuidsFromNameExA
  502. SetupDiClassGuidsFromNameExW
  503. SetupDiClassGuidsFromNameW
  504. SetupDiClassNameFromGuidA
  505. SetupDiClassNameFromGuidExA
  506. SetupDiClassNameFromGuidExW
  507. SetupDiClassNameFromGuidW
  508. SetupDiCreateDevRegKeyA
  509. SetupDiCreateDevRegKeyW
  510. SetupDiCreateDeviceInfoA
  511. SetupDiCreateDeviceInfoList
  512. SetupDiCreateDeviceInfoListExA
  513. SetupDiCreateDeviceInfoListExW
  514. SetupDiCreateDeviceInfoW
  515. SetupDiCreateDeviceInterfaceA
  516. SetupDiCreateDeviceInterfaceRegKeyA
  517. SetupDiCreateDeviceInterfaceRegKeyW
  518. SetupDiCreateDeviceInterfaceW
  519. SetupDiDeleteDevRegKey
  520. SetupDiDeleteDeviceInfo
  521. SetupDiDeleteDeviceInterfaceData
  522. SetupDiDeleteDeviceInterfaceRegKey
  523. SetupDiDestroyClassImageList
  524. SetupDiDestroyDeviceInfoList
  525. SetupDiDestroyDriverInfoList
  526. SetupDiDrawMiniIcon
  527. SetupDiEnumDeviceInfo
  528. SetupDiEnumDeviceInterfaces
  529. SetupDiEnumDriverInfoA
  530. SetupDiEnumDriverInfoW
  531. SetupDiGetActualSectionToInstallA
  532. SetupDiGetActualSectionToInstallW
  533. SetupDiGetActualSectionToInstallExA
  534. SetupDiGetActualSectionToInstallExW
  535. SetupDiGetClassBitmapIndex
  536. SetupDiGetClassDescriptionA
  537. SetupDiGetClassDescriptionExA
  538. SetupDiGetClassDescriptionExW
  539. SetupDiGetClassDescriptionW
  540. SetupDiGetClassDevPropertySheetsA
  541. SetupDiGetClassDevPropertySheetsW
  542. SetupDiGetClassDevsA
  543. SetupDiGetClassDevsExA
  544. SetupDiGetClassDevsExW
  545. SetupDiGetClassDevsW
  546. SetupDiGetClassImageIndex
  547. SetupDiGetClassImageList
  548. SetupDiGetClassImageListExA
  549. SetupDiGetClassImageListExW
  550. SetupDiGetClassInstallParamsA
  551. SetupDiGetClassInstallParamsW
  552. SetupDiGetClassRegistryPropertyA
  553. SetupDiGetClassRegistryPropertyW
  554. SetupDiGetCustomDevicePropertyA
  555. SetupDiGetCustomDevicePropertyW
  556. SetupDiGetDeviceInfoListClass
  557. SetupDiGetDeviceInfoListDetailA
  558. SetupDiGetDeviceInfoListDetailW
  559. SetupDiGetDeviceInstallParamsA
  560. SetupDiGetDeviceInstallParamsW
  561. SetupDiGetDeviceInstanceIdA
  562. SetupDiGetDeviceInstanceIdW
  563. SetupDiGetDeviceInterfaceAlias
  564. SetupDiGetDeviceInterfaceDetailA
  565. SetupDiGetDeviceInterfaceDetailW
  566. SetupDiGetDeviceRegistryPropertyA
  567. SetupDiGetDeviceRegistryPropertyW
  568. SetupDiGetDriverInfoDetailA
  569. SetupDiGetDriverInfoDetailW
  570. SetupDiGetDriverInstallParamsA
  571. SetupDiGetDriverInstallParamsW
  572. SetupDiGetHwProfileFriendlyNameA
  573. SetupDiGetHwProfileFriendlyNameExA
  574. SetupDiGetHwProfileFriendlyNameExW
  575. SetupDiGetHwProfileFriendlyNameW
  576. SetupDiGetHwProfileList
  577. SetupDiGetHwProfileListExA
  578. SetupDiGetHwProfileListExW
  579. SetupDiGetINFClassA
  580. SetupDiGetINFClassW
  581. SetupDiGetSelectedDevice
  582. SetupDiGetSelectedDriverA
  583. SetupDiGetSelectedDriverW
  584. SetupDiGetWizardPage
  585. SetupDiInstallClassA
  586. SetupDiInstallClassExA
  587. SetupDiInstallClassExW
  588. SetupDiInstallClassW
  589. SetupDiInstallDevice
  590. SetupDiInstallDeviceInterfaces
  591. SetupDiInstallDriverFiles
  592. SetupDiLoadClassIcon
  593. SetupDiMoveDuplicateDevice
  594. SetupDiOpenClassRegKey
  595. SetupDiOpenClassRegKeyExA
  596. SetupDiOpenClassRegKeyExW
  597. SetupDiOpenDevRegKey
  598. SetupDiOpenDeviceInfoA
  599. SetupDiOpenDeviceInfoW
  600. SetupDiOpenDeviceInterfaceA
  601. SetupDiOpenDeviceInterfaceRegKey
  602. SetupDiOpenDeviceInterfaceW
  603. SetupDiRegisterCoDeviceInstallers
  604. SetupDiRegisterDeviceInfo
  605. SetupDiRemoveDevice
  606. SetupDiRemoveDeviceInterface
  607. SetupDiSelectBestCompatDrv
  608. SetupDiSelectDevice
  609. SetupDiSelectOEMDrv
  610. SetupDiSetClassInstallParamsA
  611. SetupDiSetClassInstallParamsW
  612. SetupDiSetClassRegistryPropertyA
  613. SetupDiSetClassRegistryPropertyW
  614. SetupDiSetDeviceInstallParamsA
  615. SetupDiSetDeviceInstallParamsW
  616. SetupDiSetDeviceInterfaceDefault
  617. SetupDiSetDeviceRegistryPropertyA
  618. SetupDiSetDeviceRegistryPropertyW
  619. SetupDiSetDriverInstallParamsA
  620. SetupDiSetDriverInstallParamsW
  621. SetupDiSetSelectedDevice
  622. SetupDiSetSelectedDriverA
  623. SetupDiSetSelectedDriverW
  624. SetupDiUnremoveDevice
  625. ;
  626. ; Message Log APIs
  627. ;
  628. SetupOpenLog
  629. SetupLogErrorA
  630. SetupLogErrorW
  631. SetupCloseLog
  632. ;
  633. ; Internal stuff (see \nt\internal\inc\spapip.h)
  634. ;
  635. #ifdef ANSI_SETUPAPI
  636. ;
  637. ; API's exported by ANSI variants of SetupAPI
  638. ;
  639. pSetupGetField PRIVATE
  640. #else
  641. ;
  642. ; API's exported by UNICODE variants of SetupAPI
  643. ; marked "INTERNAL" so that they are accessable only via SPAPIP.LIB
  644. ;
  645. pSetupAcquireSCMLock INTERNAL
  646. pSetupAddMiniIconToList INTERNAL
  647. pSetupAddTagToGroupOrderListEntry INTERNAL
  648. pSetupAppendStringToMultiSz INTERNAL
  649. pSetupCaptureAndConvertAnsiArg INTERNAL
  650. pSetupCenterWindowRelativeToParent INTERNAL
  651. pSetupConcatenatePaths INTERNAL
  652. pSetupDiGetDeviceInfoContext INTERNAL
  653. pSetupDiSetDeviceInfoContext INTERNAL
  654. pSetupDoesUserHavePrivilege INTERNAL
  655. pSetupDuplicateString INTERNAL
  656. pSetupEnablePrivilege INTERNAL
  657. pSetupFree INTERNAL
  658. pSetupFreeStringArray INTERNAL
  659. pSetupGetCurrentDriverSigningPolicy INTERNAL
  660. pSetupGetField INTERNAL
  661. pSetupGetFileTitle INTERNAL
  662. pSetupGetGlobalFlags INTERNAL
  663. pSetupGetInfSections INTERNAL
  664. pSetupGetQueueFlags INTERNAL
  665. pSetupGetRealSystemTime INTERNAL
  666. pSetupGetVersionInfoFromImage INTERNAL
  667. pSetupGuidFromString INTERNAL
  668. pSetupHandleFailedVerification INTERNAL
  669. pSetupInfCacheBuild INTERNAL
  670. pSetupInfIsFromOemLocation INTERNAL
  671. pSetupInstallCatalog INTERNAL
  672. pSetupInstallStopEx INTERNAL
  673. pSetupIsGuidNull INTERNAL
  674. pSetupIsUserAdmin INTERNAL
  675. pSetupMakeSurePathExists INTERNAL
  676. pSetupMalloc INTERNAL
  677. pSetupModifyGlobalFlags INTERNAL
  678. pSetupMultiByteToUnicode INTERNAL
  679. pSetupOpenAndMapFileForRead INTERNAL
  680. pSetupOutOfMemory INTERNAL
  681. pSetupQueryMultiSzValueToArray INTERNAL
  682. pSetupRealloc INTERNAL
  683. pSetupRegistryDelnode INTERNAL
  684. pSetupRetrieveServiceConfig INTERNAL
  685. pSetupSetArrayToMultiSzValue INTERNAL
  686. pSetupSetGlobalFlags INTERNAL
  687. pSetupSetNoDriverPrompts INTERNAL
  688. pSetupSetQueueFlags INTERNAL
  689. pSetupSetSystemSourcePath INTERNAL
  690. pSetupShouldDeviceBeExcluded INTERNAL
  691. pSetupStringFromGuid INTERNAL
  692. pSetupStringTableAddString INTERNAL
  693. pSetupStringTableAddStringEx INTERNAL
  694. pSetupStringTableDestroy INTERNAL
  695. pSetupStringTableDuplicate INTERNAL
  696. pSetupStringTableEnum INTERNAL
  697. pSetupStringTableGetExtraData INTERNAL
  698. pSetupStringTableInitialize INTERNAL
  699. pSetupStringTableInitializeEx INTERNAL
  700. pSetupStringTableLookUpString INTERNAL
  701. pSetupStringTableLookUpStringEx INTERNAL
  702. pSetupStringTableSetExtraData INTERNAL
  703. pSetupStringTableStringFromId INTERNAL
  704. pSetupStringTableStringFromIdEx INTERNAL
  705. pSetupUnicodeToMultiByte INTERNAL
  706. pSetupUnmapAndCloseFile INTERNAL
  707. pSetupVerifyCatalogFile INTERNAL
  708. pSetupVerifyFile INTERNAL
  709. pSetupVerifyQueuedCatalogs INTERNAL
  710. pSetupWriteLogEntry INTERNAL
  711. pSetupWriteLogError INTERNAL
  712. pSetupIsLocalSystem INTERNAL
  713. ;
  714. ; internal API's accessed only via GetProcAddress
  715. ;
  716. pSetupAccessRunOnceNodeList PRIVATE
  717. pSetupDestroyRunOnceNodeList PRIVATE
  718. #endif // !ANSI_SETUPAPI
  719. ;
  720. ; APPCOMPAT!!!!
  721. ; sadly this is here because MyFree got into a DDK
  722. ; this *must* call LocalFree
  723. ;
  724. MyFree = OldMyFree PRIVATE
  725. ;
  726. ; APPCOMPAT!!!!
  727. ; it seems someone decided to use thse too
  728. ; these must work with MyFree
  729. ;
  730. MyMalloc = OldMyMalloc PRIVATE
  731. MyRealloc = OldMyRealloc PRIVATE
  732. ;
  733. ; APPCOMPAT!!!!
  734. ; Security API's
  735. ;
  736. IsUserAdmin = pSetupIsUserAdmin PRIVATE
  737. DoesUserHavePrivilege = pSetupDoesUserHavePrivilege PRIVATE
  738. ;
  739. ; APPCOMPAT!!!!
  740. ; Used by SQL7sp2 and Win2k hotfix.exe
  741. ; we just pretend to succeed but actually do nothing
  742. ;
  743. #ifndef ANSI_SETUPAPI
  744. InstallCatalog = OldInstallCatalog PRIVATE
  745. #endif
  746. ;
  747. ; APPCOMPAT!!!!
  748. ; Used by Win2k hotfix.exe
  749. ; for now, route to new API's
  750. ;
  751. #ifndef ANSI_SETUPAPI
  752. VerifyCatalogFile = pSetupVerifyCatalogFile PRIVATE
  753. UnicodeToMultiByte = pSetupUnicodeToMultiByte PRIVATE
  754. #endif
  755. ;
  756. ; Used and linked to by various build tools
  757. ; will eventually be supersceeded by SetupEnumInfSections
  758. ;
  759. SetupGetInfSections = pSetupGetInfSections