;/*++
;
;Copyright (c) ASUSTek COMPUTER INC.
;
;Module Name:
;
;    AsusVirtualDevice.inf
;
;Abstract:
;    INF file for installing HID minidriver (KMDF version)
;
;Installation Notes:
;    Using Devcon: Type "devcon install AsusVirtualDevice.inf root\vhidmini" to install
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class = HIDClass
ClassGuid = {745a17a0-74d3-11d0-b6fe-00a0c90f57da};HIDClassGuid
Provider=%ProviderString%
DriverVer = 04/18/2024,28.0.0.1
CatalogFile=asusvirtualdevice.cat
pnplockdown = 1

; ================= Device section =====================

[Manufacturer]
%ManufacturerString%=Microsoft,NTamd64.10.0...16299

; Works on Win7 and later because we use inbox HID-KMDF mapper
[Microsoft.NTamd64.10.0...16299]
%DeviceDesc%=vhidmini, root\vhidmini
%DeviceDesc%=vhidmini, HID\AsusVTouchDev
%DeviceDesc%=vhidmini, ACPI\ASUH2024

[vhidmini.NT]
Include = MsHidKmdf.inf
Needs =MsHidKmdf.NT
CopyFiles=KMDriverCopy

[vhidmini.NT.hw]
Include = MsHidKmdf.inf
Needs =MsHidKmdf.NT.HW
AddReg=vhidmini_AddReg

[vhidmini.NT.Services]
Include = MsHidKmdf.inf
Needs =MsHidKmdf.NT.Services
AddService=AsusHITVirtualTouch,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,"AsusHITVirtualTouch" ; 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  = %13%\AsusVirtualDevice.sys

[vhidmini.NT.Wdf]
KmdfService=AsusHITVirtualTouch, vhidmini_wdfsect

[vhidmini_wdfsect]
KmdfLibraryVersion=1.15

; ================= copy files =====================

[KMDriverCopy]
AsusVirtualDevice.sys

[SourceDisksNames]
1=%DiskDesc%,,,

[SourceDisksFiles]
AsusVirtualDevice.sys=1

[DestinationDirs]
KMDriverCopy=13

;---------------------------------------------------------------;

[Strings]
ProviderString     = "ASUSTek COMPUTER INC."
ManufacturerString = "Human Interface Device Dept."
ClassName          = "Sample Device"
DeviceDesc         = "ASUS HID minidriver (KMDF version) Device"
ServiceDesc        = "ASUS HID minidriver (KMDF version) Service"
DiskDesc           = "ASUS HID minidriver (KMDF version) Installation Disk"
