wceusbsh.inf
上传用户:qiulin1960
上传日期:2013-10-16
资源大小:2844k
文件大小:3k
源码类别:

Windows CE

开发平台:

Windows_Unix

  1. ;                     
  2. ; Windows CE USB Host Setup File
  3. ; Copyright (c) 1999 Microsoft Corporation
  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. Signature="$CHICAGO$"
  10. Class=WCEUSBS
  11. ClassGuid={25dbce51-6c8f-4a72-8a6d-b54c2b4fc835}
  12. Provider=%MICROSOFT%
  13. [ControlFlags]
  14. ExcludeFromSelect = *
  15. [DestinationDirs]
  16. DefaultDestDir = 12
  17. NTCopyFiles = 12
  18. Win9xWDMFiles = 10,system32drivers ; %windir%SYSTEM32DRIVERS
  19. [NTCopyFiles]
  20. wceusbsh.sys
  21. [Win9xWDMFiles]
  22. wceusbsh.sys
  23. ;
  24. ; Class Install section
  25. ;
  26. [ClassInstall]
  27. Addreg=Interface_ClassReg
  28. [ClassInstall32]
  29. Addreg=Interface_ClassReg
  30. [Interface_ClassReg]
  31. HKR,,,,%Interface.ClassName%
  32. ;HKR,,NoInstallClass,,1
  33. HKR,,SilentInstall,,1
  34. HKR,,Icon,,-20
  35. [Interface_ClassReg32]
  36. HKR,,,,%Interface.ClassName%
  37. ;HKR,,NoInstallClass,,1
  38. HKR,,SilentInstall,,1
  39. HKR,,Icon,,-20
  40. ;
  41. ;
  42. ;  <VENDOR SECTION>
  43. ;  Add your manufacturer name here (and a string definition under [strings] below)
  44. ;
  45. ;  e.g.
  46. ;  %ACME%=ACME
  47. ;
  48. [Manufacturer]
  49. %Anchor% = Anchor
  50. %Socket% = Socket
  51. ;
  52. ;  <VENDOR SECTION>
  53. ;  Add your manufacturer section and device entry here.
  54. ;  Use the hardware PnP ID of your device.
  55. ;
  56. ;  e.g.
  57. ;  [ACME]
  58. ;  %USBVID_xxxx&PID_yyyy.DeviceDesc% = Host_Inst, USBVID_xxxx&PID_yyyy
  59. ;
  60. [Anchor]
  61. %USBVid_0547&Pid_2720.DeviceDesc% = Host_Inst, USBVid_0547&Pid_2720
  62. [Socket]
  63. %USBVid_0104&Pid_00BE.DeviceDesc% = Host_Inst, USBVid_0104&Pid_00BE
  64. ;
  65. ; Win 9x DDInstall section
  66. ;
  67. [Host_Inst]
  68. Copyfiles = Win9xWDMFiles
  69. AddReg = Host_Win9x_AddReg
  70. [Host_Win9x_AddReg]
  71. ;HKR,Parameters,DebugLevel,0x3,0xffffffff
  72. HKR,,DevLoader,0,*NTKERN
  73. HKR,,NTMPDriver,,"wceusbsh.sys"
  74. ;
  75. ; Win NT DDInstall section
  76. ;
  77. [Host_Inst.NT]
  78. CopyFiles=NTCopyFiles
  79. AddReg = Host_Inst_NT_AddReg
  80. [Host_Inst_NT_AddReg]
  81. HKR,,FakeHostParms,%REG_DWORD%,0x123
  82. [Host_Inst.NT.Services]
  83. AddService = wceusbsh,0x00000002,Host_Service_Inst, Host_EventLog_Inst
  84. [Host_Service_Inst]
  85. DisplayName   = %Host_Inst.SVCDESC%
  86. ServiceType   = 1  ; SERVICE_KERNEL_DRIVER
  87. StartType     = 1  ; SERVICE_SYSTEM_START
  88. ErrorControl  = 0  ; SERVICE_ERROR_IGNORE
  89. ServiceBinary = %12%wceusbsh.sys
  90. LoadOrderGroup = Extended base
  91. AddReg = Host_User_Parms
  92. [Host_User_Parms]
  93. ;
  94. ; BUGBUG - remove the following entries before ship
  95. ;
  96. HKR,Parameters,DebugLevel,0x00010001,0x3
  97. [Host_EventLog_Inst]
  98. AddReg = Host_EventLog_AddReg
  99. [Host_EventLog_AddReg]
  100. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%System32IoLogMsg.dll;%%SystemRoot%%System32driverswceusbsh.sys"
  101. HKR,,TypesSupported,0x00010001,7
  102. [Strings]
  103. ;----------------------
  104. REG_DWORD = 0x00010001
  105. MICROSOFT = "Microsoft"
  106. Host_Inst.SVCDESC   = "Windows CE USB Serial Host Driver"
  107. Interface.ClassName = "Windows CE USB Devices"
  108. ;
  109. ;  <VENDOR SECTION>
  110. ;  Define your strings here
  111. ;
  112. ;  e.g.
  113. ;  ACME = "ACME"
  114. ;  USBVID_xxxx&PID_yyyy.DeviceDesc = "ACME USB Device"
  115. ;
  116. Anchor = "Anchor"
  117. USBVid_0547&Pid_2720.DeviceDesc = "Anchor USB EZ-Link Cable"
  118. Socket = "Socket Communications"
  119. USBVid_0104&Pid_00BE.DeviceDesc = "Socket USB Sync Card"