📄 ramdisk.inf
字号:
;; RAMDISK.INF - INF to install RAMDISK device
;; Copyright (c) 2001, zxyzll Software.
;; If someone is interest in its technology,
;; You can send Email to me.
;; My Email:zxyzll@sina.com
[Version]
Signature=$CHICAGO$
Class=hdc
provider=%zxyzll%
;; The RAMDISK is made to look like a hard drive. Consequently, the class
;; is "hdc". The class install section points the section containing
;; Registry entries for the class. On many machines, this is already
;; present.
[ClassInstall]
AddReg=HDC_Class
;; The Manufacturer section names the vendors whose hardware is
;; supported by this file. There is just one vendor in this INF.
[Manufacturer]
%zxyzll%=ZXYZLL_SOFTWARE
;; This is the section for devices provided by the single manufacturer,
;; Vireo Software. The left side of the entry is a string that names
;; the device being installed. The right side of the entry is composed
;; of the install section name for the device, followed by the device
;; ID.
[ZXYZLL_SOFTWARE]
%DeviceName%=ZXYZLL_RAMDISK,VRAMDISK
;; This is the install section section for the RAMDISK device.
[ZXYZLL_RAMDISK]
CopyFiles=RAMDISK.CopyFiles
AddReg=RAMDISK.AddReg
;; The CopyFiles section pointed to by the install section provides
;; the name of the device driver file, which is to be copied from
;; the distribution media to the system.
[RAMDISK.CopyFiles]
ramdisk.pdr
;; This is the AddReg section pointed to by the install section.
;; These entries specify the device driver, the device loader, and
;; the device description.
[RAMDISK.AddReg]
HKR,,DevLoader,0,*IOS
HKR,,PortDriver,0,ramdisk.pdr
HKR,,DontLoadIfConflict,,"Y"
;; This is the AddReg section pointed to by the ClassInstall section.
[HDC_Class]
HKR,,,0,%HDCClassName%
HKR,,Icon,0,-9
;; The SourceDiskNames section specifies the names of the distribution
;; disk(s). This INF has a single distribution disk.
[SourceDisksNames]
1=%DiskName%,,1
;; The SourceDiskFiles section associates files in the distribution
;; with a particular distribution disk(ette). All files in CopyFiles
;; sections must be named in a SourceDiskFiles section.
[SourceDiskFiles]
ramdisk.pdr=1
;; The DestinationDirs section provides a directory to which files
;; will be copied. The left side of the item is the name of a CopyFiles
;; section. The right side is a code that specifies a particular
;; directory, in this case %WINROOT%\system\iosubsys.
[DestinationDirs]
RAMDISK.CopyFiles =12
;; The string section
[Strings]
zxyzll ="zxyzll Software"
DeviceName ="RAMDISK virtual IDE controllers"
HDCClassName ="Hard disk controllers"
DiskName ="zxyzll RAMDISK"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -