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.

100 lines
2.8 KiB

  1. ; FLPYDISK.INF -- This file contains descriptions of all
  2. ; the Floppy Drives supported in Windows
  3. ;
  4. ; Copyright (c) Microsoft Corporation. All rights reserved.
  5. [Version]
  6. Signature="$WINDOWS NT$"
  7. Class=FloppyDisk
  8. ClassGuid={4D36E980-E325-11CE-BFC1-08002BE10318}
  9. Provider=%MSFT%
  10. LayoutFile=layout.inf
  11. [ClassInstall32.NT]
  12. AddReg=floppy_class_addreg
  13. [floppy_class_addreg]
  14. HKR,,,,%floppyClassName%
  15. HKR,,EnumPropPages32,,"SysSetup.Dll,DiskPropPageProvider"
  16. HKR,,SilentInstall,,1
  17. HKR,,NoInstallClass,,1
  18. HKR,,TroubleShooter-0,,"hcp://help/tshoot/tsdrive.htm"
  19. HKR,,Icon,,102
  20. HKR,,DeviceType,0x10001,7 ; FILE_DEVICE_DISK
  21. HKR,,DeviceCharacteristics,0x10001,0x100 ; Use same security checks on relative opens
  22. [floppy_copyfiles]
  23. flpydisk.sys
  24. [DestinationDirs]
  25. floppy_copyfiles=12
  26. sfloppy_copyfiles=12
  27. [Manufacturer]
  28. %GenManufacturer%=floppy_device
  29. [floppy_device]
  30. %floppy_devdesc%=floppy_install,*PNP0701
  31. %floppy_devdesc%=floppy_install,*PNP0702
  32. %floppy_devdesc%=floppy_install,*PNP0703
  33. %floppy_devdesc%=floppy_install,*PNP0704
  34. %floppy_devdesc%=floppy_install,GenFloppyDisk
  35. %sfloppy_devdesc%=sfloppy_install,GenSFloppy
  36. %usbfloppy_devdesc%=sfloppy_install,USBSTOR\GenSFloppy
  37. %sfloppy_devdesc%=sfloppy_install,SCSI\DiskMATSHITALS-120_COSM___04
  38. %sfloppy_devdesc%=sfloppy_install,SCSI\DiskCOMPAQ__LS-120_VER5___AB
  39. %sfloppy_devdesc%=sfloppy_install,SCSI\DiskCOMPAQ__LS-120_HIMA___01
  40. %sfloppy_devdesc%=sfloppy_install,SCSI\DiskMATSHITALS-120_VER5___00
  41. %sfloppy_devdesc%=sfloppy_install,SCSI\DiskMATSHITALS-120/240____00
  42. [floppy_install.NT]
  43. CopyFiles=floppy_copyfiles
  44. ExcludeId=GenSFloppy,SCSI\DiskMATSHITALS-120_COSM___04,SCSI\DiskCOMPAQ__LS-120_VER5___AB
  45. ExcludeId=SCSI\DiskCOMPAQ__LS-120_HIMA___01,SCSI\DiskMATSHITALS-120_VER5___00
  46. ExcludeId=SCSI\DiskMATSHITALS-120/240____00
  47. [floppy_install.NT.Services]
  48. AddService=flpydisk,2,floppy_ServiceInstallSection
  49. [floppy_ServiceInstallSection]
  50. DisplayName=%floppy_ServiceDesc%
  51. ServiceType=1
  52. StartType=3
  53. ErrorControl=1
  54. ServiceBinary = %12%\flpydisk.sys
  55. ;;
  56. ;; super floppy
  57. ;;
  58. [sfloppy_install.NT]
  59. CopyFiles=sfloppy_copyfiles
  60. ExcludeId=GenFloppyDisk,*PNP0701,*PNP0702,*PNP0703,*PNP0704
  61. [sfloppy_copyfiles]
  62. sfloppy.sys
  63. [sfloppy_install.NT.Services]
  64. AddService=sfloppy,2,sfloppy_ServiceInstallSection
  65. [sfloppy_ServiceInstallSection]
  66. DisplayName=%sfloppy_devdesc%
  67. ServiceType=1
  68. StartType=3
  69. ErrorControl=1
  70. ServiceBinary = %12%\sfloppy.sys
  71. AddReg=sfloppy_autorun
  72. [sfloppy_install.NT.HW]
  73. AddReg=sfloppyEnable.RegHW
  74. [sfloppyEnable.RegHW]
  75. HKR,,SuperFloppy,%REG_DWORD%,0x00000001
  76. [sfloppy_autorun]
  77. ;;
  78. ;; "AutoRun" is disabled by default for Super Floppy Drives.
  79. ;; To enable "AutoRun" set the registry entry to 1.
  80. ;;
  81. HKR,,"AutoRun",%REG_DWORD%,0