;************************************************************************************************
;
; Name		: SKTNdis.inf
;
; Function	: Install Install SK Telecom USB Ndis Adpater on Windows 2000/XP/Vista/7 (x86/x64)
;
; Copyright (c) SK Telecom, 2007-2009. All rights reserved.
;
;************************************************************************************************


[Version]
Signature="$Windows NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
DriverVer = 01/19/2010,3.0.1.0
CatalogFile=uniserv.cat

[SourceDisksNames.x86]
1=%DiskString%,,,\x86

[SourceDisksNames.amd64]
1=%DiskString%,,,\x64

[SourceDisksFiles]
SKTNdis.sys = 1

[DestinationDirs]
DefaultDestDir = 10, System32\Drivers

[Manufacturer]
%MfgName%=SKT,NTx86,NTamd64

[SKT]
%SKTT.Ndis.Desc%=SKTDriverInstall, USB\VID_10A9&PID_FE01&Mi_04
%P&C.Ndis.Desc%=SKTDriverInstall, USB\VID_106C&PID_FE01&Mi_04
%LG.Ndis.Desc%=SKTDriverInstall, USB\VID_1004&PID_FE01&Mi_04
%Motorola.Ndis.Desc%=SKTDriverInstall, USB\VID_22B8&PID_FE01&Mi_04
%VK.Ndis.Desc%=SKTDriverInstall, USB\VID_05c6&PID_FE01&Mi_04	
%SAMSUNG.Ndis.Desc%=SKTDriverInstall, USB\VID_04E8&PID_FE01&Mi_04	
%CMOTECH.Ndis.Desc%=SKTDriverInstall, USB\VID_16D8&PID_FE01&Mi_04
%SKTelesys.Ndis.Desc%=SKTDriverInstall, USB\VID_1F53&PID_FE01&Mi_04

[SKT.NTx86]
%SKTT.Ndis.Desc%=SKTDriverInstall, USB\VID_10A9&PID_FE01&Mi_04
%P&C.Ndis.Desc%=SKTDriverInstall, USB\VID_106C&PID_FE01&Mi_04
%LG.Ndis.Desc%=SKTDriverInstall, USB\VID_1004&PID_FE01&Mi_04
%Motorola.Ndis.Desc%=SKTDriverInstall, USB\VID_22B8&PID_FE01&Mi_04
%VK.Ndis.Desc%=SKTDriverInstall, USB\VID_05c6&PID_FE01&Mi_04	
%SAMSUNG.Ndis.Desc%=SKTDriverInstall, USB\VID_04E8&PID_FE01&Mi_04	
%CMOTECH.Ndis.Desc%=SKTDriverInstall, USB\VID_16D8&PID_FE01&Mi_04
%SKTelesys.Ndis.Desc%=SKTDriverInstall, USB\VID_1F53&PID_FE01&Mi_04

[SKT.NTamd64]
%SKTT.Ndis.Desc%=SKTDriverInstall, USB\VID_10A9&PID_FE01&Mi_04
%P&C.Ndis.Desc%=SKTDriverInstall, USB\VID_106C&PID_FE01&Mi_04
%LG.Ndis.Desc%=SKTDriverInstall, USB\VID_1004&PID_FE01&Mi_04
%Motorola.Ndis.Desc%=SKTDriverInstall, USB\VID_22B8&PID_FE01&Mi_04
%VK.Ndis.Desc%=SKTDriverInstall, USB\VID_05c6&PID_FE01&Mi_04	
%SAMSUNG.Ndis.Desc%=SKTDriverInstall, USB\VID_04E8&PID_FE01&Mi_04	
%CMOTECH.Ndis.Desc%=SKTDriverInstall, USB\VID_16D8&PID_FE01&Mi_04
%SKTelesys.Ndis.Desc%=SKTDriverInstall, USB\VID_1F53&PID_FE01&Mi_04

[SKTDriverInstall]
Characteristics = 0x81          ; NCF_HAS_UI & NCF_VIRTUAL
AddReg	= SKTDriverInstall.Addreg
CopyFiles	= @SKTNdis.sys

[SKTDriverInstall.Addreg]
HKR, Ndi, Service, 0, "SKTNdis"
HKR, Ndi\Interfaces, UpperRange, 0, "ndis5"
HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"

[SKTDriverInstall.Services]
Addservice = SKTNdis, %FLG_ADDREG_NOCLOBBER%, SKTDriverInstall.AddService, SKTDriverInstall.EventLog

[SKTDriverInstall.AddService]
DisplayName	= %SKT.Service.Name%
Description	= %SKT.Service.Desc%
ServiceType	= 1			;%SERVICE_KERNEL_DRIVER%
StartType	= 3			;%SERVICE_DEMAND_START%
ErrorControl	= 1			;%SERVICE_ERROR_NORMAL%	
ServiceBinary  = %10%\System32\Drivers\SKTNdis.sys
LoadOrderGroup = NDIS

[SKTDriverInstall.EventLog]
AddReg = SKTDriverInstall.EventLog.AddReg

[SKTDriverInstall.EventLog.AddReg]
HKR, , EventMessageFile, 0x00020000, "%12%\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

[Strings]
Provider="Ubipartner, Inc"
MfgName="Ubipartner, Inc"

SKT.Service.Name = "SK Telecom USB NDIS Adapter Support"
SKT.Service.Desc = "SK Telecom USB NDIS Adapter Support"

SKT.Ndis.Desc		= "SK Telecom USB NDIS Adapter"
SKTT.Ndis.Desc		= "SK Telecom USB NDIS Adapter (SKY)"
P&C.Ndis.Desc		= "SK Telecom USB NDIS Adapter (CURITEL)"
LG.Ndis.Desc		= "SK Telecom USB NDIS Adapter (CYON)"
Motorola.Ndis.Desc	= "SK Telecom USB NDIS Adapter (MOTOROLA)"
VK.Ndis.Desc		= "SK Telecom USB NDIS Adapter (VK Mobile)"
SAMSUNG.Ndis.Desc	= "SK Telecom USB NDIS Adapter (Anycall)"
CMOTECH.Ndis.Desc	= "SK Telecom USB NDIS Adapter (CMOTECH)"
SKTelesys.Ndis.Desc	= "SK Telecom USB NDIS Adapter (SK Telesys)"

DiskString = "SK Telecom USB NDIS Adapter Driver installation Disk"
NetworkAddress = "Network Address (MAC)"

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

SERVICE_KERNEL_DRIVER       = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER  = 0x00000002
SERVICE_ADAPTER             = 0x00000004
SERVICE_RECOGNIZER_DRIVER   = 0x00000008

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

SERVICE_ERROR_IGNORE        = 0x00000000
SERVICE_ERROR_NORMAL        = 0x00000001
SERVICE_ERROR_SEVERE        = 0x00000002
SERVICE_ERROR_CRITICAL      = 0x00000003

FLG_ADDREG_NOCLOBBER        = 0x00000002
FLG_ADDREG_DELVAL           = 0x00000004
FLG_ADDREG_APPEND           = 0x00000008
FLG_ADDREG_KEYONLY          = 0x00000010
FLG_ADDREG_OVERWRITEONLY    = 0x00000020
FLG_ADDREG_64BITKEY         = 0x00001000
FLG_ADDREG_KEYONLY_COMMON   = 0x00002000
FLG_ADDREG_32BITKEY         = 0x00004000