d9054.inf

来自「一个在ddk环境下编的plx9054的驱动程序」· INF 代码 · 共 111 行

INF
111
字号
;; D9054.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$"

; 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=pci9054 card
ClassGUID={045A5AD9-3BC7-4a36-AE4C-98F876824897}

Provider=%ProviderName%


;--------- 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]
;D9054.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]
D9054_Files_Driver = 10,System32\Drivers

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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]

; PCI hardware IDs use the form
;   PCI\VEN_aaaa&DEV_bbbb&SUBSYS_cccccccc&REV_dd
;
%DeviceDesc%=D9054_DDI, PCI\VEN_10B5&DEV_9054&SUBSYS_905410b5&REV_0b

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

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

[D9054_DDI]
CopyFiles=D9054_Files_Driver
AddReg=D9054_9X_AddReg

[D9054_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,D9054.sys
; --------- Windows NT -----------------

[D9054_DDI.NT]
CopyFiles=D9054_Files_Driver

[D9054_DDI.NT.Services]
Addservice = D9054, 0x00000002, D9054_AddService

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



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

[D9054_Files_Driver]
D9054.sys

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

[Strings]
ProviderName="xxgcdx"
MfgName="xxxxxx "
DeviceDesc="9054 card "
DeviceClassName="card "
SvcDesc="Description of D9054 NT service here"

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?