📄 stums520.inf
字号:
[Version]
Signature="$CHICAGO$"
Class=HDC
provider=%MSFT%
[Manufacturer]
%MfgName%=Microsoft
[PreCopySection]
HKR,,NoSetupUI,,1
[DestinationDirs]
; \<WINDIR>\SYSTEM32\DRIVERS
stums.files = 10,System32\Drivers
; \<WINDIR>\SYSTEM\IOSUBSYS
stumspdr.files = 12
[Generic.install]
CopyFiles=stums.files, stumspdr.files
AddReg=stums.addreg
[Generic.install.HW]
AddReg=bulkonly.addreg.HW
[stums.addreg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,STUMS.SYS
; If the device does not correctly indicate which protocol it uses,
; one of the following sections should be added to indicate which protocol
; the driver should use.
; Indicate that the device uses the C/B/I protocol
[cbi.addreg.HW]
HKR,,DeviceProtocol,0x10001,00
; Indicate that the device uses the C/B protocol
[cb.addreg.HW]
HKR,,DeviceProtocol,0x10001,01
; Indicate that the device uses the BULK ONLY protocol
[bulkonly.addreg.HW]
HKR,,DeviceProtocol,0x10001,0x50
HKR,,DeviceType,0x10001,0x00
; Install the port driver
[stumspdr.install]
AddReg=stumspdr.addreg
[stumspdr.addreg]
HKR,,DevLoader,,*ios
HKR,,PortDriver,,stumspdr.pdr
[stums.files]
stums.sys
[stumspdr.files]
stumspdr.pdr
[SourceDisksNames]
1000 = %DiskName%,"",,
[SourceDisksFiles]
STUMS.SYS = 1000
STUMSPDR.PDR = 1000
; USBMSC IDs are added below at installation. The section name [Micorsoft] must be the last line in this file.
[Microsoft]
;
%STUMS\Generic.DeviceDesc%=stumspdr.install,STUMS\DISK
%USB\Generic.DeviceDesc%=Generic.install,USB\VID_04E8&PID_501E
[Strings]
MSFT="Microsoft"
MfgName="Microsoft"
;---------------------------------------------------------------;
;
; Translated strings appended here during installation after
; determining default language of the host system.
;
; English
USB\Generic.DeviceDesc="MP3 USB MSC Audio Player"
DiskName="USB Mass Storage Driver"
STUMS\Generic.DeviceDesc="USB Mass Storage Driver"
;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -