; ** COPYRIGHT (C) 2007-2014 Realtek CORPORATION
; 

[Version]
Signature   = "$Windows NT$"
Class       = RTKCls
ClassGuid   = {23FA4AD3-B0C4-40C8-BDDA-28F67F2E70CA}
Provider    = %Realtek%
DriverVer   = 07/18/2014,1.0.0718.2014
CatalogFile = rtumdfdrv.cat

[Manufacturer]
%Realtek%   = Realtek, NTx86

[Realtek.NTx86]
%RTKDeviceName% = RTK_Install, USB\Vid_0bda&Pid_1195

[ClassInstall32.NTx86]
AddReg = RTKCls_RegistryAdd

[RTKCls_RegistryAdd]
HKR, , ,     , %ClassName%
HKR, , Icon, , "-10"

[SourceDisksFiles]
rtumdfdrv.dll           = 1
WudfUpdate_01009.dll    = 1
WdfCoInstaller01009.dll = 1
WinUsbCoinstaller2.dll  = 1

[SourceDisksNames]
1 = %DISKNAME%

; =================== UMDF RTK Device ==================================

[RTK_Install.NTx86]
CopyFiles  = UMDriverCopy
Include    = WINUSB.INF                        ; Import sections from WINUSB.INF
Needs      = WINUSB.NT                         ; Run the CopyFiles & AddReg directives for WinUsb.INF

[RTK_Install.NTx86.hw]
AddReg     = RTK_Device_AddReg

[RTK_Install.NTx86.Services]
AddService = WUDFRd,0x000001fa,WUDFRD_ServiceInstall  ; flag 0x2 sets this as the service for the device
AddService = WinUsb,0x000001f8,WinUsb_ServiceInstall  ; this service is installed because its a filter.

[RTK_Install.NTx86.Wdf]
KmdfService       = WINUSB, WinUsb_Install
UmdfDispatcher    = WinUsb
UmdfService       = rtumdfdrv, rtumdfdrv_Install
UmdfServiceOrder  = rtumdfdrv

[RTK_Install.NTx86.CoInstallers]
AddReg      = CoInstallers_AddReg
CopyFiles   = CoInstallers_CopyFiles

[WinUsb_Install]
KmdfLibraryVersion = 1.9

[rtumdfdrv_Install]
UmdfLibraryVersion = 1.9.0
DriverCLSID        = "{A2608F6E-49A5-422A-A3D6-EDB2EACA81FA}"
ServiceBinary      = %12%\UMDF\rtumdfdrv.dll

[RTK_Device_AddReg]
HKR,,"LowerFilters",0x00010008,"WinUsb" ; FLG_ADDREG_TYPE_MULTI_SZ | FLG_ADDREG_APPEND

[WUDFRD_ServiceInstall]
DisplayName     = %WudfRdDisplayName%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WUDFRd.sys
LoadOrderGroup  = Base


[WinUsb_ServiceInstall]
DisplayName     = %WinUsb_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WudfUpdate_01009.dll", "WinUsbCoinstaller2.dll", "WdfCoInstaller01009.dll,WdfCoInstaller"

[CoInstallers_CopyFiles]
WudfUpdate_01009.dll
WdfCoInstaller01009.dll
WinUsbCoinstaller2.dll

[DestinationDirs]
UMDriverCopy           = 12,UMDF ; copy to driversMdf
CoInstallers_CopyFiles = 11

[UMDriverCopy]
rtumdfdrv.dll

; =================== Generic ==================================

[Strings]
Realtek             = "Realtek"
DISKNAME            = "Realtek generic USB UMDF Driver Media"
ClassName           = "Realtek generic USB class"
WudfRdDisplayName   = "Windows Driver Foundation - User-mode Driver Framework Reflector"
RTKDeviceName       = "Realtek generic USB Device" 
WinUsb_SvcDesc      = "WinUSB Driver"

