?? charsample.inf
字號:
;
; File Name: CharSample.inf
; Install information file for CharSample Driver
;
; Generated by C DriverWizard 3.1.0 (Build 1722)
; Requires DDK Only
; File created on 10/23/2004
;
;--------- Version Section ---------------------------------------------------
[Version]
Signature="$WINDOWS NT$"
Class=CharSample
ClassGUID={FC99F640-AF31-426C-9C04-29E5D676DE1C}
Provider=%Provider%
DriverVer=10/23/2004,1.00.0000
CatalogFile=CharSample.cat
;--------- ClassInstall/ClassInstall32 Section -------------------------------
; Not necessary if using a standard class
; 9X Style
[ClassInstall]
Addreg=CharSampleClassAddReg
; NT Style
[ClassInstall32]
Addreg=CharSampleClassAddReg
[CharSampleClassAddReg]
;reg-root,[subkey],[value-entry-name],[flags],[value]
HKR,,,%REG_SZ%,%DeviceClassName%
HKR,,Icon,,"-18"
HKR,,DeviceCharacteristics,%REG_DWORD%,0x100 ; FILE_DEVICE_SECURE_OPEN
HKR,,Security,,"D:P(A;;GR;;;WD)(A;;GA;;;SY)(A;;GA;;;BA)" ; generic read - everybody
; generic all access - system and admin
;--------- DestinationDirs Section -------------------------------------------
[DestinationDirs]
DefaultDestDir = 10
CharSample_Files_Driver = 12
;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
; These sections identify source disks and files for installation.
[SourceDisksNames]
1 = %DiskId1%,,,""
[SourceDisksFiles]
CharSample.sys = 1,,
;--------- Manufacturer and Models Sections ----------------------------------
[Manufacturer]
%MfgName% = CharSample_Mfg
[CharSample_Mfg]
; DisplayName Section DeviceId
%CharSample_DeviceDesc%=CharSample_DDI, *CharSampleDevice
;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 98 -----------------
; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98
[CharSample_DDI]
CopyFiles=CharSample_Files_Driver
AddReg=CharSample_9X_AddReg
[CharSample_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CharSample.sys
HKR,,Description,,%CharSample_DeviceDesc%
; --------- Windows NT -----------------
[CharSample_DDI.NT]
CopyFiles=CharSample_Files_Driver
[CharSample_DDI.NT.Services]
Addservice = CharSample, %FLG_ADDREG_NOCLOBBER%, CharSample_Service
; --------- Service ----------------------
[CharSample_Service]
DisplayName = %CharSample_SvcDesc%
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_NORMAL%
ServiceBinary = %12%\CharSample.sys
LoadOrderGroup = Extended Base
; --------- Files ----------------------
[CharSample_Files_Driver]
CharSample.sys,,,2
;--------- Strings Section ---------------------------------------------------
[Strings]
Provider = "Legend (Beijing) Limited"
MfgName = "Legend (Beijing) Limited"
CharSample_DeviceDesc = "CharSample Device"
DeviceClassName="Class for CharSample devices"
CharSample_SvcDesc = "Driver for CharSample Device"
DiskId1 = "CharSample Device Installation Disk #1"
REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
REG_NONE = 0x00020001
SERVICE_KERNEL_DRIVER = 0x00000001
SERVICE_FILE_SYSTEM_DRIVER = 0x00000002
SERVICE_ADAPTER = 0x00000004
SERVICE_RECOGNIZER_DRIVER = 0x00000008
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_ERROR_IGNORE = 0x00000000
SERVICE_ERROR_NORMAL = 0x00000001
SERVICE_ERROR_SEVERE = 0x00000002
SERVICE_ERROR_CRITICAL = 0x00000003
FLG_ADDREG_NOCLOBBER = 0x00000002
FLG_ADDREG_DELVAL = 0x00000004
FLG_ADDREG_APPEND = 0x00000008
FLG_ADDREG_KEYONLY = 0x00000010
FLG_ADDREG_OVERWRITEONLY = 0x00000020
FLG_ADDREG_64BITKEY = 0x00001000
FLG_ADDREG_KEYONLY_COMMON = 0x00002000
FLG_ADDREG_32BITKEY = 0x00004000
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -