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.

120 lines
2.9 KiB

  1. ;
  2. ; Copyright (c) 1999-2003 OEM Company Name
  3. ;
  4. ; Generic INF to install 1284.4 support for a multi-function
  5. ; or multi-channel device
  6. ;
  7. ;
  8. ;
  9. [Version]
  10. Signature="$Windows NT$"
  11. Class=Dot4
  12. ClassGUID={48721b56-6795-11d2-b1a8-0080c72e74a2}
  13. Provider=%OEM%
  14. ; Date & version of driver package
  15. DriverVer=MM/DD/YYYY,XX.XX.XX.XX
  16. CatalogFile=DOT4OEM.CAT
  17. ;====================================================
  18. [Manufacturer]
  19. %OEM%=OEM_Models
  20. [OEM_Models]
  21. ;
  22. ; This INF supports models with these PnP IDs
  23. ; (Enumerated by any enumerator (*))
  24. ;
  25. %OEM_DOT4_PRINTER% = OEM_Printer_Inst,LPTENUM\OEM_Company_1284.4_PB695
  26. %OEM_DOT4_SCANNER% = OEM_Scanner_Inst,LPTENUM\OEM_Company_1284.4_S9950
  27. %OEM_DOT4_MFP% = OEM_MFP_Inst,LPTENUM\OEM_Company_1284.4_M9C9C
  28. ;
  29. ; Copy files for the W2K installation
  30. ;
  31. [OEM_Printer_Inst.NT]
  32. CopyINF=oemprnd4.inf
  33. Include=DOT4.INF
  34. Needs=DOT4_OEM
  35. [OEM_Scanner_Inst.NT]
  36. CopyINF=dot4oems.inf
  37. Include=DOT4.INF
  38. Needs=DOT4_OEM
  39. [OEM_MFP_Inst.NT]
  40. CopyINF=oemprnd4.inf,dot4oems.inf
  41. Include=DOT4.INF
  42. Needs=DOT4_OEM
  43. ;
  44. ; Special configuration info for W2K
  45. ;
  46. [OEM_Printer_Inst.NT.HW]
  47. AddReg=OEM_Printer_AddReg
  48. [OEM_Scanner_Inst.NT.HW]
  49. AddReg=OEM_Scanner_AddReg
  50. [OEM_MFP_Inst.NT.HW]
  51. AddReg=OEM_MFP_AddReg
  52. ;
  53. ; Add keys under Enum\enumeratorID\device-instance-id
  54. ; These keys name all the "functions" a Dot4 device
  55. ; supports. A Friendly-name for the function lives in
  56. ; this key.
  57. ;
  58. [OEM_Printer_AddReg]
  59. HKR,%Printer_Func%,%Desc_Val%,,%OEM_Printer%
  60. [OEM_Scanner_AddReg]
  61. HKR,%Scanner_Func%,%Desc_Val%,,%OEM_Scanner%
  62. [OEM_MFP_AddReg]
  63. HKR,%Printer_Func%,%Desc_Val%,,%OEM_MFP_Printer%
  64. HKR,%Scanner_Func%,%Desc_Val%,,%OEM_MFP_Scanner%
  65. ;
  66. ; Add the Dot4 driver as a service in W2K
  67. ;
  68. [OEM_Printer_Inst.NT.Services]
  69. AddService=Dot4,0x00000002,Dot4_Inst
  70. [OEM_Scanner_Inst.NT.Services]
  71. AddService=Dot4,0x00000002,Dot4_Inst
  72. [OEM_MFP_Inst.NT.Services]
  73. AddService=Dot4,0x00000002,Dot4_Inst
  74. [Dot4_Inst]
  75. DisplayName = %Dot4_Name%
  76. ServiceType = 1 ; Kernel driver
  77. StartType = 3 ; Manual start
  78. ErrorControl = 1 ; Error ignore
  79. ServiceBinary = %12%\Dot4.sys
  80. ;====================================================
  81. [DestinationDirs]
  82. DefaultDestDir = 10,System32\drivers
  83. ;====================================================
  84. [Strings]
  85. Dot4_Name = "IEEE-1284.4 Driver"
  86. OEM = "OEM Company"
  87. Desc_Val = "Description"
  88. Printer_Func = "Functions\PRINT"
  89. Scanner_Func = "Functions\SCAN"
  90. OEM_DOT4_PRINTER = "OEM Company 1284.4 Printer"
  91. OEM_DOT4_SCANNER = "OEM Company 1284.4 Scanner"
  92. OEM_DOT4_MFP = "OEM Company 1284.4 MFP"
  93. OEM_Printer = "OEM Company 1284.4 Printer"
  94. OEM_Scanner = "OEM Company 1284.4 Scanner"
  95. OEM_MFP_Printer = "OEM Company 1284.4 MFP - Printer"
  96. OEM_MFP_Scanner = "OEM Company 1284.4 MFP - Scanner"