;
; Copyright (c) 2010 Realtek Semiconductor Corp.
;

[Version]
Signature="$CHICAGO$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%Realtek%
CatalogFile=BthAvrcp.cat
;LayoutFile=layout.inf
DriverVer=12/21/2011,1.0.24.1

;
;   Layout.inf (etc.) list all files shipped with the operating system so the 
;   source description sections are only needed if other files are needed.
;   
;   In order to use IHV drivers, the SourceDisksNames section must list the 
;   disk(s) containing the drivers and the SourceDisksFiles section must list 
;   which disk number each file to be copied is found on.
;   Disk number 99 is used to avoid a conflict with the disk numbers defined 
;   in layout.inf
;
;   Files used in a driver installation need to be digitally signed otherwise 
;   installation may fail.  See documentation elsewhere in the DDK regarding 
;   driver signing.

[SourceDisksFiles]
BthAvrcp.sys = 99


[SourceDisksNames.x86]
99 = %DISK_NAME%,,,	

[SourceDisksNames.ia64]
99 = %DISK_NAME%,,,

[SourceDisksNames.amd64]
99 = %DISK_NAME%,,,


[DestinationDirs]
CopyFiles = 12     ; should it be 10 to take care of 98 stuff??????
;CopyFilesDLL = 11     ; %SystemRoot%\system or system32 - 98 or Win2000

[Manufacturer]
%VENDOR%=BthAvrcp_Mfg, NTx86, NTia64, NTamd64

; For Win2K
[BthAvrcp_Mfg]
%BthAvrcp_DeviceDesc%    = BthAvrcp_DDI,BTHENUM\{0000110E-0000-1000-8000-00805F9B34FB}_LOCALMFG&005d

; For XP and later
[BthAvrcp_Mfg.NTx86]
%BthAvrcp_DeviceDesc%    = BthAvrcp_DDI, BTHENUM\{0000110E-0000-1000-8000-00805F9B34FB}_LOCALMFG&005d


[BthAvrcp_Mfg.NTia64]
%BthAvrcp_DeviceDesc%    = BthAvrcp_DDI, BTHENUM\{0000110E-0000-1000-8000-00805F9B34FB}_LOCALMFG&005d


[BthAvrcp_Mfg.NTamd64]
%BthAvrcp_DeviceDesc%    = BthAvrcp_DDI, BTHENUM\{0000110E-0000-1000-8000-00805F9B34FB}_LOCALMFG&005d


;[ControlFlags]
;ExcludeFromSelect  = HID\MyVirtualHidDevice

;===============================================================
;   VHidMini (Root Enumerated Hid Device) install section
;===============================================================
[BthAvrcp_DDI.NT]
CopyFiles = CopyFiles

[BthAvrcp_DDI.NT.HW]
AddReg = BthAvrcp.AddReg 

[BthAvrcp_DDI.NT.Services]
AddService = BthAvrcp.sys,0x00000002,BthAvrcp_Service

[CopyFiles]
BthAvrcp.sys 
;HidClass.sys
;HidParse.sys

;[CopyFilesDLL]
;Hid.dll

[BthAvrcp.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"BthAvrcp.sys"
HKR,,"ReadFromRegistry",%REG_DWORD%, 0x00000001
HKR,,"MyReportDescriptor",%REG_BINARY%, 06, 00, FF, 09, 01, A1, 01, 85, 01, 09, 01, 15, 00, 26, ff, 00, 75, 08, 95, 01, B1, 00, 09, 01, 15, 00, 26, FF, 00, 75, 08, 95, 01, B1, 00, 09, 01, 75, 08, 95, 01, 81,00, C0

[BthAvrcp_Service]
DisplayName    = %BthAvrcp_SvcDesc%
ServiceType    = %SERVICE_KERNEL_DRIVER% 
StartType      = %SERVICE_DEMAND_START% 
ErrorControl   = %SERVICE_ERROR_IGNORE% 
ServiceBinary  = %12%\BthAvrcp.sys 

;===============================================================
;   VHidDevice (Virtual Hid Device) install section
; - Only a Null service is installed.
;===============================================================
;[VHidDevice.Inst]

;[VHidDevice.Inst.NT]

;[VHidDevice.Inst.NT.Services]
;AddService = ,0x00000002,   ; NULL Service


;================================================================
[Strings] 
;  *******Localizable Strings******* 
Realtek		       = "Realtek Semiconductor Corp."
VENDOR         	       = "Realtek Semiconductor Corp." 
BthAvrcp_SvcDesc       = "Realtek Bluetooth AVRCP Profile" 
BthAvrcp_DeviceDesc    = "Realtek Bluetooth Remote Control Device" 
DISK_NAME              = "Realtek BthAvrcp Device Installation Disk #1"
;  *******Non Localizable Strings******* 

SERVICE_BOOT_START     = 0x0 
SERVICE_SYSTEM_START   = 0x1 
SERVICE_AUTO_START     = 0x2 
SERVICE_DEMAND_START   = 0x3 
SERVICE_DISABLED       = 0x4 

SERVICE_KERNEL_DRIVER  = 0x1 
SERVICE_ERROR_IGNORE   = 0x0 
SERVICE_ERROR_NORMAL   = 0x1 
SERVICE_ERROR_SEVERE   = 0x2 
SERVICE_ERROR_CRITICAL = 0x3 

REG_EXPAND_SZ          = 0x00020000 
REG_DWORD              = 0x00010001 
REG_MULTI_SZ           = 0x00010000
REG_BINARY             = 0x00000001
REG_SZ                 = 0x00000000

