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.

170 lines
4.9 KiB

  1. ; Samp.INF -- Windows Still Image Setup File for the DDK
  2. ; Copyright (c) 1997 - 1999 Microsoft Corporation
  3. ; Leave thse lines as they are.
  4. [Version]
  5. Signature="$CHICAGO$"
  6. Class=Image
  7. ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
  8. Provider=%Msft%
  9. DriverVer=06/24/1999,5.00.2071.1
  10. [SourceDisksNames]
  11. 99="DDK Sample",,,
  12. [SourceDisksFiles]
  13. Sampusd.dll=99,,
  14. Sampcpl.cpl=99,,
  15. ;Scsiscan.sys=1,,
  16. ;SampDs.ds=1,,
  17. [DestinationDirs]
  18. ; By default, files will be copied to \windows\system.
  19. DefaultDestDir=11
  20. ; If usbscan.sys or scsiscan.sys are needed, put them in a
  21. ; CopySys32Files section.
  22. ;Samp.CopySys32Files=10,system32\drivers
  23. ; If a TWAIN datasource is needed, put it in a CopyTwainFiles section.
  24. ;Samp.CopyTwainFiles=10,twain_32
  25. [ControlFlags]
  26. ; Remove comment from this line if all devices are PnP.
  27. ;ExcludeFromSelect=*
  28. [Manufacturer]
  29. %Mfg%=Models
  30. [Models]
  31. ; Replace PnPIDInformation with the hardware ID generated by your
  32. ; device for PnP identification.
  33. %Samp.DeviceDesc% = Samp.Scanner, PnPIDInformation
  34. [Samp.Scanner]
  35. ; Since video devices also use the class installer you must identify still
  36. ; image devices.
  37. SubClass=StillImage
  38. ; DeviceType should be set to 1 = scanner or 2 = camera.
  39. DeviceType=1
  40. ; Put here any number you want to identify subtypes. These are vendor
  41. ; specified.
  42. DeviceSubType=0x1
  43. ; Capabilities refers to the events generated by the device. Set bit 1
  44. ; if it generates events and set bit 2 if the USD requires polling.
  45. Capabilities=1
  46. ; To Enable additional property pages for this device in the CPL
  47. ; add the DLL name and entry point here.
  48. PropertyPages="Sampcpl.cpl ,EnumStiPropPages"
  49. ; If the device supports events, add a link to the events section here.
  50. Events=SampUSD.Events
  51. ; Forward reference to ancillary device data.
  52. DeviceData=Samp.DeviceData
  53. ; Forward reference to registry information.
  54. AddReg=Samp.AddReg
  55. ; Forward reference to those files to copy.
  56. CopyFiles=Samp.CopyFiles
  57. ;CopyFiles=Samp.CopyFiles,Samp.CopySys32Files,Samp.CopyTwainFiles
  58. ; Forward reference to those files to delete during install.
  59. DelFiles=Samp.DelSysFiles
  60. ; Forward reference to uninstall instructions.
  61. UninstallSection=Uninstall.Samp
  62. ; Put the Image Color Management profile here.
  63. ICMProfiles="sRGB Color Space Profile.icm"
  64. [Samp.Scanner.Services]
  65. ;AddService = SampleScanner, 0x00000002, SampScanner.AddService
  66. ;
  67. ; Change Needs to STI.UsbSection.Services for USB cameras
  68. ;
  69. Include=sti.inf
  70. Needs=STI.SerialSection.Services
  71. [Samp.DeviceData]
  72. ; Ancillary data to be associated with this device. TwainDS is the
  73. ; name of the data source that a TWAIN-compliant app will be open
  74. ; in response to an event.
  75. TwainDS="Samp TWAIN DS"
  76. ; You can also attach additional information to any device that can
  77. ; be retrieved with the IStillImage::GetDeviceValue() function.
  78. SpecialInfo="My very special information"
  79. [SampUSD.Events]
  80. ; These are events that the device issues to trigger application
  81. ; launching.
  82. TimeChanged="%TimeChanged%",{61127F40-E1A5-11D0-B454-00A02438AD48},*
  83. SizeChanged="%SizeChanged%",{052ED270-28A3-11D1-ACAD-00A02438AD48},*
  84. [Samp.AddReg]
  85. ; This all depends on which kernel services you need
  86. ; Hardware configuration is not known
  87. HKR,,HardwareConfig,1,1
  88. ;HKR,,DevLoader,,*NTKERN
  89. ; List system drivers here if required, such as this line for SCSI
  90. ; devices using scsiscan.
  91. ;HKR,,NTMPDriver,,"scsimap.sys,scsiscan.sys"
  92. ; Replace the GUID in these four lines with new GUIDs from guidgen
  93. ; Also change them in Sampusd.h
  94. HKR,,USDClass,,"{C3A80960-28B1-11D1-ACAD-00A02438AD48}"
  95. ; Change the dll names at the end of the next two lines.
  96. HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48} ,,,"Samp STI File USD"
  97. HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48}\InProcServer32,,,%11%\Sampusd.dll
  98. HKCR,CLSID\{C3A80960-28B1-11D1-ACAD-00A02438AD48}\InProcServer32,ThreadingModel,,"Both"
  99. [Samp.CopyFiles]
  100. ; Copy the user mode minidriver.
  101. Sampusd.dll
  102. ; If you have extended the control panel's property pages, copy the dll.
  103. Sampcpl.cpl
  104. ;[Samp.CopySys32Files]
  105. ; Copy the kernel drivers that are needed.
  106. ;Scsiscan.sys
  107. ;[Samp.CopyTwainFiles]
  108. ; Put the data source here.
  109. ;SampDs.ds
  110. [Uninstall.Samp]
  111. DelFiles=Samp.DelSysFiles
  112. [Samp.DelSysFiles]
  113. Sampusd.dll
  114. ; If you have extended the control panel's property pages
  115. Sampcpl.cpl
  116. [SampScanner.AddService]
  117. DisplayName = %SampScanner.SvcDesc%
  118. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  119. StartType = 3 ; SERVICE_DEMAND_START
  120. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  121. ServiceBinary = %12%\serscan.sys
  122. LoadOrderGroup = Base
  123. [Strings]
  124. ; Always put strings down here so they can be easily localized to
  125. ; other languages.
  126. Msft="Microsoft"
  127. Mfg="Sample Manufacturer"
  128. Samp.DeviceDesc="Sample Device"
  129. SampScanner.SvcDesc="Sample still image device service"
  130. TimeChanged="File Time Changed"
  131. SizeChanged="File Size Changed"