; Based on template INF file found at
;    <http://msdn.microsoft.com/en-us/library/ff570620.aspx>
; which was:
;    Copyright (c) Microsoft Corporation
; and released under the MLPL as found at:
;    <http://msdn.microsoft.com/en-us/cc300389.aspx#MLPL>.
; For use only on Windows operating systems.

[Version]
Signature           = "$Windows NT$"
Class               = Net
ClassGUID           = {4d36e972-e325-11ce-bfc1-08002be10318}
Provider            = %Android%
DriverVer           = 03/10/2014,6.0.6000.16385
CatalogFile         = sprdrndis.cat

[Manufacturer]
%Android%             = AndroidDevices,NTx86,NTamd64,NTia64

[SourceDisksFiles]

; Decoration for x86 architecture
[AndroidDevices.NTx86]
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D20
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D22&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D23&MI_00
;8830ec
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D25&MI_00
; Decoration for x64 architecture
[AndroidDevices.NTamd64]
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D20
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D22&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D23&MI_00
;8830ec
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D25&MI_00

; Decoration for ia64 architecture
[AndroidDevices.NTia64]
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D20
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D21&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D22&MI_00
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D23&MI_00
;8830ec
%AndroidDevice%  = RNDIS.NT.5.1, USB\VID_1782&PID_5D25&MI_00
;@@@ This is the common setting for setup
[ControlFlags]
ExcludeFromSelect=*

; DDInstall section
; References the in-build Netrndis.inf
[RNDIS.NT.5.1]
Characteristics     = 0x84   ; NCF_PHYSICAL + NCF_HAS_UI
BusType             = 15
*IfType         = 6 ;
*MediaType      = NdisMedium802_3;
*PhysicalMediaType = NdisPhysicalMediumUnspecified; 

; NEVER REMOVE THE FOLLOWING REFERENCE FOR NETRNDIS.INF
include             = netrndis.inf
needs               = Usb_Rndis.ndi
AddReg              = Rndis_AddReg_Vista

; DDInstal.Services section
[RNDIS.NT.5.1.Services]
include             = netrndis.inf
needs               = Usb_Rndis.ndi.Services

; Optional registry settings. You can modify as needed.
[RNDIS_AddReg_Vista]
HKR, NDI\params\VistaProperty, ParamDesc,  0, %Vista_Property%
HKR, NDI\params\VistaProperty, type,       0, "edit"
HKR, NDI\params\VistaProperty, LimitText,  0, "12"
HKR, NDI\params\VistaProperty, UpperCase,  0, "1"
HKR, NDI\params\VistaProperty, default,    0, " "
HKR, NDI\params\VistaProperty, optional,   0, "1"

; No sys copyfiles - the sys files are already in-build
; (part of the operating system).
; We do not support XP SP1-, 2003 SP1-, ME, 9x.

[Strings]
Android                 = "Android"
AndroidDevice           = "Android USB Ethernet RNDIS Gadget"
Vista_Property        = "Optional Vista Property"
