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.

156 lines
3.4 KiB

  1. ;
  2. ; Windows CE USB Host Setup File
  3. ; Copyright (c) Microsoft Corporation. All rights reserved.
  4. ;
  5. ; WCEUSBSH.INF -- This is the inf installation script for the stand-alone
  6. ; release of serial-over-USB host driver for WCE USB Function devices.
  7. ;
  8. [Version]
  9. LayoutFile=layout.inf
  10. Signature="$CHICAGO$"
  11. Class=WCEUSBS
  12. ClassGuid={25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}
  13. Provider=%MICROSOFT%
  14. DriverVer=04/20/2000, 1.0.1.0
  15. [ControlFlags]
  16. ExcludeFromSelect = *
  17. [DestinationDirs]
  18. DefaultDestDir = 12
  19. NTCopyFiles = 12
  20. Win9xWDMFiles = 10,system32\drivers ; %windir%\SYSTEM32\DRIVERS
  21. [NTCopyFiles]
  22. wceusbsh.sys
  23. [Win9xWDMFiles]
  24. wceusbsh.sys
  25. ;
  26. ; Class Install section
  27. ;
  28. [ClassInstall]
  29. Addreg=Interface_ClassReg
  30. [ClassInstall32]
  31. Addreg=Interface_ClassReg
  32. [Interface_ClassReg]
  33. HKR,,,,%Interface.ClassName%
  34. HKR,,NoInstallClass,,1
  35. HKR,,SilentInstall,,1
  36. HKR,,Icon,,-20
  37. [Interface_ClassReg32]
  38. HKR,,,,%Interface.ClassName%
  39. HKR,,NoInstallClass,,1
  40. HKR,,SilentInstall,,1
  41. HKR,,Icon,,-20
  42. ;
  43. ;
  44. ; <VENDOR SECTION>
  45. ;
  46. ; 1 of 3.
  47. ; Add your manufacturer name here (and a string definition under [strings] below)
  48. ;
  49. ; e.g.
  50. ; %ACME%=ACME
  51. ;
  52. [Manufacturer]
  53. %Askey% = Askey
  54. %BCOM% = BCOM
  55. %Casio% = Casio
  56. %Compaq% = Compaq
  57. %HP% = HP
  58. %Linkup% = Linkup
  59. %MSFT% = MSFT
  60. %Portatec% = Portatec
  61. %Socket% = Socket
  62. ;
  63. ; <VENDOR SECTION>
  64. ;
  65. ; 2 of 3.
  66. ; Add your manufacturer section and device entry here.
  67. ; Use the hardware PnP ID of your device.
  68. ;
  69. ; e.g.
  70. ; [ACME]
  71. ; %USB\VID_xxxx&PID_yyyy.DeviceDesc% = Host_Inst, USB\VID_xxxx&PID_yyyy
  72. ;
  73. [Askey]
  74. %USB\Vid_1690&Pid_0601.DeviceDesc% = Host_Inst, USB\Vid_1690&Pid_0601
  75. [BCOM]
  76. %USB\Vid_0960&Pid_0065.DeviceDesc% = Host_Inst, USB\Vid_0960&Pid_0065
  77. %USB\Vid_0960&Pid_0066.DeviceDesc% = Host_Inst, USB\Vid_0960&Pid_0066
  78. %USB\Vid_0960&Pid_0067.DeviceDesc% = Host_Inst, USB\Vid_0960&Pid_0067
  79. [Casio]
  80. %USB\Vid_07CF&Pid_2001.DeviceDesc% = Host_Inst, USB\Vid_07CF&Pid_2001
  81. %USB\Vid_07CF&Pid_2002.DeviceDesc% = Host_Inst, USB\Vid_07CF&Pid_2002
  82. [Compaq]
  83. %USB\Vid_049F&Pid_0003.DeviceDesc% = Host_Inst, USB\Vid_049F&Pid_0003
  84. [HP]
  85. %USB\Vid_03F0&Pid_1016.DeviceDesc% = Host_Inst, USB\Vid_03F0&Pid_1016
  86. [Linkup]
  87. %USB\Vid_094B&Pid_0001.DeviceDesc% = Host_Inst, USB\Vid_094B&Pid_0001
  88. [MSFT]
  89. %USB\Vid_045E&Pid_00CE.DeviceDesc% = Host_Inst, USB\Vid_045E&Pid_00CE
  90. [Portatec]
  91. %USB\Vid_0961&Pid_0010.DeviceDesc% = Host_Inst, USB\Vid_0961&Pid_0010
  92. [Socket]
  93. %USB\Vid_0104&Pid_00BE.DeviceDesc% = Host_Inst, USB\Vid_0104&Pid_00BE
  94. ;
  95. ; Win 9x DDInstall section
  96. ;
  97. [Host_Inst]
  98. Copyfiles = Win9xWDMFiles
  99. AddReg = Host_Win9x_AddReg
  100. DriverVer=04/20/2000, 1.0.1.0
  101. [Host_Win9x_AddReg]
  102. HKR,,DevLoader,0,*NTKERN
  103. HKR,,NTMPDriver,,"wceusbsh.sys"
  104. ;
  105. ; Win NT DDInstall section
  106. ;
  107. [Host_Inst.NT]
  108. CopyFiles=NTCopyFiles
  109. DriverVer=04/20/2000, 1.0.1.0
  110. [Host_Inst.NT.Services]
  111. AddService = wceusbsh,0x00000002,Host_Service_Inst, Host_EventLog_Inst
  112. [Host_Service_Inst]
  113. DisplayName = %Host_Inst.SVCDESC%
  114. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  115. StartType = 1 ; SERVICE_SYSTEM_START
  116. ErrorControl = 0 ; SERVICE_ERROR_IGNORE
  117. ServiceBinary = %12%\wceusbsh.sys
  118. LoadOrderGroup = Extended base
  119. [Host_EventLog_Inst]
  120. AddReg = Host_EventLog_AddReg
  121. [Host_EventLog_AddReg]
  122. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\wceusbsh.sys"
  123. HKR,,TypesSupported,0x00010001,7