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.

95 lines
1.7 KiB

  1. ;
  2. ; GenUSB.INF
  3. ;
  4. ;*** Created 9/01 (kenray)
  5. ;
  6. ;
  7. [SourceDisksNames]
  8. 1 = "asdf"
  9. [SourceDisksFiles]
  10. genusb.sys = 1
  11. [Version]
  12. Signature="$WINDOWS NT$"
  13. Class=USB
  14. ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
  15. Provider=%MSFT%
  16. LayoutFile=layout.inf
  17. DriverVer=07/01/2001,5.1.2600.0
  18. [ControlFlags]
  19. ExcludeFromSelect = *
  20. [DestinationDirs]
  21. DefaultDestDir = 12
  22. GENUSBCopyFilesDLL = 11
  23. [Manufacturer]
  24. %StdMfg%=Standard
  25. ;
  26. ; Devices
  27. ;
  28. [Standard]
  29. %GENERIC_DEVICE_SYSTEM%=GENUSB_Inst,,USB\VID_1485&PID_000B
  30. %GENERIC_DEVICE_SYSTEM%=GENUSB_Inst,,USB\VID_045E&PID_930A
  31. [GENUSB_Inst.NT]
  32. Copyfiles = GENUSB.CopyFiles
  33. ;, GENUSB.CopyFilesDLL
  34. [GENUSB_Inst.NT.HW]
  35. AddReg = GENUSB.AddReg.HW
  36. [GENUSB.AddReg.HW]
  37. HKR,,"JunkValue",%REG_DWORD%,1
  38. [GENUSB.CopyFiles]
  39. genusb.sys
  40. ;[GENUSB.CopyFilesDLL]
  41. ;genusb.sys
  42. [GENUSB_Inst.NT.Services]
  43. AddService = GenUSB, %SPSVCINST_ASSOCSERVICE%, GENUSB.AddService
  44. [GENUSB.AddService]
  45. DisplayName = %GENUSB.SvcDesc%
  46. ServiceType = %SERVICE_KERNEL_DRIVER%
  47. StartType = %SERVICE_DEMAND_START%
  48. ErrorControl = %SERVICE_ERROR_IGNORE%
  49. ServiceBinary = %12%\genusb.sys
  50. LoadOrderGroup = extended base
  51. [strings]
  52. ; Manufacturers
  53. StdMfg = Microsoft
  54. ; Hardware
  55. GENERIC_DEVICE_SYSTEM = Generic USB Device
  56. ; Services
  57. GENUSB.SvcDesc = Generic USB Driver
  58. ; Standard defs
  59. SPSVCINST_TAGTOFRONT = 0x00000001
  60. SPSVCINST_ASSOCSERVICE= 0x00000002
  61. SERVICE_KERNEL_DRIVER = 1
  62. SERVICE_BOOT_START = 0
  63. SERVICE_SYSTEM_START = 1
  64. SERVICE_AUTO_START = 2
  65. SERVICE_DEMAND_START = 3
  66. SERVICE_ERROR_NORMAL = 1
  67. SERVICE_ERROR_IGNORE = 0
  68. REG_EXPAND_SZ = 0x00020000
  69. REG_DWORD = 0x00010001
  70. REG_SZ = 0x00000000