I have the following INF file for my Virtial COM Port driver.
[Version]
Signature=$CHICAGO$
Class=Ports
ClassGuid={4D36E978-E325-11CE-BFC1-08002BE10318}
Provider=%MFGNAME%
[Manufacturer]
%MFGNAME%=DeviceList
[DestinationDirs]
DefaultDestDir=10,System32\Drivers
[SourceDisksFiles]
VCOM.sys=1
[DeviceList]
%DESCRIPTION%=DriverInstall,VirtualComPort
; Windows 2000 Sections
[DriverInstall.NT]
CopyFiles=DriverCopyFiles
[DriverCopyFiles]
VCOM.sys,2
[DriverInstall.NT.Services]
AddService=VCOM,2,DriverService
[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\VCOM.sys
[DriverInstall.nt.hw]
AddReg=DriverHwAddReg
[DriverHwAddReg]
; Windows 98 Sections
[DriverInstall]
AddReg=DriverAddReg
CopyFiles=DriverCopyFiles
[DriverAddReg]
HKR,DevLoader,*ntkern
HKR,NTMPDriver,VCOM.sys
[DriverInstall.hw]
AddReg=DriverHwAddReg
; String Definitions
[Strings]
MFGNAME=“MY COMPANY.”
INSTDISK=“Installation Disk”
DESCRIPTION=“Virtual Serial Port”
If Install this in Win 2K system, the driver file VCOM.SYS is not copied to
Driver directory. What is the modification needed for this INF file.
One more thing, How can I do the Unit Test for this Virtual Driver. How can
I load my driver…? Any sample driver loader available…?
Bye
SanWin
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com