;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    USBSamp.INF
;
;Abstract:
;    Installation inf for the Hisense HK-F18G FCR
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=Sample
ClassGuid={3230d9a3-cf66-4cde-b9d0-846a206be7ec}
Provider=%MSFT%
DriverVer=12/16/2010,6.1.7600.16385
CatalogFile=KmdfSamples.cat


; ================= Class section =====================

[ClassInstall32]
Addreg=SampleClassReg     

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[DestinationDirs]
DefaultDestDir = 12

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

[Manufacturer]
%MfgName%=Microsoft,NTx86

; For Win2K
[Microsoft]
%USB\VID_801c&PID_a4a5.DeviceDesc%=usbsamp.Dev, USB\VID_801c&PID_a4a5    ; Gadget Serial

; For XP and later
[Microsoft.NTx86]
%USB\VID_801c&PID_a4a5.DeviceDesc%=usbsamp.Dev, USB\VID_801c&PID_a4a5    ; Gadget Serial


[usbsamp.Dev.NT]
CopyFiles=usbsamp.Files.Ext

[usbsamp.Dev.NT.Services]
Addservice = usbsamp, 0x00000002, usbsamp.AddService

[usbsamp.AddService]
DisplayName    = %usbsamp.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\usbsamp.sys
AddReg         = usbsamp.AddReg
LoadOrderGroup = Base

[usbsamp.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,65536
HKR,"Parameters","DebugLevel",0x10001,2

[usbsamp.Files.Ext]
usbsamp.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
usbsamp.sys = 1

;-------------- WDF Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

[usbsamp.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[usbsamp.Dev.NT.Wdf]
KmdfService = usbsamp, usbsamp_wdfsect

[usbsamp_wdfsect]
KmdfLibraryVersion = 1.9

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

[Strings]
MSFT            = "Hisense"
MfgName         = "Hisense"
Disk_Description= "HK-F18G usb Installation Disk"
usbsamp.SvcDesc = "WDF for Hisense FCR"
ClassName       = "FCR"
USB\VID_801c&PID_a4a5.DeviceDesc="º£ÐÅHK-F18G-JZË°¿ØÆ÷"


