;--------------------------------------------------------------------------
; rimvndis.INF (WinXP/2003/Vista/2008/Win7)
;
; Copyright (c) 2011 Research In Motion Inc. 
; All rights reserved.
;
;--------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%RIMMfg%
CatalogFile=rimvndisNT.cat         
DriverVer=01/09/2015,1.1.0.18

[Manufacturer]
%RIMMfg%=RIM,NT.6.0,ntamd64,ntamd64.6.0

[DestinationDirs]
DefaultDestDir  = 12

[SourceDisksNames]
1 = %CD_Description%,,,

[SourceDisksFiles]
rimvndis.sys = 1 
rimvndis_AMD64.sys = 1 
rimvndis6.sys = 1
rimvndis6_AMD64.sys = 1

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

;--------------------------------------------------------------------------
;      R I M - R e s e a r c h   I n   M o t i o n
;--------------------------------------------------------------------------
[RIM]
%rimvndis.DeviceDesc%=rimvndis.Device.NT, root\vndis

[RIM.NT.6.0]
%rimvndis.DeviceDesc%=rimvndis.Device.NT.6.0, root\vndis

[RIM.ntamd64]
%rimvndis.DeviceDesc%=rimvndis.Device.ntamd64, root\vndis

[RIM.ntamd64.6.0]
%rimvndis.DeviceDesc%=rimvndis.Device.ntamd64.6.0, root\vndis


;--------------------------------------------------------------------------
;     W i n d o w s   X P / 2 0 0 3 / V i s t a / 2 0 0 8 / 7
;--------------------------------------------------------------------------
[rimvndis.Device.NT]
AddReg    = rimvndis.AddReg, rimvndis.NT.AddReg
CopyFiles = rimvndis.CopyList
Characteristics = 0x1   ; NCF_VIRTUAL + NCF_HAS_UI
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
*IfType = 131 ; IF_TYPE_TUNNEL

[rimvndis.Device.NT.6.0]
AddReg    = rimvndis.AddReg, rimvndis.NT.6.0.AddReg
CopyFiles = rimvndis.CopyList.6.0
Characteristics = 0x1   ; NCF_VIRTUAL + NCF_HAS_UI
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
*IfType = 131 ; IF_TYPE_TUNNEL

[rimvndis.Device.ntamd64]
AddReg    = rimvndis.AddReg, rimvndis.ntamd64.AddReg
CopyFiles = rimvndis.CopyList.amd64
Characteristics = 0x1   ; NCF_VIRTUAL + NCF_HAS_UI
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
*IfType = 131 ; IF_TYPE_TUNNEL

[rimvndis.Device.ntamd64.6.0]
AddReg    = rimvndis.AddReg, rimvndis.ntamd64.6.0.AddReg
CopyFiles = rimvndis.CopyList.amd64.6.0
Characteristics = 0x1   ; NCF_VIRTUAL + NCF_HAS_UI
*MediaType = 0 ; NdisMedium802_3
*PhysicalMediaType = 0 ; NdisPhysicalMediumUnspecified
*IfType = 131 ; IF_TYPE_TUNNEL



;--------------------------------------------------------------------------
;      C o p y F i l e s
;--------------------------------------------------------------------------
[rimvndis.CopyList]
rimvndis.sys

[rimvndis.CopyList.6.0]
rimvndis6.sys

[rimvndis.CopyList.amd64]
rimvndis_AMD64.sys

[rimvndis.CopyList.amd64.6.0]
rimvndis6_AMD64.sys


;--------------------------------------------------------------------------
;      A d d R e g
;--------------------------------------------------------------------------
[rimvndis.AddReg]
HKR,    ,                         DevLoader,   , *ntkern
HKR,    ,                         BusNumber,  0, "0" 
HKR, Ndi,                         Service,    0, "rimvndis"
HKR, Ndi\Interfaces,              UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange, 0, "ethernet"

[rimvndis.NT.AddReg]
HKR,,NTMPDriver,,rimvndis.sys

[rimvndis.NT.6.0.AddReg]
HKR,,NTMPDriver,,rimvndis6.sys
HKR,, *NdisDeviceType, 0x10001, 1 ; NDIS_DEVICE_TYPE_ENDPOINT 

[rimvndis.ntamd64.AddReg]
HKR,,NTMPDriver,,rimvndis_AMD64.sys

[rimvndis.ntamd64.6.0.AddReg]
HKR,,NTMPDriver,,rimvndis6_AMD64.sys
HKR,, *NdisDeviceType, 0x10001, 1 ; NDIS_DEVICE_TYPE_ENDPOINT 

;--------------------------------------------------------------------------
;      S e r v i c e s
;--------------------------------------------------------------------------
[rimvndis.Device.NT.Services]
Addservice = rimvndis, 0x00000002, rimvndis.Device.ServiceInstall

[rimvndis.Device.NT.6.0.Services]
Addservice = rimvndis, 0x00000002, rimvndis.Device.NT.6.0.ServiceInstall

[rimvndis.Device.ntamd64.Services]
Addservice = rimvndis, 0x00000002, rimvndis.Device.ServiceInstall.ntamd64

[rimvndis.Device.ntamd64.6.0.Services]
Addservice = rimvndis, 0x00000002, rimvndis.Device.ServiceInstall.ntamd64.6.0

[rimvndis.Device.ServiceInstall]
DisplayName    = %rimvndis.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\rimvndis.sys
LoadOrderGroup = NDIS

[rimvndis.Device.NT.6.0.ServiceInstall]
DisplayName    = %rimvndis.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\rimvndis6.sys
LoadOrderGroup = NDIS

[rimvndis.Device.ServiceInstall.ntamd64]
DisplayName    = %rimvndis.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\rimvndis_AMD64.sys
LoadOrderGroup = NDIS

[rimvndis.Device.ServiceInstall.ntamd64.6.0]
DisplayName    = %rimvndis.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\rimvndis6_AMD64.sys
LoadOrderGroup = NDIS

[Strings]
RIMMfg            = "Research In Motion"
rimvndis.DeviceDesc = "BlackBerry Virtual Private Network"
CD_Description    = "BlackBerry User Tools CD"
