Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [Version]
  2. Signature="$Windows NT$"
  3. Class=Ports
  4. ClassGUID={4D36E978-E325-11CE-BFC1-08002BE10318}
  5. Provider=%Provider%
  6. DriverVer=03/17/2001,1.0.0.1
  7. CatalogFile=KmdfSamples.cat
  8.  
  9. ; Manufacturer Section
  10. ; ---------------------------------------------------------
  11. [Manufacturer]
  12. %ShinyThings%=ShinyThingsMfg,NT$ARCH$
  13.  
  14. ; Devices Section
  15. ; ---------------------------------------------------------
  16. [ShinyThingsMfg.NT$ARCH$]
  17. %HID\Vid_045E&Pid_001E.DeviceDesc%=Firefly_Inst, HID\Vid_045E&Pid_001E ;;; Can I put here anything else?
  18.  
  19. ; Install Section
  20. ; ---------------------------------------------------------
  21. [Firefly_Inst.NT]
  22. Include = MSPORTS.INF
  23. Needs = HID_Mouse_Inst.NT
  24. CopyFiles = Firefly_Inst_CopyFiles.NT
  25.  
  26. [Firefly_Inst.NT.HW]
  27. Include = MSPORTS.INF
  28. Needs = HID_Mouse_Inst.NT.Hw
  29. AddReg = Firefly_Inst_HWAddReg.NT
  30.  
  31. [Firefly_Inst_HWAddReg.NT]
  32. HKR,,"UpperFilters",0x00010000,"Firefly" ; Here I add Upper Filter.
  33.  
  34. [Firefly_Inst_CopyFiles.NT]
  35. Firefly.sys
  36.  
  37. [Firefly_Inst.NT.Services]
  38. Include = MSPORTS.INF
  39. Needs = HID_Mouse_Inst.NT.Services
  40. AddService = Firefly, , Firefly_Service_Inst
  41.  
  42. [Firefly_Service_Inst]
  43. DisplayName    = %Firefly.SvcDesc%
  44. ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
  45. StartType      = 3                  ; SERVICE_DEMAND_START
  46. ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
  47. ServiceBinary  = %12%\Firefly.sys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement