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.

163 lines
6.2 KiB

  1. [Version]
  2. Signature="$Windows NT$"
  3. Class=Image
  4. ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
  5. Provider=%msft%
  6. LayoutFile=layout.inf
  7. ;====================================================
  8. [ControlFlags]
  9. ExcludeFromSelect=*
  10. [DestinationDirs]
  11. DefaultDestDir=11 ; LDID_SYS
  12. Dot4Scan_CopySysFiles = 10,System32\drivers
  13. DS.RemoveFiles = 10,TWAIN_32
  14. [SourceDisksFiles]
  15. Dot4scan.sys = 1
  16. ;====================================================
  17. [Manufacturer]
  18. %HP%=D4P_Models
  19. [D4P_Models]
  20. ;
  21. ; This INF supports models with these PnP IDs
  22. ; (Enumerated by any enumerator (*))
  23. ;
  24. %OJ_1150_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC30A3&SCAN
  25. %OJ_1170_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC9D64&SCAN
  26. %OJ_R40_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC4ABC&SCAN
  27. %OJ_R40xi_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC010B&SCAN
  28. %OJ_R45_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC497C&SCAN
  29. %OJ_R60_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC2ABD&SCAN
  30. %OJ_R65_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC297D&SCAN
  31. %OJ_R80_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC4AB9&SCAN
  32. %OJ_R80xi_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDOFFIC5108&SCAN
  33. %OJ_PSC_Scan% =Dot4Scan_Inst,DOT4\HEWLETT-PACKARDPSC_59784&SCAN
  34. %OJ_G55_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0011&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0011&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFICEB07&SCAN
  35. %OJ_G55xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0111&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0111&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFIC51a0&SCAN
  36. %OJ_G85_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0211&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0211&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFIC7B03&SCAN
  37. %OJ_G85xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0311&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0311&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFICFDA2&SCAN
  38. %OJ_G95_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0411&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0411&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFICEB02&SCAN
  39. %OJ_K60_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0511&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0511&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFIC4AD5&SCAN
  40. %OJ_K60xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0611&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0611&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFIC493D&SCAN
  41. %OJ_K80_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0711&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0711&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFIC2AD1&SCAN
  42. %OJ_K80xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0811&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0811&Rev_0100&SCAN,DOT4\HEWLETT-PACKARDOFFICA13F&SCAN
  43. %OJ_V30_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1311&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1311&Rev_0100&SCAN
  44. %OJ_V40_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_0f11&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_0f11&Rev_0100&SCAN
  45. %OJ_V40xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1011&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1011&Rev_0100&SCAN
  46. %OJ_V45_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1911&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1911&Rev_0100&SCAN
  47. %OJ_V60_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1111&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1111&Rev_0100&SCAN
  48. %OJ_V60xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1211&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1211&Rev_0100&SCAN
  49. %OJ_720_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1811&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1811&Rev_0100&SCAN
  50. %OJ_750_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1411&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1411&Rev_0100&SCAN
  51. %OJ_750xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1511&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1511&Rev_0100&SCAN
  52. %OJ_780_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1611&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1611&Rev_0100&SCAN
  53. %OJ_780xi_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1711&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1711&Rev_0100&SCAN
  54. %OJ_920_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1f11&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1f11&Rev_0100&SCAN
  55. %OJ_950_Scan% =Dot4Scan_Inst,DOT4\Vid_03f0&Pid_1e11&Rev_0100&SCAN,DOT4\Vid_0xf0&Pid_1e11&Rev_0100&SCAN
  56. [Dot4Scan_Inst.NT]
  57. ;
  58. ; Copy files for the W2K installation
  59. ;
  60. SubClass=StillImage
  61. DeviceType=1
  62. Capabilities=0x33
  63. Events=Dot4Scan_Inst.Events
  64. DeviceData=Dot4Scan_Inst.DeviceData
  65. AddReg=Dot4Scan_AddReg,Dot4Scan_RegUSD_WIA
  66. CopyFiles=Dot4Scan_CopySysFiles,Scanner.CopyFiles
  67. DelFiles=DS.RemoveFiles
  68. ;
  69. ; SubType is not used now
  70. ;
  71. ;DeviceSubType=0x0100
  72. ICMProfiles="sRGB Color Space Profile.icm"
  73. [Dot4Scan_Inst.NT.HW]
  74. ;
  75. ; Special configuration info
  76. ;
  77. AddReg=Dot4Scan_AddReg
  78. [Dot4Scan_Inst.DeviceData]
  79. TwainDS=%HPSourceName%
  80. Model=DOT4S
  81. Server=local
  82. UI DLL=sti.dll
  83. UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
  84. [Dot4Scan_Inst.Events]
  85. ScanButton=%ScanButton%,{A6C5A715-8C6E-11d2-977A-0000F87A926F},*
  86. [Dot4Scan_Inst.coinstallers]
  87. ;;AddReg=Scanner.Coinstaller.AddReg
  88. [Dot4Scan_CopySysFiles]
  89. Dot4scan.sys
  90. [Scanner.CopyFiles]
  91. hpojwia.dll,,,32
  92. hpo5300a.aio
  93. hpo5400a.aio
  94. hpo5500a.aio
  95. [DS.RemoveFiles]
  96. hposrc10.ds
  97. [Dot4Scan_RegUSD_WIA]
  98. ;
  99. ; Register USD
  100. ;
  101. HKR,,HardwareConfig,1,0x10
  102. HKR,,USDClass,,"{B7C6DC82-2A0E-4bcd-9717-E70D4EDD7CA2}"
  103. HKCR,CLSID\{B7C6DC82-2A0E-4bcd-9717-E70D4EDD7CA2},,,"Hewlett Packard USD"
  104. HKCR,CLSID\{B7C6DC82-2A0E-4bcd-9717-E70D4EDD7CA2}\InProcServer32,,,%11%\hpojwia.dll
  105. HKCR,CLSID\{B7C6DC82-2A0E-4bcd-9717-E70D4EDD7CA2}\InProcServer32,ThreadingModel,,"Both"
  106. [Dot4Scan_AddReg]
  107. ;
  108. ; Add keys under Enum\enumeratorID\device-instance-id
  109. ;
  110. HKR,,"ReadSocketId",0x00010001,0x0004
  111. HKR,,"WriteSocketId",0x00010001,0x0004
  112. HKR,,"ReadBufferSize",0x00010001,0x7FFF
  113. HKR,,"WriteBufferSize",0x00010001,0x7FFF
  114. [Dot4Scan_RegUSD]
  115. ;
  116. ; Register USD
  117. ;
  118. HKR,,HardwareConfig,1,0x10
  119. HKR,,USDClass,,"{6cd49e80-019d-11d3-bc84-00a0c90432ee}"
  120. HKCR,CLSID\{6cd49e80-019d-11d3-bc84-00a0c90432ee},,,"Hewlett Packard USD"
  121. HKCR,CLSID\{6cd49e80-019d-11d3-bc84-00a0c90432ee}\InProcServer32,,,%11%\hpousd10.dll
  122. HKCR,CLSID\{6cd49e80-019d-11d3-bc84-00a0c90432ee}\InProcServer32,ThreadingModel,,"Both"
  123. [Dot4Scan_Inst.NT.Services]
  124. ;
  125. ; Add the Dot4 driver as a service
  126. ;
  127. AddService=Dot4Scan,0x00000002,Dot4ScanService
  128. [Dot4ScanService]
  129. ;
  130. ; Service configuration info
  131. ;
  132. DisplayName = %Dot4Scan_Name%
  133. ServiceType = 1 ; Kernel driver
  134. StartType = 3 ; Manual start
  135. ErrorControl = 1 ; Error ignore
  136. ServiceBinary = %12%\Dot4Scan.sys
  137. ;====================================================