;; Hiptop.inf
;;
;; Copyright (c) 2007, Danger, Inc.
;;

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

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%
DriverVer=04/12/2007, 1.2.0

; 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=Danger
ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}

INCLUDE = usb.inf

NEEDS = Composite.Dev

;--------- 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 = "Danger Install Disk","",1

[SourceDisksFiles]
Hiptop.sys = 1

[PreCopySection]
HKR,,NoSetupUI,,1

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

[DestinationDirs]
Hiptop_Files_Driver = 10,System32\Drivers

;--------- 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,,-5


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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]

%DeviceDesc%=Hiptop_DDI, USB\VID_0DA0&PID_1000

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

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

[Hiptop_DDI]
CopyFiles=Hiptop_Files_Driver
AddReg=Hiptop_9X_AddReg

[Hiptop_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Hiptop.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

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

[Hiptop_DDI.NT]
CopyFiles=Hiptop_Files_Driver
AddReg=Hiptop_NT_AddReg

[Hiptop_DDI.NT.Services]
Addservice = Hiptop, 0x00000002, Hiptop_AddService

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

[Hiptop_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\Hiptop\Parameters",\
	"BreakOnEntry", 0x00010001, 0


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

[Hiptop_Files_Driver]
Hiptop.sys

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

[Strings]
ProviderName="Danger"
MfgName="Danger"
DeviceDesc="Hiptop"
DeviceClassName="Danger"
SvcDesc="Hiptop"