;; M3usb.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 Windows DDK documentation contains an excellent INF reference.

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

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%

; 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=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}

;--------- 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]
;M3usb.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,,"-18"

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

[DestinationDirs]
M3usb_Files_Driver = 10,System32\Drivers

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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=M3usb_DDI, USB\VID_0471&PID_0666

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

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

[M3usb_DDI]
CopyFiles=M3usb_Files_Driver
AddReg=M3usb_9X_AddReg

[M3usb_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,M3usb.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

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

[M3usb_DDI.NT]
CopyFiles=M3usb_Files_Driver
AddReg=M3usb_NT_AddReg

[M3usb_DDI.NT.Services]
Addservice = M3usb, 0x00000002, M3usb_AddService

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

[M3usb_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\M3usb\Parameters",\
	"BreakOnEntry", 0x00010001, 0


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

[M3usb_Files_Driver]
M3usb.sys

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

[Strings]
ProviderName="ANYKA"
MfgName="ANYKA"
DeviceDesc="M3CHIP USB"
DeviceClassName="M3CHIP USB"
SvcDesc="M3CHIP USB"
