diff options
| author | Dave Wilson <[email protected]> | 2015-04-29 09:48:49 -0700 |
|---|---|---|
| committer | Dave Wilson <[email protected]> | 2015-04-29 10:47:29 -0700 |
| commit | d40232638faaab19de557e70a3ee938da7a35295 (patch) | |
| tree | 14e61c973745949af186b7940e3a53d25322f5de /hid/vhidmini2/driver/kmdf/vhidmini.inx | |
| parent | 02e5b090a6131a7cc1b90f4a9373117c9e3c7088 (diff) | |
samples update for //build
Diffstat (limited to 'hid/vhidmini2/driver/kmdf/vhidmini.inx')
| -rw-r--r-- | hid/vhidmini2/driver/kmdf/vhidmini.inx | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/hid/vhidmini2/driver/kmdf/vhidmini.inx b/hid/vhidmini2/driver/kmdf/vhidmini.inx new file mode 100644 index 00000000..c4f776f6 --- /dev/null +++ b/hid/vhidmini2/driver/kmdf/vhidmini.inx @@ -0,0 +1,96 @@ +;/*++ +; +;Copyright (c) Microsoft Corporation All rights Reserved +; +;Module Name: +; +; vihidmini.inf +; +;Abstract: +; INF file for installing HID minidriver (KMDF version) +; +;Installation Notes: +; Using Devcon: Type "devcon install vhidmini.inf root\vhidmini" to install +; +;--*/ +[Version] +Signature="$WINDOWS NT$" +Class=Sample +ClassGuid={78A1C341-4539-11d3-B88D-00C04FAD5171} +Provider=%MSFT% +DriverVer=10/01/2002,6.0.5058.0 +CatalogFile=wudf.cat + +; ================= Class section ===================== + +[ClassInstall32] +Addreg=SampleClassReg + +[SampleClassReg] +HKR,,,0,%ClassName% +HKR,,Icon,,-5 + +; ================= Device section ===================== + +[Manufacturer] +%MfgName%=Microsoft,NT$ARCH$.6.1 + +; Works on Win7 and later because we use inbox HID-KMDF mapper +[Microsoft.NT$ARCH$.6.1] +%DeviceDesc%=vhidmini, root\vhidmini + +[vhidmini.NT] +CopyFiles=KMDriverCopy + +[vhidmini.NT.hw] +AddReg=vhidmini_AddReg + +[vhidmini.NT.Services] +AddService=vhidmini,0,vhidmini_Service_Inst, +AddService=mshidkmdf,0x00000002,mshidkmdf_Service_Inst ;flag 0x2 sets this as the service for the device + +[vhidmini_AddReg] +HKR,,"LowerFilters",0x00010008,"vhidmini" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND + +[mshidkmdf_Service_Inst] +ServiceType = 1 ; SERVICE_KERNEL_DRIVER +StartType = 3 ; SERVICE_DEMAND_START +ErrorControl = 1 ; SERVICE_ERROR_NORMAL +ServiceBinary = %12%\mshidkmdf.sys + +[vhidmini_Service_Inst] +DisplayName = %ServiceDesc% +ServiceType = 1 +StartType = 3 +ErrorControl = 1 +ServiceBinary = %12%\vhidmini.sys + +[vhidmini.NT.Wdf] +KmdfService=vhidmini, vhidmini_wdfsect + +[vhidmini_wdfsect] +KmdfLibraryVersion=$KMDFVERSION$ + +; ================= copy files ===================== + +[KMDriverCopy] +vhidmini.sys + +[SourceDisksNames] +1=%DiskDesc%,,, + +[SourceDisksFiles] +vhidmini.sys=1 + +[DestinationDirs] +KMDriverCopy=12 + +;---------------------------------------------------------------; + +[Strings] +MSFT = "Microsoft" +MfgName = "Microsoft" +ClassName = "Sample Device" +DeviceDesc = "HID minidriver (KMDF version) Device" +ServiceDesc= "HID minidriver (KMDF version) Service" +DiskDesc = "HID minidriver (KMDF version) Installation Disk" |
