Source code of Windows XP (NT5)
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.

1693 lines
34 KiB

  1. #include "basepch.h"
  2. #pragma hdrstop
  3. #define _CFGMGR32_
  4. #include <cfgmgr32.h>
  5. #define _SETUPAPI_
  6. #include <setupapi.h>
  7. #include <spapip.h>
  8. static
  9. CMAPI
  10. CONFIGRET
  11. WINAPI
  12. CM_Add_Empty_Log_Conf(
  13. OUT PLOG_CONF plcLogConf,
  14. IN DEVINST dnDevInst,
  15. IN PRIORITY Priority,
  16. IN ULONG ulFlags
  17. )
  18. {
  19. return CR_FAILURE;
  20. }
  21. static
  22. CMAPI
  23. CONFIGRET
  24. WINAPI
  25. CM_Add_Res_Des(
  26. OUT PRES_DES prdResDes,
  27. IN LOG_CONF lcLogConf,
  28. IN RESOURCEID ResourceID,
  29. IN PCVOID ResourceData,
  30. IN ULONG ResourceLen,
  31. IN ULONG ulFlags
  32. )
  33. {
  34. return CR_FAILURE;
  35. }
  36. static
  37. CMAPI
  38. CONFIGRET
  39. WINAPI
  40. CM_Free_Log_Conf_Handle(
  41. IN LOG_CONF lcLogConf
  42. )
  43. {
  44. return CR_FAILURE;
  45. }
  46. static
  47. CMAPI
  48. CONFIGRET
  49. WINAPI
  50. CM_Get_Child(
  51. OUT PDEVINST pdnDevInst,
  52. IN DEVINST dnDevInst,
  53. IN ULONG ulFlags
  54. )
  55. {
  56. return CR_FAILURE;
  57. }
  58. static
  59. CMAPI
  60. CONFIGRET
  61. WINAPI
  62. CM_Get_DevNode_Custom_PropertyW(
  63. IN DEVINST dnDevInst,
  64. IN PCWSTR pszCustomPropertyName,
  65. OUT PULONG pulRegDataType, OPTIONAL
  66. OUT PVOID Buffer, OPTIONAL
  67. IN OUT PULONG pulLength,
  68. IN ULONG ulFlags
  69. )
  70. {
  71. return CR_FAILURE;
  72. }
  73. static
  74. CMAPI
  75. CONFIGRET
  76. WINAPI
  77. CM_Get_DevNode_Registry_Property_ExW(
  78. IN DEVINST dnDevInst,
  79. IN ULONG ulProperty,
  80. OUT PULONG pulRegDataType, OPTIONAL
  81. OUT PVOID Buffer, OPTIONAL
  82. IN OUT PULONG pulLength,
  83. IN ULONG ulFlags,
  84. IN HMACHINE hMachine
  85. )
  86. {
  87. return CR_FAILURE;
  88. }
  89. static
  90. CMAPI
  91. CONFIGRET
  92. WINAPI
  93. CM_Get_DevNode_Status(
  94. OUT PULONG pulStatus,
  95. OUT PULONG pulProblemNumber,
  96. IN DEVINST dnDevInst,
  97. IN ULONG ulFlags
  98. )
  99. {
  100. return CR_FAILURE;
  101. }
  102. static
  103. CMAPI
  104. CONFIGRET
  105. WINAPI
  106. CM_Get_DevNode_Status_Ex(
  107. OUT PULONG pulStatus,
  108. OUT PULONG pulProblemNumber,
  109. IN DEVINST dnDevInst,
  110. IN ULONG ulFlags,
  111. IN HMACHINE hMachine
  112. )
  113. {
  114. return CR_FAILURE;
  115. }
  116. static
  117. CMAPI
  118. CONFIGRET
  119. WINAPI
  120. CM_Get_Device_IDW(
  121. IN DEVINST dnDevInst,
  122. OUT PWCHAR Buffer,
  123. IN ULONG BufferLen,
  124. IN ULONG ulFlags
  125. )
  126. {
  127. return CR_FAILURE;
  128. }
  129. static
  130. CMAPI
  131. CONFIGRET
  132. WINAPI
  133. CM_Get_Device_ID_ExW(
  134. IN DEVINST dnDevInst,
  135. OUT PWCHAR Buffer,
  136. IN ULONG BufferLen,
  137. IN ULONG ulFlags,
  138. IN HMACHINE hMachine
  139. )
  140. {
  141. return CR_FAILURE;
  142. }
  143. static
  144. CMAPI
  145. CONFIGRET
  146. WINAPI
  147. CM_Get_Device_ID_Size(
  148. OUT PULONG pulLen,
  149. IN DEVINST dnDevInst,
  150. IN ULONG ulFlags
  151. )
  152. {
  153. return CR_FAILURE;
  154. }
  155. static
  156. CMAPI
  157. CONFIGRET
  158. WINAPI
  159. CM_Get_Device_Interface_List_ExW(
  160. IN LPGUID InterfaceClassGuid,
  161. IN DEVINSTID_W pDeviceID, OPTIONAL
  162. OUT PWCHAR Buffer,
  163. IN ULONG BufferLen,
  164. IN ULONG ulFlags,
  165. IN HMACHINE hMachine
  166. )
  167. {
  168. return CR_FAILURE;
  169. }
  170. static
  171. CMAPI
  172. CONFIGRET
  173. WINAPI
  174. CM_Get_Device_Interface_List_Size_ExW(
  175. IN PULONG pulLen,
  176. IN LPGUID InterfaceClassGuid,
  177. IN DEVINSTID_W pDeviceID, OPTIONAL
  178. IN ULONG ulFlags,
  179. IN HMACHINE hMachine
  180. )
  181. {
  182. return CR_FAILURE;
  183. }
  184. static
  185. CMAPI
  186. CONFIGRET
  187. WINAPI
  188. CM_Get_First_Log_Conf(
  189. OUT PLOG_CONF plcLogConf, OPTIONAL
  190. IN DEVINST dnDevInst,
  191. IN ULONG ulFlags
  192. )
  193. {
  194. return CR_FAILURE;
  195. }
  196. static
  197. CMAPI
  198. CONFIGRET
  199. WINAPI
  200. CM_Get_Next_Log_Conf(
  201. OUT PLOG_CONF plcLogConf, OPTIONAL
  202. IN LOG_CONF lcLogConf,
  203. IN ULONG ulFlags
  204. )
  205. {
  206. return CR_FAILURE;
  207. }
  208. static
  209. CMAPI
  210. CONFIGRET
  211. WINAPI
  212. CM_Get_Next_Res_Des(
  213. OUT PRES_DES prdResDes,
  214. IN RES_DES rdResDes,
  215. IN RESOURCEID ForResource,
  216. OUT PRESOURCEID pResourceID,
  217. IN ULONG ulFlags
  218. )
  219. {
  220. return CR_FAILURE;
  221. }
  222. static
  223. CMAPI
  224. CONFIGRET
  225. WINAPI
  226. CM_Get_Parent_Ex(
  227. OUT PDEVINST pdnDevInst,
  228. IN DEVINST dnDevInst,
  229. IN ULONG ulFlags,
  230. IN HMACHINE hMachine
  231. )
  232. {
  233. return CR_FAILURE;
  234. }
  235. static
  236. CMAPI
  237. CONFIGRET
  238. WINAPI
  239. CM_Get_Res_Des_Data(
  240. IN RES_DES rdResDes,
  241. OUT PVOID Buffer,
  242. IN ULONG BufferLen,
  243. IN ULONG ulFlags
  244. )
  245. {
  246. return CR_FAILURE;
  247. }
  248. static
  249. CMAPI
  250. CONFIGRET
  251. WINAPI
  252. CM_Get_Res_Des_Data_Size(
  253. OUT PULONG pulSize,
  254. IN RES_DES rdResDes,
  255. IN ULONG ulFlags
  256. )
  257. {
  258. return CR_FAILURE;
  259. }
  260. static
  261. CMAPI
  262. CONFIGRET
  263. WINAPI
  264. CM_Get_Sibling(
  265. OUT PDEVINST pdnDevInst,
  266. IN DEVINST DevInst,
  267. IN ULONG ulFlags
  268. )
  269. {
  270. return CR_FAILURE;
  271. }
  272. static
  273. CMAPI
  274. CONFIGRET
  275. WINAPI
  276. CM_Is_Dock_Station_Present(
  277. OUT PBOOL pbPresent
  278. )
  279. {
  280. *pbPresent = FALSE;
  281. return CR_FAILURE;
  282. }
  283. static
  284. CMAPI
  285. CONFIGRET
  286. WINAPI
  287. CM_Locate_DevNodeW(
  288. OUT PDEVINST pdnDevInst,
  289. IN DEVINSTID_W pDeviceID, OPTIONAL
  290. IN ULONG ulFlags
  291. )
  292. {
  293. return CR_FAILURE;
  294. }
  295. static
  296. CMAPI
  297. CONFIGRET
  298. WINAPI
  299. CM_Open_DevNode_Key(
  300. IN DEVINST dnDevNode,
  301. IN REGSAM samDesired,
  302. IN ULONG ulHardwareProfile,
  303. IN REGDISPOSITION Disposition,
  304. OUT PHKEY phkDevice,
  305. IN ULONG ulFlags
  306. )
  307. {
  308. return CR_FAILURE;
  309. }
  310. static
  311. CMAPI
  312. CONFIGRET
  313. WINAPI
  314. CM_Request_Eject_PC()
  315. {
  316. return CR_FAILURE;
  317. }
  318. static
  319. WINSETUPAPI
  320. BOOL
  321. WINAPI
  322. SetupCloseFileQueue(
  323. IN HSPFILEQ QueueHandle
  324. )
  325. {
  326. SetLastError(ERROR_PROC_NOT_FOUND);
  327. return FALSE;
  328. }
  329. static
  330. WINSETUPAPI
  331. VOID
  332. WINAPI
  333. SetupCloseInfFile(
  334. IN HINF InfHandle
  335. )
  336. {
  337. }
  338. static
  339. WINSETUPAPI
  340. VOID
  341. WINAPI
  342. SetupCloseLog (
  343. VOID
  344. )
  345. {
  346. }
  347. static
  348. WINSETUPAPI
  349. BOOL
  350. WINAPI
  351. SetupCommitFileQueueW(
  352. IN HWND Owner, OPTIONAL
  353. IN HSPFILEQ QueueHandle,
  354. IN PSP_FILE_CALLBACK_W MsgHandler,
  355. IN PVOID Context
  356. )
  357. {
  358. SetLastError(ERROR_PROC_NOT_FOUND);
  359. return FALSE;
  360. }
  361. static
  362. WINSETUPAPI
  363. BOOL
  364. WINAPI
  365. SetupCopyOEMInfW(
  366. IN PCWSTR SourceInfFileName,
  367. IN PCWSTR OEMSourceMediaLocation, OPTIONAL
  368. IN DWORD OEMSourceMediaType,
  369. IN DWORD CopyStyle,
  370. OUT PWSTR DestinationInfFileName, OPTIONAL
  371. IN DWORD DestinationInfFileNameSize,
  372. OUT PDWORD RequiredSize, OPTIONAL
  373. OUT PWSTR *DestinationInfFileNameComponent OPTIONAL
  374. )
  375. {
  376. SetLastError(ERROR_PROC_NOT_FOUND);
  377. return FALSE;
  378. }
  379. static
  380. WINSETUPAPI
  381. UINT
  382. WINAPI
  383. SetupDefaultQueueCallbackW(
  384. IN PVOID Context,
  385. IN UINT Notification,
  386. IN UINT_PTR Param1,
  387. IN UINT_PTR Param2
  388. )
  389. {
  390. SetLastError(ERROR_PROC_NOT_FOUND);
  391. return 0;
  392. }
  393. static
  394. WINSETUPAPI
  395. BOOL
  396. WINAPI
  397. SetupDiBuildDriverInfoList(
  398. IN HDEVINFO DeviceInfoSet,
  399. IN OUT PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  400. IN DWORD DriverType
  401. )
  402. {
  403. SetLastError(ERROR_PROC_NOT_FOUND);
  404. return FALSE;
  405. }
  406. static
  407. WINSETUPAPI
  408. BOOL
  409. WINAPI
  410. SetupDiCallClassInstaller(
  411. IN DI_FUNCTION InstallFunction,
  412. IN HDEVINFO DeviceInfoSet,
  413. IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  414. )
  415. {
  416. SetLastError(ERROR_PROC_NOT_FOUND);
  417. return FALSE;
  418. }
  419. static
  420. WINSETUPAPI
  421. BOOL
  422. WINAPI
  423. SetupDiClassGuidsFromNameW(
  424. IN PCWSTR ClassName,
  425. OUT LPGUID ClassGuidList,
  426. IN DWORD ClassGuidListSize,
  427. OUT PDWORD RequiredSize
  428. )
  429. {
  430. SetLastError(ERROR_PROC_NOT_FOUND);
  431. return FALSE;
  432. }
  433. static
  434. WINSETUPAPI
  435. HKEY
  436. WINAPI
  437. SetupDiCreateDevRegKeyW(
  438. IN HDEVINFO DeviceInfoSet,
  439. IN PSP_DEVINFO_DATA DeviceInfoData,
  440. IN DWORD Scope,
  441. IN DWORD HwProfile,
  442. IN DWORD KeyType,
  443. IN HINF InfHandle, OPTIONAL
  444. IN PCWSTR InfSectionName OPTIONAL
  445. )
  446. {
  447. SetLastError(ERROR_PROC_NOT_FOUND);
  448. return INVALID_HANDLE_VALUE;
  449. }
  450. static
  451. WINSETUPAPI
  452. HDEVINFO
  453. WINAPI
  454. SetupDiCreateDeviceInfoList(
  455. IN CONST GUID *ClassGuid, OPTIONAL
  456. IN HWND hwndParent OPTIONAL
  457. )
  458. {
  459. SetLastError(ERROR_PROC_NOT_FOUND);
  460. return NULL;
  461. }
  462. static
  463. WINSETUPAPI
  464. BOOL
  465. WINAPI
  466. SetupDiCreateDeviceInfoW(
  467. IN HDEVINFO DeviceInfoSet,
  468. IN PCWSTR DeviceName,
  469. IN CONST GUID *ClassGuid,
  470. IN PCWSTR DeviceDescription, OPTIONAL
  471. IN HWND hwndParent, OPTIONAL
  472. IN DWORD CreationFlags,
  473. OUT PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  474. )
  475. {
  476. SetLastError(ERROR_PROC_NOT_FOUND);
  477. return FALSE;
  478. }
  479. static
  480. WINSETUPAPI
  481. BOOL
  482. WINAPI
  483. SetupDiDeleteDeviceInfo(
  484. IN HDEVINFO DeviceInfoSet,
  485. IN PSP_DEVINFO_DATA DeviceInfoData
  486. )
  487. {
  488. SetLastError(ERROR_PROC_NOT_FOUND);
  489. return FALSE;
  490. }
  491. static
  492. WINSETUPAPI
  493. BOOL
  494. WINAPI
  495. SetupDiDestroyClassImageList(
  496. IN PSP_CLASSIMAGELIST_DATA ClassImageListData
  497. )
  498. {
  499. SetLastError(ERROR_PROC_NOT_FOUND);
  500. return FALSE;
  501. }
  502. static
  503. WINSETUPAPI
  504. BOOL
  505. WINAPI
  506. SetupDiDestroyDeviceInfoList(
  507. IN HDEVINFO DeviceInfoSet
  508. )
  509. {
  510. SetLastError(ERROR_PROC_NOT_FOUND);
  511. return FALSE;
  512. }
  513. static
  514. WINSETUPAPI
  515. BOOL
  516. WINAPI
  517. SetupDiEnumDeviceInfo(
  518. IN HDEVINFO DeviceInfoSet,
  519. IN DWORD MemberIndex,
  520. OUT PSP_DEVINFO_DATA DeviceInfoData
  521. )
  522. {
  523. SetLastError(ERROR_PROC_NOT_FOUND);
  524. return FALSE;
  525. }
  526. static
  527. WINSETUPAPI
  528. BOOL
  529. WINAPI
  530. SetupDiEnumDeviceInterfaces(
  531. IN HDEVINFO DeviceInfoSet,
  532. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  533. IN CONST GUID *InterfaceClassGuid,
  534. IN DWORD MemberIndex,
  535. OUT PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData
  536. )
  537. {
  538. SetLastError(ERROR_PROC_NOT_FOUND);
  539. return FALSE;
  540. }
  541. static
  542. WINSETUPAPI
  543. BOOL
  544. WINAPI
  545. SetupDiEnumDriverInfoW(
  546. IN HDEVINFO DeviceInfoSet,
  547. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  548. IN DWORD DriverType,
  549. IN DWORD MemberIndex,
  550. OUT PSP_DRVINFO_DATA_W DriverInfoData
  551. )
  552. {
  553. SetLastError(ERROR_PROC_NOT_FOUND);
  554. return FALSE;
  555. }
  556. static
  557. WINSETUPAPI
  558. BOOL
  559. WINAPI
  560. SetupDiGetActualSectionToInstallW(
  561. IN HINF InfHandle,
  562. IN PCWSTR InfSectionName,
  563. OUT PWSTR InfSectionWithExt, OPTIONAL
  564. IN DWORD InfSectionWithExtSize,
  565. OUT PDWORD RequiredSize, OPTIONAL
  566. OUT PWSTR *Extension OPTIONAL
  567. )
  568. {
  569. SetLastError(ERROR_PROC_NOT_FOUND);
  570. return FALSE;
  571. }
  572. static
  573. WINSETUPAPI
  574. HDEVINFO
  575. WINAPI
  576. SetupDiGetClassDevsA(
  577. IN CONST GUID *ClassGuid, OPTIONAL
  578. IN PCSTR Enumerator, OPTIONAL
  579. IN HWND hwndParent, OPTIONAL
  580. IN DWORD Flags
  581. )
  582. {
  583. SetLastError(ERROR_PROC_NOT_FOUND);
  584. return INVALID_HANDLE_VALUE;
  585. }
  586. static
  587. WINSETUPAPI
  588. HDEVINFO
  589. WINAPI
  590. SetupDiGetClassDevsW(
  591. IN CONST GUID *ClassGuid, OPTIONAL
  592. IN PCWSTR Enumerator, OPTIONAL
  593. IN HWND hwndParent, OPTIONAL
  594. IN DWORD Flags
  595. )
  596. {
  597. SetLastError(ERROR_PROC_NOT_FOUND);
  598. return INVALID_HANDLE_VALUE;
  599. }
  600. static
  601. WINSETUPAPI
  602. BOOL
  603. WINAPI
  604. SetupDiGetClassInstallParamsW(
  605. IN HDEVINFO DeviceInfoSet,
  606. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  607. OUT PSP_CLASSINSTALL_HEADER ClassInstallParams, OPTIONAL
  608. IN DWORD ClassInstallParamsSize,
  609. OUT PDWORD RequiredSize OPTIONAL
  610. )
  611. {
  612. SetLastError(ERROR_PROC_NOT_FOUND);
  613. return FALSE;
  614. }
  615. static
  616. WINSETUPAPI
  617. BOOL
  618. WINAPI
  619. SetupDiGetDeviceInfoListClass(
  620. IN HDEVINFO DeviceInfoSet,
  621. OUT LPGUID ClassGuid
  622. )
  623. {
  624. SetLastError(ERROR_PROC_NOT_FOUND);
  625. return FALSE;
  626. }
  627. static
  628. WINSETUPAPI
  629. BOOL
  630. WINAPI
  631. SetupDiGetDeviceInstallParamsW(
  632. IN HDEVINFO DeviceInfoSet,
  633. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  634. OUT PSP_DEVINSTALL_PARAMS_W DeviceInstallParams
  635. )
  636. {
  637. SetLastError(ERROR_PROC_NOT_FOUND);
  638. return FALSE;
  639. }
  640. static
  641. WINSETUPAPI
  642. BOOL
  643. WINAPI
  644. SetupDiGetDeviceInstanceIdW(
  645. IN HDEVINFO DeviceInfoSet,
  646. IN PSP_DEVINFO_DATA DeviceInfoData,
  647. OUT PWSTR DeviceInstanceId,
  648. IN DWORD DeviceInstanceIdSize,
  649. OUT PDWORD RequiredSize OPTIONAL
  650. )
  651. {
  652. SetLastError(ERROR_PROC_NOT_FOUND);
  653. return FALSE;
  654. }
  655. static
  656. WINSETUPAPI
  657. BOOL
  658. WINAPI
  659. SetupDiGetClassImageIndex(
  660. IN PSP_CLASSIMAGELIST_DATA ClassImageListData,
  661. IN CONST GUID *ClassGuid,
  662. OUT PINT ImageIndex
  663. )
  664. {
  665. SetLastError(ERROR_PROC_NOT_FOUND);
  666. return FALSE;
  667. }
  668. static
  669. WINSETUPAPI
  670. BOOL
  671. WINAPI
  672. SetupDiGetClassImageList(
  673. OUT PSP_CLASSIMAGELIST_DATA ClassImageListData
  674. )
  675. {
  676. SetLastError(ERROR_PROC_NOT_FOUND);
  677. return FALSE;
  678. }
  679. WINSETUPAPI
  680. BOOL
  681. WINAPI
  682. SetupDiGetDeviceInterfaceDetailA(
  683. IN HDEVINFO DeviceInfoSet,
  684. IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
  685. OUT PSP_DEVICE_INTERFACE_DETAIL_DATA_A DeviceInterfaceDetailData, OPTIONAL
  686. IN DWORD DeviceInterfaceDetailDataSize,
  687. OUT PDWORD RequiredSize, OPTIONAL
  688. OUT PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  689. )
  690. {
  691. SetLastError(ERROR_PROC_NOT_FOUND);
  692. return FALSE;
  693. }
  694. static
  695. WINSETUPAPI
  696. BOOL
  697. WINAPI
  698. SetupDiGetDeviceInterfaceDetailW(
  699. IN HDEVINFO DeviceInfoSet,
  700. IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
  701. OUT PSP_DEVICE_INTERFACE_DETAIL_DATA_W DeviceInterfaceDetailData, OPTIONAL
  702. IN DWORD DeviceInterfaceDetailDataSize,
  703. OUT PDWORD RequiredSize, OPTIONAL
  704. OUT PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  705. )
  706. {
  707. SetLastError(ERROR_PROC_NOT_FOUND);
  708. return FALSE;
  709. }
  710. static
  711. WINSETUPAPI
  712. BOOL
  713. WINAPI
  714. SetupDiGetDeviceRegistryPropertyW(
  715. IN HDEVINFO DeviceInfoSet,
  716. IN PSP_DEVINFO_DATA DeviceInfoData,
  717. IN DWORD Property,
  718. OUT PDWORD PropertyRegDataType, OPTIONAL
  719. OUT PBYTE PropertyBuffer,
  720. IN DWORD PropertyBufferSize,
  721. OUT PDWORD RequiredSize OPTIONAL
  722. )
  723. {
  724. SetLastError(ERROR_PROC_NOT_FOUND);
  725. return FALSE;
  726. }
  727. static
  728. WINSETUPAPI
  729. BOOL
  730. WINAPI
  731. SetupDiGetDriverInfoDetailW(
  732. IN HDEVINFO DeviceInfoSet,
  733. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  734. IN PSP_DRVINFO_DATA_W DriverInfoData,
  735. OUT PSP_DRVINFO_DETAIL_DATA_W DriverInfoDetailData, OPTIONAL
  736. IN DWORD DriverInfoDetailDataSize,
  737. OUT PDWORD RequiredSize OPTIONAL
  738. )
  739. {
  740. SetLastError(ERROR_PROC_NOT_FOUND);
  741. return FALSE;
  742. }
  743. static
  744. WINSETUPAPI
  745. BOOL
  746. WINAPI
  747. SetupDiGetDriverInstallParamsW(
  748. IN HDEVINFO DeviceInfoSet,
  749. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  750. IN PSP_DRVINFO_DATA_W DriverInfoData,
  751. OUT PSP_DRVINSTALL_PARAMS DriverInstallParams
  752. )
  753. {
  754. SetLastError(ERROR_PROC_NOT_FOUND);
  755. return FALSE;
  756. }
  757. static
  758. WINSETUPAPI
  759. BOOL
  760. WINAPI
  761. SetupDiGetSelectedDevice(
  762. IN HDEVINFO DeviceInfoSet,
  763. OUT PSP_DEVINFO_DATA DeviceInfoData
  764. )
  765. {
  766. SetLastError(ERROR_PROC_NOT_FOUND);
  767. return FALSE;
  768. }
  769. static
  770. WINSETUPAPI
  771. BOOL
  772. WINAPI
  773. SetupDiGetSelectedDriverW(
  774. IN HDEVINFO DeviceInfoSet,
  775. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  776. OUT PSP_DRVINFO_DATA_W DriverInfoData
  777. )
  778. {
  779. SetLastError(ERROR_PROC_NOT_FOUND);
  780. return FALSE;
  781. }
  782. static
  783. WINSETUPAPI
  784. BOOL
  785. WINAPI
  786. SetupDiInstallDevice(
  787. IN HDEVINFO DeviceInfoSet,
  788. IN OUT PSP_DEVINFO_DATA DeviceInfoData
  789. )
  790. {
  791. SetLastError(ERROR_PROC_NOT_FOUND);
  792. return FALSE;
  793. }
  794. static
  795. WINSETUPAPI
  796. HKEY
  797. WINAPI
  798. SetupDiOpenDevRegKey(
  799. IN HDEVINFO DeviceInfoSet,
  800. IN PSP_DEVINFO_DATA DeviceInfoData,
  801. IN DWORD Scope,
  802. IN DWORD HwProfile,
  803. IN DWORD KeyType,
  804. IN REGSAM samDesired
  805. )
  806. {
  807. SetLastError(ERROR_PROC_NOT_FOUND);
  808. return INVALID_HANDLE_VALUE;
  809. }
  810. static
  811. WINSETUPAPI
  812. BOOL
  813. WINAPI
  814. SetupDiOpenDeviceInfoW(
  815. IN HDEVINFO DeviceInfoSet,
  816. IN PCWSTR DeviceInstanceId,
  817. IN HWND hwndParent, OPTIONAL
  818. IN DWORD OpenFlags,
  819. OUT PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  820. )
  821. {
  822. SetLastError(ERROR_PROC_NOT_FOUND);
  823. return FALSE;
  824. }
  825. static
  826. WINSETUPAPI
  827. BOOL
  828. WINAPI
  829. SetupDiOpenDeviceInterfaceW(
  830. IN HDEVINFO DeviceInfoSet,
  831. IN PCWSTR DevicePath,
  832. IN DWORD OpenFlags,
  833. OUT PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData OPTIONAL
  834. )
  835. {
  836. SetLastError(ERROR_PROC_NOT_FOUND);
  837. return FALSE;
  838. }
  839. static
  840. WINSETUPAPI
  841. BOOL
  842. WINAPI
  843. SetupDiRegisterDeviceInfo(
  844. IN HDEVINFO DeviceInfoSet,
  845. IN OUT PSP_DEVINFO_DATA DeviceInfoData,
  846. IN DWORD Flags,
  847. IN PSP_DETSIG_CMPPROC CompareProc, OPTIONAL
  848. IN PVOID CompareContext, OPTIONAL
  849. OUT PSP_DEVINFO_DATA DupDeviceInfoData OPTIONAL
  850. )
  851. {
  852. SetLastError(ERROR_PROC_NOT_FOUND);
  853. return FALSE;
  854. }
  855. static
  856. WINSETUPAPI
  857. BOOL
  858. WINAPI
  859. SetupDiRemoveDevice(
  860. IN HDEVINFO DeviceInfoSet,
  861. IN OUT PSP_DEVINFO_DATA DeviceInfoData
  862. )
  863. {
  864. SetLastError(ERROR_PROC_NOT_FOUND);
  865. return FALSE;
  866. }
  867. static
  868. BOOL
  869. WINAPI
  870. SetupDiSelectBestCompatDrv(
  871. IN HDEVINFO DeviceInfoSet,
  872. IN OUT PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  873. )
  874. {
  875. SetLastError(ERROR_PROC_NOT_FOUND);
  876. return FALSE;
  877. }
  878. static
  879. WINSETUPAPI
  880. BOOL
  881. WINAPI
  882. SetupDiSetClassInstallParamsW(
  883. IN HDEVINFO DeviceInfoSet,
  884. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  885. IN PSP_CLASSINSTALL_HEADER ClassInstallParams, OPTIONAL
  886. IN DWORD ClassInstallParamsSize
  887. )
  888. {
  889. SetLastError(ERROR_PROC_NOT_FOUND);
  890. return FALSE;
  891. }
  892. static
  893. WINSETUPAPI
  894. BOOL
  895. WINAPI
  896. SetupDiSetDeviceInstallParamsW(
  897. IN HDEVINFO DeviceInfoSet,
  898. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  899. IN PSP_DEVINSTALL_PARAMS_W DeviceInstallParams
  900. )
  901. {
  902. SetLastError(ERROR_PROC_NOT_FOUND);
  903. return FALSE;
  904. }
  905. static
  906. WINSETUPAPI
  907. BOOL
  908. WINAPI
  909. SetupDiSetDeviceRegistryPropertyW(
  910. IN HDEVINFO DeviceInfoSet,
  911. IN OUT PSP_DEVINFO_DATA DeviceInfoData,
  912. IN DWORD Property,
  913. IN CONST BYTE* PropertyBuffer, OPTIONAL
  914. IN DWORD PropertyBufferSize
  915. )
  916. {
  917. SetLastError(ERROR_PROC_NOT_FOUND);
  918. return FALSE;
  919. }
  920. static
  921. WINSETUPAPI
  922. BOOL
  923. WINAPI
  924. SetupDiSetDriverInstallParamsW(
  925. IN HDEVINFO DeviceInfoSet,
  926. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  927. IN PSP_DRVINFO_DATA_W DriverInfoData,
  928. IN PSP_DRVINSTALL_PARAMS DriverInstallParams
  929. )
  930. {
  931. SetLastError(ERROR_PROC_NOT_FOUND);
  932. return FALSE;
  933. }
  934. static
  935. WINSETUPAPI
  936. BOOL
  937. WINAPI
  938. SetupDiSetSelectedDevice(
  939. IN HDEVINFO DeviceInfoSet,
  940. IN PSP_DEVINFO_DATA DeviceInfoData
  941. )
  942. {
  943. SetLastError(ERROR_PROC_NOT_FOUND);
  944. return FALSE;
  945. }
  946. static
  947. WINSETUPAPI
  948. BOOL
  949. WINAPI
  950. SetupDiSetSelectedDriverW(
  951. IN HDEVINFO DeviceInfoSet,
  952. IN PSP_DEVINFO_DATA DeviceInfoData, OPTIONAL
  953. IN OUT PSP_DRVINFO_DATA_W DriverInfoData OPTIONAL
  954. )
  955. {
  956. SetLastError(ERROR_PROC_NOT_FOUND);
  957. return FALSE;
  958. }
  959. static
  960. WINSETUPAPI
  961. BOOL
  962. WINAPI
  963. SetupFindFirstLineW(
  964. IN HINF InfHandle,
  965. IN PCWSTR Section,
  966. IN PCWSTR Key, OPTIONAL
  967. OUT PINFCONTEXT Context
  968. )
  969. {
  970. SetLastError(ERROR_PROC_NOT_FOUND);
  971. return FALSE;
  972. }
  973. static
  974. WINSETUPAPI
  975. BOOL
  976. WINAPI
  977. SetupFindNextLine(
  978. IN PINFCONTEXT ContextIn,
  979. OUT PINFCONTEXT ContextOut
  980. )
  981. {
  982. SetLastError(ERROR_PROC_NOT_FOUND);
  983. return FALSE;
  984. }
  985. static
  986. WINSETUPAPI
  987. BOOL
  988. WINAPI
  989. SetupFindNextMatchLineW(
  990. IN PINFCONTEXT ContextIn,
  991. IN PCWSTR Key, OPTIONAL
  992. OUT PINFCONTEXT ContextOut
  993. )
  994. {
  995. SetLastError(ERROR_PROC_NOT_FOUND);
  996. return FALSE;
  997. }
  998. static
  999. WINSETUPAPI
  1000. BOOL
  1001. WINAPI
  1002. SetupGetBinaryField(
  1003. IN PINFCONTEXT Context,
  1004. IN DWORD FieldIndex,
  1005. OUT PBYTE ReturnBuffer, OPTIONAL
  1006. IN DWORD ReturnBufferSize,
  1007. OUT LPDWORD RequiredSize OPTIONAL
  1008. )
  1009. {
  1010. SetLastError(ERROR_PROC_NOT_FOUND);
  1011. return FALSE;
  1012. }
  1013. static
  1014. WINSETUPAPI
  1015. DWORD
  1016. WINAPI
  1017. SetupGetFieldCount(
  1018. IN PINFCONTEXT Context
  1019. )
  1020. {
  1021. SetLastError(ERROR_PROC_NOT_FOUND);
  1022. return 0;
  1023. }
  1024. static
  1025. WINSETUPAPI
  1026. BOOL
  1027. WINAPI
  1028. SetupGetInfInformationW(
  1029. IN LPCVOID InfSpec,
  1030. IN DWORD SearchControl,
  1031. OUT PSP_INF_INFORMATION ReturnBuffer, OPTIONAL
  1032. IN DWORD ReturnBufferSize,
  1033. OUT PDWORD RequiredSize OPTIONAL
  1034. )
  1035. {
  1036. SetLastError(ERROR_PROC_NOT_FOUND);
  1037. return FALSE;
  1038. }
  1039. static
  1040. WINSETUPAPI
  1041. BOOL
  1042. WINAPI
  1043. SetupGetIntField(
  1044. IN PINFCONTEXT Context,
  1045. IN DWORD FieldIndex,
  1046. OUT PINT IntegerValue
  1047. )
  1048. {
  1049. SetLastError(ERROR_PROC_NOT_FOUND);
  1050. return FALSE;
  1051. }
  1052. static
  1053. WINSETUPAPI
  1054. BOOL
  1055. WINAPI
  1056. SetupGetLineByIndexW(
  1057. IN HINF InfHandle,
  1058. IN PCWSTR Section,
  1059. IN DWORD Index,
  1060. OUT PINFCONTEXT Context
  1061. )
  1062. {
  1063. SetLastError(ERROR_PROC_NOT_FOUND);
  1064. return FALSE;
  1065. }
  1066. static
  1067. WINSETUPAPI
  1068. LONG
  1069. WINAPI
  1070. SetupGetLineCountW(
  1071. IN HINF InfHandle,
  1072. IN PCWSTR Section
  1073. )
  1074. {
  1075. SetLastError(ERROR_PROC_NOT_FOUND);
  1076. return 0;
  1077. }
  1078. static
  1079. WINSETUPAPI
  1080. BOOL
  1081. WINAPI
  1082. SetupGetLineTextW(
  1083. IN PINFCONTEXT Context, OPTIONAL
  1084. IN HINF InfHandle, OPTIONAL
  1085. IN PCWSTR Section, OPTIONAL
  1086. IN PCWSTR Key, OPTIONAL
  1087. OUT PWSTR ReturnBuffer, OPTIONAL
  1088. IN DWORD ReturnBufferSize,
  1089. OUT PDWORD RequiredSize OPTIONAL
  1090. )
  1091. {
  1092. SetLastError(ERROR_PROC_NOT_FOUND);
  1093. return FALSE;
  1094. }
  1095. static
  1096. WINSETUPAPI
  1097. BOOL
  1098. WINAPI
  1099. SetupGetMultiSzFieldW(
  1100. IN PINFCONTEXT Context,
  1101. IN DWORD FieldIndex,
  1102. OUT PWSTR ReturnBuffer, OPTIONAL
  1103. IN DWORD ReturnBufferSize,
  1104. OUT LPDWORD RequiredSize OPTIONAL
  1105. )
  1106. {
  1107. SetLastError(ERROR_PROC_NOT_FOUND);
  1108. return FALSE;
  1109. }
  1110. static
  1111. WINSETUPAPI
  1112. BOOL
  1113. WINAPI
  1114. SetupGetStringFieldW(
  1115. IN PINFCONTEXT Context,
  1116. IN DWORD FieldIndex,
  1117. OUT PWSTR ReturnBuffer, OPTIONAL
  1118. IN DWORD ReturnBufferSize,
  1119. OUT PDWORD RequiredSize OPTIONAL
  1120. )
  1121. {
  1122. SetLastError(ERROR_PROC_NOT_FOUND);
  1123. return FALSE;
  1124. }
  1125. static
  1126. WINSETUPAPI
  1127. PVOID
  1128. WINAPI
  1129. SetupInitDefaultQueueCallbackEx(
  1130. IN HWND OwnerWindow,
  1131. IN HWND AlternateProgressWindow, OPTIONAL
  1132. IN UINT ProgressMessage,
  1133. IN DWORD Reserved1,
  1134. IN PVOID Reserved2
  1135. )
  1136. {
  1137. SetLastError(ERROR_PROC_NOT_FOUND);
  1138. return NULL;
  1139. }
  1140. static
  1141. WINSETUPAPI
  1142. BOOL
  1143. WINAPI
  1144. SetupInstallFileExW(
  1145. IN HINF InfHandle OPTIONAL,
  1146. IN PINFCONTEXT InfContext OPTIONAL,
  1147. IN PCWSTR SourceFile OPTIONAL,
  1148. IN PCWSTR SourcePathRoot OPTIONAL,
  1149. IN PCWSTR DestinationName OPTIONAL,
  1150. IN DWORD CopyStyle,
  1151. IN PSP_FILE_CALLBACK CopyMsgHandler OPTIONAL,
  1152. IN PVOID Context OPTIONAL,
  1153. OUT PBOOL FileWasInUse OPTIONAL
  1154. )
  1155. {
  1156. SetLastError(ERROR_PROC_NOT_FOUND);
  1157. return FALSE;
  1158. }
  1159. static
  1160. WINSETUPAPI
  1161. BOOL
  1162. WINAPI
  1163. SetupInstallFilesFromInfSectionW(
  1164. IN HINF InfHandle,
  1165. IN HINF LayoutInfHandle, OPTIONAL
  1166. IN HSPFILEQ FileQueue,
  1167. IN PCWSTR SectionName,
  1168. IN PCWSTR SourceRootPath, OPTIONAL
  1169. IN UINT CopyFlags
  1170. )
  1171. {
  1172. SetLastError(ERROR_PROC_NOT_FOUND);
  1173. return FALSE;
  1174. }
  1175. static
  1176. WINSETUPAPI
  1177. BOOL
  1178. WINAPI
  1179. SetupInstallFromInfSectionW(
  1180. IN HWND Owner,
  1181. IN HINF InfHandle,
  1182. IN PCWSTR SectionName,
  1183. IN UINT Flags,
  1184. IN HKEY RelativeKeyRoot, OPTIONAL
  1185. IN PCWSTR SourceRootPath, OPTIONAL
  1186. IN UINT CopyFlags,
  1187. IN PSP_FILE_CALLBACK_W MsgHandler,
  1188. IN PVOID Context,
  1189. IN HDEVINFO DeviceInfoSet, OPTIONAL
  1190. IN PSP_DEVINFO_DATA DeviceInfoData OPTIONAL
  1191. )
  1192. {
  1193. SetLastError(ERROR_PROC_NOT_FOUND);
  1194. return FALSE;
  1195. }
  1196. static
  1197. WINSETUPAPI
  1198. BOOL
  1199. WINAPI
  1200. SetupInstallServicesFromInfSectionW(
  1201. IN HINF InfHandle,
  1202. IN PCWSTR SectionName,
  1203. IN DWORD Flags
  1204. )
  1205. {
  1206. SetLastError(ERROR_PROC_NOT_FOUND);
  1207. return FALSE;
  1208. }
  1209. static
  1210. WINSETUPAPI
  1211. BOOL
  1212. WINAPI
  1213. SetupLogErrorA (
  1214. IN LPCSTR MessageString,
  1215. IN LogSeverity Severity
  1216. )
  1217. {
  1218. SetLastError(ERROR_PROC_NOT_FOUND);
  1219. return FALSE;
  1220. }
  1221. static
  1222. WINSETUPAPI
  1223. BOOL
  1224. WINAPI
  1225. SetupLogErrorW (
  1226. IN LPCWSTR MessageString,
  1227. IN LogSeverity Severity
  1228. )
  1229. {
  1230. SetLastError(ERROR_PROC_NOT_FOUND);
  1231. return FALSE;
  1232. }
  1233. static
  1234. WINSETUPAPI
  1235. BOOL
  1236. WINAPI
  1237. SetupOpenAppendInfFileW(
  1238. IN PCWSTR FileName, OPTIONAL
  1239. IN HINF InfHandle,
  1240. OUT PUINT ErrorLine OPTIONAL
  1241. )
  1242. {
  1243. SetLastError(ERROR_PROC_NOT_FOUND);
  1244. return FALSE;
  1245. }
  1246. static
  1247. WINSETUPAPI
  1248. HSPFILEQ
  1249. WINAPI
  1250. SetupOpenFileQueue(
  1251. VOID
  1252. )
  1253. {
  1254. SetLastError(ERROR_PROC_NOT_FOUND);
  1255. return INVALID_HANDLE_VALUE;
  1256. }
  1257. static
  1258. WINSETUPAPI
  1259. HINF
  1260. WINAPI
  1261. SetupOpenInfFileW(
  1262. IN PCWSTR FileName,
  1263. IN PCWSTR InfClass, OPTIONAL
  1264. IN DWORD InfStyle,
  1265. OUT PUINT ErrorLine OPTIONAL
  1266. )
  1267. {
  1268. SetLastError(ERROR_PROC_NOT_FOUND);
  1269. return INVALID_HANDLE_VALUE;
  1270. }
  1271. static
  1272. WINSETUPAPI
  1273. BOOL
  1274. WINAPI
  1275. SetupOpenLog (
  1276. BOOL Erase
  1277. )
  1278. {
  1279. SetLastError(ERROR_PROC_NOT_FOUND);
  1280. return FALSE;
  1281. }
  1282. static
  1283. WINSETUPAPI
  1284. HINF
  1285. WINAPI
  1286. SetupOpenMasterInf(
  1287. VOID
  1288. )
  1289. {
  1290. SetLastError(ERROR_PROC_NOT_FOUND);
  1291. return INVALID_HANDLE_VALUE;
  1292. }
  1293. static
  1294. WINSETUPAPI
  1295. BOOL
  1296. WINAPI
  1297. SetupQueryInfVersionInformationW(
  1298. IN PSP_INF_INFORMATION InfInformation,
  1299. IN UINT InfIndex,
  1300. IN PCWSTR Key, OPTIONAL
  1301. OUT PWSTR ReturnBuffer, OPTIONAL
  1302. IN DWORD ReturnBufferSize,
  1303. OUT PDWORD RequiredSize OPTIONAL
  1304. )
  1305. {
  1306. SetLastError(ERROR_PROC_NOT_FOUND);
  1307. return FALSE;
  1308. }
  1309. static
  1310. WINSETUPAPI
  1311. BOOL
  1312. WINAPI
  1313. SetupScanFileQueueW(
  1314. IN HSPFILEQ FileQueue,
  1315. IN DWORD Flags,
  1316. IN HWND Window, OPTIONAL
  1317. IN PSP_FILE_CALLBACK_W CallbackRoutine, OPTIONAL
  1318. IN PVOID CallbackContext, OPTIONAL
  1319. OUT PDWORD Result
  1320. )
  1321. {
  1322. SetLastError(ERROR_PROC_NOT_FOUND);
  1323. return FALSE;
  1324. }
  1325. static
  1326. WINSETUPAPI
  1327. VOID
  1328. WINAPI
  1329. SetupTermDefaultQueueCallback(
  1330. IN PVOID Context
  1331. )
  1332. {
  1333. }
  1334. static
  1335. BOOL
  1336. pSetupSetQueueFlags(
  1337. IN HSPFILEQ QueueHandle,
  1338. IN DWORD flags
  1339. )
  1340. {
  1341. SetLastError(ERROR_PROC_NOT_FOUND);
  1342. return FALSE;
  1343. }
  1344. static
  1345. DWORD
  1346. pSetupGetQueueFlags(
  1347. IN HSPFILEQ QueueHandle
  1348. )
  1349. {
  1350. return 0;
  1351. }
  1352. BOOL
  1353. pSetupConcatenatePaths(
  1354. IN OUT PTSTR Target,
  1355. IN PCTSTR Path,
  1356. IN UINT TargetBufferSize,
  1357. OUT PUINT RequiredSize OPTIONAL
  1358. )
  1359. {
  1360. if (RequiredSize)
  1361. *RequiredSize = 0;
  1362. *Target=0;
  1363. SetLastError(ERROR_PROC_NOT_FOUND);
  1364. return FALSE;
  1365. }
  1366. static
  1367. DWORD
  1368. pSetupInstallCatalog(
  1369. IN LPCTSTR CatalogFullPath,
  1370. IN LPCTSTR NewBaseName, OPTIONAL
  1371. OUT LPTSTR NewCatalogFullPath OPTIONAL
  1372. )
  1373. {
  1374. return ERROR_PROC_NOT_FOUND;
  1375. }
  1376. static
  1377. BOOL
  1378. pSetupIsUserAdmin(
  1379. VOID
  1380. )
  1381. {
  1382. SetLastError(ERROR_PROC_NOT_FOUND);
  1383. return FALSE;
  1384. }
  1385. static
  1386. WINSETUPAPI
  1387. BOOL
  1388. SetupQueueCopyW(
  1389. IN HSPFILEQ QueueHandle,
  1390. IN PCWSTR SourceRootPath, OPTIONAL
  1391. IN PCWSTR SourcePath, OPTIONAL
  1392. IN PCWSTR SourceFilename,
  1393. IN PCWSTR SourceDescription, OPTIONAL
  1394. IN PCWSTR SourceTagfile, OPTIONAL
  1395. IN PCWSTR TargetDirectory,
  1396. IN PCWSTR TargetFilename, OPTIONAL
  1397. IN DWORD CopyStyle
  1398. )
  1399. {
  1400. SetLastError(ERROR_PROC_NOT_FOUND);
  1401. return FALSE;
  1402. }
  1403. static
  1404. WINSETUPAPI
  1405. BOOL
  1406. SetupGetSourceFileLocationW(
  1407. IN HINF InfHandle,
  1408. IN PINFCONTEXT InfContext, OPTIONAL
  1409. IN PCWSTR FileName, OPTIONAL
  1410. OUT PUINT SourceId,
  1411. OUT PWSTR ReturnBuffer, OPTIONAL
  1412. IN DWORD ReturnBufferSize,
  1413. OUT PDWORD RequiredSize OPTIONAL
  1414. )
  1415. {
  1416. SetLastError(ERROR_PROC_NOT_FOUND);
  1417. return FALSE;
  1418. }
  1419. static
  1420. WINSETUPAPI
  1421. BOOL
  1422. SetupGetSourceInfoW(
  1423. IN HINF InfHandle,
  1424. IN UINT SourceId,
  1425. IN UINT InfoDesired,
  1426. OUT PWSTR ReturnBuffer, OPTIONAL
  1427. IN DWORD ReturnBufferSize,
  1428. OUT PDWORD RequiredSize OPTIONAL
  1429. )
  1430. {
  1431. SetLastError(ERROR_PROC_NOT_FOUND);
  1432. return FALSE;
  1433. }
  1434. static
  1435. WINSETUPAPI
  1436. BOOL
  1437. SetupSetDirectoryIdExW(
  1438. IN HINF InfHandle,
  1439. IN DWORD Id, OPTIONAL
  1440. IN PCWSTR Directory, OPTIONAL
  1441. IN DWORD Flags,
  1442. IN DWORD Reserved1,
  1443. IN PVOID Reserved2
  1444. )
  1445. {
  1446. SetLastError(ERROR_PROC_NOT_FOUND);
  1447. return FALSE;
  1448. }
  1449. static
  1450. WINSETUPAPI
  1451. DWORD
  1452. SetupGetFileCompressionInfoW(
  1453. IN PCWSTR SourceFileName,
  1454. OUT PWSTR *ActualSourceFileName,
  1455. OUT PDWORD SourceFileSize,
  1456. OUT PDWORD TargetFileSize,
  1457. OUT PUINT CompressionType
  1458. )
  1459. {
  1460. SetLastError(ERROR_PROC_NOT_FOUND);
  1461. return ERROR_PROC_NOT_FOUND;
  1462. }
  1463. //
  1464. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  1465. //
  1466. DEFINE_PROCNAME_ENTRIES(setupapi)
  1467. {
  1468. DLPENTRY(CM_Add_Empty_Log_Conf)
  1469. DLPENTRY(CM_Add_Res_Des)
  1470. DLPENTRY(CM_Free_Log_Conf_Handle)
  1471. DLPENTRY(CM_Get_Child)
  1472. DLPENTRY(CM_Get_DevNode_Custom_PropertyW)
  1473. DLPENTRY(CM_Get_DevNode_Registry_Property_ExW)
  1474. DLPENTRY(CM_Get_DevNode_Status)
  1475. DLPENTRY(CM_Get_DevNode_Status_Ex)
  1476. DLPENTRY(CM_Get_Device_IDW)
  1477. DLPENTRY(CM_Get_Device_ID_ExW)
  1478. DLPENTRY(CM_Get_Device_ID_Size)
  1479. DLPENTRY(CM_Get_Device_Interface_List_ExW)
  1480. DLPENTRY(CM_Get_Device_Interface_List_Size_ExW)
  1481. DLPENTRY(CM_Get_First_Log_Conf)
  1482. DLPENTRY(CM_Get_Next_Log_Conf)
  1483. DLPENTRY(CM_Get_Next_Res_Des)
  1484. DLPENTRY(CM_Get_Parent_Ex)
  1485. DLPENTRY(CM_Get_Res_Des_Data)
  1486. DLPENTRY(CM_Get_Res_Des_Data_Size)
  1487. DLPENTRY(CM_Get_Sibling)
  1488. DLPENTRY(CM_Is_Dock_Station_Present)
  1489. DLPENTRY(CM_Locate_DevNodeW)
  1490. DLPENTRY(CM_Open_DevNode_Key)
  1491. DLPENTRY(CM_Request_Eject_PC)
  1492. DLPENTRY(SetupCloseFileQueue)
  1493. DLPENTRY(SetupCloseInfFile)
  1494. DLPENTRY(SetupCloseLog)
  1495. DLPENTRY(SetupCommitFileQueueW)
  1496. DLPENTRY(SetupCopyOEMInfW)
  1497. DLPENTRY(SetupDefaultQueueCallbackW)
  1498. DLPENTRY(SetupDiBuildDriverInfoList)
  1499. DLPENTRY(SetupDiCallClassInstaller)
  1500. DLPENTRY(SetupDiClassGuidsFromNameW)
  1501. DLPENTRY(SetupDiCreateDevRegKeyW)
  1502. DLPENTRY(SetupDiCreateDeviceInfoList)
  1503. DLPENTRY(SetupDiCreateDeviceInfoW)
  1504. DLPENTRY(SetupDiDeleteDeviceInfo)
  1505. DLPENTRY(SetupDiDestroyClassImageList)
  1506. DLPENTRY(SetupDiDestroyDeviceInfoList)
  1507. DLPENTRY(SetupDiEnumDeviceInfo)
  1508. DLPENTRY(SetupDiEnumDeviceInterfaces)
  1509. DLPENTRY(SetupDiEnumDriverInfoW)
  1510. DLPENTRY(SetupDiGetActualSectionToInstallW)
  1511. DLPENTRY(SetupDiGetClassDevsA)
  1512. DLPENTRY(SetupDiGetClassDevsW)
  1513. DLPENTRY(SetupDiGetClassImageIndex)
  1514. DLPENTRY(SetupDiGetClassImageList)
  1515. DLPENTRY(SetupDiGetClassInstallParamsW)
  1516. DLPENTRY(SetupDiGetDeviceInfoListClass)
  1517. DLPENTRY(SetupDiGetDeviceInstallParamsW)
  1518. DLPENTRY(SetupDiGetDeviceInstanceIdW)
  1519. DLPENTRY(SetupDiGetDeviceInterfaceDetailA)
  1520. DLPENTRY(SetupDiGetDeviceInterfaceDetailW)
  1521. DLPENTRY(SetupDiGetDeviceRegistryPropertyW)
  1522. DLPENTRY(SetupDiGetDriverInfoDetailW)
  1523. DLPENTRY(SetupDiGetDriverInstallParamsW)
  1524. DLPENTRY(SetupDiGetSelectedDevice)
  1525. DLPENTRY(SetupDiGetSelectedDriverW)
  1526. DLPENTRY(SetupDiInstallDevice)
  1527. DLPENTRY(SetupDiOpenDevRegKey)
  1528. DLPENTRY(SetupDiOpenDeviceInfoW)
  1529. DLPENTRY(SetupDiOpenDeviceInterfaceW)
  1530. DLPENTRY(SetupDiRegisterDeviceInfo)
  1531. DLPENTRY(SetupDiRemoveDevice)
  1532. DLPENTRY(SetupDiSelectBestCompatDrv)
  1533. DLPENTRY(SetupDiSetClassInstallParamsW)
  1534. DLPENTRY(SetupDiSetDeviceInstallParamsW)
  1535. DLPENTRY(SetupDiSetDeviceRegistryPropertyW)
  1536. DLPENTRY(SetupDiSetDriverInstallParamsW)
  1537. DLPENTRY(SetupDiSetSelectedDevice)
  1538. DLPENTRY(SetupDiSetSelectedDriverW)
  1539. DLPENTRY(SetupFindFirstLineW)
  1540. DLPENTRY(SetupFindNextLine)
  1541. DLPENTRY(SetupFindNextMatchLineW)
  1542. DLPENTRY(SetupGetBinaryField)
  1543. DLPENTRY(SetupGetFieldCount)
  1544. DLPENTRY(SetupGetFileCompressionInfoW)
  1545. DLPENTRY(SetupGetInfInformationW)
  1546. DLPENTRY(SetupGetIntField)
  1547. DLPENTRY(SetupGetLineByIndexW)
  1548. DLPENTRY(SetupGetLineCountW)
  1549. DLPENTRY(SetupGetLineTextW)
  1550. DLPENTRY(SetupGetMultiSzFieldW)
  1551. DLPENTRY(SetupGetSourceFileLocationW)
  1552. DLPENTRY(SetupGetSourceInfoW)
  1553. DLPENTRY(SetupGetStringFieldW)
  1554. DLPENTRY(SetupInitDefaultQueueCallbackEx)
  1555. DLPENTRY(SetupInstallFileExW)
  1556. DLPENTRY(SetupInstallFilesFromInfSectionW)
  1557. DLPENTRY(SetupInstallFromInfSectionW)
  1558. DLPENTRY(SetupInstallServicesFromInfSectionW)
  1559. DLPENTRY(SetupLogErrorA)
  1560. DLPENTRY(SetupLogErrorW)
  1561. DLPENTRY(SetupOpenAppendInfFileW)
  1562. DLPENTRY(SetupOpenFileQueue)
  1563. DLPENTRY(SetupOpenInfFileW)
  1564. DLPENTRY(SetupOpenLog)
  1565. DLPENTRY(SetupOpenMasterInf)
  1566. DLPENTRY(SetupQueryInfVersionInformationW)
  1567. DLPENTRY(SetupQueueCopyW)
  1568. DLPENTRY(SetupScanFileQueueW)
  1569. DLPENTRY(SetupSetDirectoryIdExW)
  1570. DLPENTRY(SetupTermDefaultQueueCallback)
  1571. DLPENTRY(pSetupConcatenatePaths)
  1572. DLPENTRY(pSetupGetQueueFlags)
  1573. DLPENTRY(pSetupInstallCatalog)
  1574. DLPENTRY(pSetupIsUserAdmin)
  1575. DLPENTRY(pSetupSetQueueFlags)
  1576. };
  1577. DEFINE_PROCNAME_MAP(setupapi)