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.

124 lines
2.9 KiB

  1. ; WIACAM.INF -- WIA sample camera Setup File
  2. ; Copyright (c) 2000 Microsoft Corporation
  3. [Version]
  4. Signature="$CHICAGO$"
  5. Class=Image
  6. ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
  7. Provider=%IHVProvider%
  8. ; Catalog files are supplied by the Microsoft Windows Hardware Quality Lab (WHQL)
  9. CatalogFile=wia.cat
  10. DriverVer=01/01/2001,1.0
  11. [SourceDisksNames]
  12. 1=%WIASample.SourceLocation%
  13. [SourceDisksFiles]
  14. wiacam.dll=1
  15. fakecam.dll=1
  16. extend.dll=1
  17. [DestinationDirs]
  18. ; By default, files will be copied to \windows\system32.
  19. DefaultDestDir=11
  20. [Manufacturer]
  21. %Mfg%=Models
  22. [Models]
  23. %WIASample.DeviceDesc% = WIASample.Camera, MICROSOFT_WIACAM_TESTDEVICE_PNP_ID
  24. [WIASample.Camera]
  25. ;
  26. ; Change Needs to STI.UsbSection for USB cameras
  27. ;
  28. Include=sti.inf
  29. Needs=STI.SerialSection
  30. SubClass=StillImage
  31. ;
  32. ; Device type
  33. ; 1 = scanner
  34. ; 2 = camera
  35. ; 3 = video
  36. ;
  37. DeviceType=2
  38. ;
  39. ; Capabilities is a mask:
  40. ; 0x01 = Device generates events
  41. ; 0x02 = Polling needed
  42. ; 0x04 = Generate event when device installed
  43. ; 0x08 = Enable the "auto" port option
  44. ; 0x10 = WIA capable driver
  45. ; 0x20 = Driver has reduced functionality
  46. ;
  47. Capabilities=0x00000019
  48. ;
  49. ; Hides port selection page in the wizard and on the
  50. ; device property sheet.
  51. ;
  52. PortSelect=No
  53. ;
  54. DeviceData=WIASample.DeviceData
  55. AddReg=WIASample.AddReg
  56. CopyFiles=WIASample.CopyFiles
  57. RegisterDlls=WIASample.RegisterDlls
  58. ICMProfiles="sRGB Color Space Profile.icm"
  59. [WIASample.Camera.Services]
  60. ;
  61. ; Change Needs to STI.UsbSection.Services for USB cameras
  62. ;
  63. Include=sti.inf
  64. Needs=STI.SerialSection.Services
  65. [WIASample.DeviceData]
  66. Server=local
  67. ;
  68. ; Indicates COM component to load for UI.
  69. ; Use {4DB1AD10-3391-11D2-9A33-00C04FA36145} for
  70. ; default WIA UI.
  71. ;
  72. UI Class ID={ACBF6AF6-51C9-46a9-87D8-A93F352BCB3E}
  73. ;
  74. ; Indicates the name of the microdriver DLL
  75. ;
  76. MicroDriver=fakecam.dll
  77. ;
  78. ; Sample of a DWORD value that the installer will
  79. ; put in the registry, and the driver can read.
  80. ;
  81. ReadDelay=0,1
  82. [WIASample.AddReg]
  83. ;
  84. ; HardwareConfig entry indicates what type of connection
  85. ; the device uses. First number should always be 1. The
  86. ; second number varies: 1=unknown, 2=SCSI, 4=USB,
  87. ; 8=serial, 16=parallel
  88. ;
  89. HKR,,HardwareConfig,1,1
  90. ;
  91. ; The GUID in the following entries must match the class ID
  92. ; of the WIA minidriver (see wiacam.cpp).
  93. ;
  94. HKR,,USDClass,,"{8E3F2BAE-C8FF-4eff-AABD-0C58695389E8}"
  95. HKCR,CLSID\{8E3F2BAE-C8FF-4eff-AABD-0C58695389E8},,,"WIA Sample Camera Driver"
  96. HKCR,CLSID\{8E3F2BAE-C8FF-4eff-AABD-0C58695389E8}\InProcServer32,,,%11%\wiacam.dll
  97. HKCR,CLSID\{8E3F2BAE-C8FF-4eff-AABD-0C58695389E8}\InProcServer32,ThreadingModel,,Both
  98. [WIASample.CopyFiles]
  99. wiacam.dll
  100. fakecam.dll
  101. extend.dll
  102. [WIASample.RegisterDlls]
  103. ; Register UI extension
  104. 11,,extend.dll,1
  105. [Strings]
  106. IHVProvider="IHV Provider"
  107. Mfg="IHV Provider"
  108. WIASample.DeviceDesc="WIA Sample Camera Device"
  109. WIASample.SourceLocation="WIA Sample Camera Driver"