Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

110 lines
3.2 KiB

;cyyport.inf
;Copyright (c) 2000-2001 Cyclades Corporation
[version]
Signature = "$Windows NT$"
Class = Ports
ClassGUID = {4d36e978-e325-11ce-bfc1-08002be10318}
Provider = %Cyclades%
LayoutFile = layout.inf
DriverVer = 12/12/2001,1.0.25.0
[DestinationDirs]
system_dir = 11 ; %windir%\system32
driver_dir = 12 ; %windir%\system32\drivers
[Manufacturer]
%Cyclades% = Cyclades
[Cyclades]
; DisplayName Section DeviceID
; ----------- ------- --------
%CyclomyPort1% = y_inst.nt, Cyclom-Y\Port1
%CyclomyPort2% = y_inst.nt, Cyclom-Y\Port2
%CyclomyPort3% = y_inst.nt, Cyclom-Y\Port3
%CyclomyPort4% = y_inst.nt, Cyclom-Y\Port4
%CyclomyPort5% = y_inst.nt, Cyclom-Y\Port5
%CyclomyPort6% = y_inst.nt, Cyclom-Y\Port6
%CyclomyPort7% = y_inst.nt, Cyclom-Y\Port7
%CyclomyPort8% = y_inst.nt, Cyclom-Y\Port8
%CyclomyPort9% = y_inst.nt, Cyclom-Y\Port9
%CyclomyPort10% = y_inst.nt, Cyclom-Y\Port10
%CyclomyPort11% = y_inst.nt, Cyclom-Y\Port11
%CyclomyPort12% = y_inst.nt, Cyclom-Y\Port12
%CyclomyPort13% = y_inst.nt, Cyclom-Y\Port13
%CyclomyPort14% = y_inst.nt, Cyclom-Y\Port14
%CyclomyPort15% = y_inst.nt, Cyclom-Y\Port15
%CyclomyPort16% = y_inst.nt, Cyclom-Y\Port16
%CyclomyPort17% = y_inst.nt, Cyclom-Y\Port17
%CyclomyPort18% = y_inst.nt, Cyclom-Y\Port18
%CyclomyPort19% = y_inst.nt, Cyclom-Y\Port19
%CyclomyPort20% = y_inst.nt, Cyclom-Y\Port20
%CyclomyPort21% = y_inst.nt, Cyclom-Y\Port21
%CyclomyPort22% = y_inst.nt, Cyclom-Y\Port22
%CyclomyPort23% = y_inst.nt, Cyclom-Y\Port23
%CyclomyPort24% = y_inst.nt, Cyclom-Y\Port24
%CyclomyPort25% = y_inst.nt, Cyclom-Y\Port25
%CyclomyPort26% = y_inst.nt, Cyclom-Y\Port26
%CyclomyPort27% = y_inst.nt, Cyclom-Y\Port27
%CyclomyPort28% = y_inst.nt, Cyclom-Y\Port28
%CyclomyPort29% = y_inst.nt, Cyclom-Y\Port29
%CyclomyPort30% = y_inst.nt, Cyclom-Y\Port30
%CyclomyPort31% = y_inst.nt, Cyclom-Y\Port31
%CyclomyPort32% = y_inst.nt, Cyclom-Y\Port32
[ControlFlags]
ExcludeFromSelect = *
;-----------------------------------------------
; y_inst.nt section
;-----------------------------------------------
[y_inst.nt]
CopyFiles = driver_dir
AddReg = y_reg
[y_inst.nt.HW]
AddReg = y_HW_reg
[y_inst.nt.Services]
AddService = cyyport, 0x00000002, y_service_inst, y_eventlog_inst
[y_inst.nt.CoInstallers]
CopyFiles = system_dir
AddReg = y_coinst_reg
;-----------------------------------------------
[y_reg]
HKR,,EnumPropPages32,,"MsPorts.dll,SerialPortPropPageProvider"
HKR,,EnumAdvancedDialog,,"CyyPorts.dll,CyyportAdvancedDialog"
[y_HW_reg]
HKR,,"UpperFilters",0x00010000,"serenum"
[y_service_inst]
DisplayName = %Y_Service_DispName%
ServiceType = 1 ;SERVICE_KERNEL_DRIVER
StartType = 3 ;SERVICE_DEMAND_START
ErrorControl = 1 ;SERVICE_ERROR_NORMAL
ServiceBinary = %12%\cyyport.sys
LoadOrderGroup = ExtendedBase
[y_eventlog_inst]
AddReg = y_eventlog_reg
[y_eventlog_reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\cyyport.sys"
HKR,, TypesSupported, 0x00010001, 7
[y_coinst_reg]
HKR,,CoInstallers32,0x00010000,"cyyports.dll,CyyportCoInstaller"
[driver_dir]
cyyport.sys
[system_dir]
cyyports.dll