;
; NV Display INF file
;

[Version]
Signature="$Windows NT$"
Provider=%NVidia%
Class=Display

;
; Dest directories are \windows\system32 and \windows\system32\drivers
;

[DestinationDirs]
DefaultDestDir       = 11
nv4.Miniport      = 12
nv.Display       = 11
nv.rm            = 12
nv.oldrm         = 12

;
; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box. DEVICE sections are specified.
;

[Manufacturer]
%NVidia%      = NVidia.Mfg

;
; Device section. Each section here corresponds with an entry listed in the
; [Manufacturer] section, above. The models will be displayed in the order
; that they appear in the INF file. This section identifies
; the corresponding INSTALL sections.
;


[NVidia.Mfg]
%NVidia.Nv4% = nv4, PCI\VEN_10DE&DEV_0020
%NVidia.Nv5% = nv4, PCI\VEN_10DE&DEV_0028

;---------------------------------------------------------------------
; NV Driver INSTALL Section. This INSTALL section specifies
; what files are to to be copied (File List sections)
;---------------------------------------------------------------------

[nv4]
CopyFiles=nv4.Miniport, nv.Display, nv4.icd
DelFiles=nv.oldrm

;
; NV Driver INSTALL Section. This INSTALL section specifies
; what registry fields are to be modified (ADD Registry section)
;

[nv4.SoftwareSettings]
AddReg = nv_SoftwareDeviceSettings
AddReg = nv4_icdSoftwareSettings

;
; NV Service Installation
;

[nv4.Services]
AddService = nv4, 0x00000002, nv4_Generic_Service_Inst, nv4_EventLog_Inst
DelService=nvarch
DelService=nvgfx


[nv4_EventLog_Inst]
AddReg = nv4_EventLog_AddReg

[nv4_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\nv4_mini.sys"
HKR,,TypesSupported,0x00010001,7

[nv4_Generic_Service_Inst]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 1                  ; SERVICE_SYSTEM_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Video
ServiceBinary  = %12%\nv4_mini.sys

;
; File List sections for NV.Display and NV.Miniport
;

[nv.Display]
nv4_disp.dll

[nv4.Miniport]
nv4_mini.sys

[nv.oldrm]
nvarch.sys,0x00000001
nvgfx.sys,0x00000001

[nv4.icd]
nv4oglnt.dll


;
; NVidia Add registry section
;

[nv_SoftwareDeviceSettings]
HKR,, InstalledDisplayDrivers,     %REG_MULTI_SZ%, nv4_disp
HKR,, VgaCompatible,               %REG_DWORD%,    0


[nv4_icdSoftwareSettings]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers",RIVATNT, %REG_SZ%, nv4oglnt

[Strings]
;
; Non-Localizable Strings
;

REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001
serviceroot    = System\CurrentControlSet\Services

;
; Localizable Strings
;

NVidia       = "NVidia"
NVidia.Nv4 = "NVidia Riva TNT"
NVidia.Nv5 = "NVidia Riva TNT2"
DiskId="NVidia NT Driver Library installation disk"
drvlib="NVidia NT Driver Library"
