;; StMscDrv.inf

;; *********  PLEASE READ ***********
;; The wizard cannot create exact INF files for all buses and device types.
;; You may have to make changes to this file in order to get your device to
;; install. In particular, hardware IDs and logical configurations require
;; intervention.
;;
;; The Win2K DDK documentation contains an excellent INF reference.

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%
DriverVer=10/06/2002, 1.45.2.139
CatalogFile.NT=mscnr.cat 

; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.

Class=Sigmatel_MSCNR
ClassGUID={5C0EB8B2-C111-4021-8754-9686BF2FABB6}

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------

; These sections identify source disks and files for installation.  They are
; shown here as an example, but commented out.

[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles]
mscnr.sys = 1,,

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-53"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
StMscDrv_Files_Driver = 10,System32\Drivers

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=StMscDrv_DDI, USB\VID_066F&PID_8001

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[StMscDrv_DDI]
CopyFiles=StMscDrv_Files_Driver
AddReg=StMscDrv_9X_AddReg

[StMscDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,mscnr.sys

; --------- Windows NT -----------------

[StMscDrv_DDI.NT]
CopyFiles=StMscDrv_Files_Driver
AddReg=StMscDrv_NT_AddReg

[StMscDrv_DDI.NT.Services]
Addservice = mscnr, 0x00000002, StMscDrv_AddService

[StMscDrv_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\mscnr.sys

[StMscDrv_NT_AddReg]


; --------- Files (common) -------------

[StMscDrv_Files_Driver]
mscnr.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
ProviderName="SigmaTel, Inc."
MfgName="SigmaTel"
DeviceDesc="SigmaTel MSCN Audio Player"
DeviceClassName="SigmaTel MSCN Audio Player Class"
SvcDesc="SigmaTel MSCN Audio Player Control Driver"
