From: Kid on 11 May 2010 03:42 I have learned OpenSCManager can install and load a sys file without a device and Pnp hardware ID, does this way differ from a virtual driver ? I can add kernel mode IO control and kernel mode access function in this driver. Is there any reference about WDM virtual device driver ? I would like to learn how to implement USB2COM or other interface but I do not know where can find some good document or sample , and how a app can create a virtual device node . Thank for your kind teaching .
From: Don Burn on 11 May 2010 07:49 The Service Control Manager interface can install a legacy device driver this is one without PnP or Power and since XP onwards does not support hardware. If you want to install a driver that needs any of the PnP, Power or hardware you are going to need to look at the Devcon source code in the WDK. Note you talk about WDM, except for rare cases it is better these days to plan to use KMDF. Don Burn (MVP, Windows DKD) Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr > -----Original Message----- > From: Kid [mailto:Kid(a)discussions.microsoft.com] > Posted At: Tuesday, May 11, 2010 3:42 AM > Posted To: microsoft.public.development.device.drivers > Conversation: windows service and virtual driver > Subject: windows service and virtual driver > > I have learned OpenSCManager can install and load a sys file without a > device > and Pnp hardware ID, does this way differ from a virtual driver ? I > can add > kernel mode IO control and kernel mode access function in this driver. > > Is there any reference about WDM virtual device driver ? I would like > to > learn how to implement USB2COM or other interface but I do not know > where can > find some good document or sample , and how a app can create a virtual > device > node . > > Thank for your kind teaching . > > > __________ Information from ESET Smart Security, version of virus > signature > database 5104 (20100511) __________ > > The message was checked by ESET Smart Security. > > http://www.eset.com >
From: Pavel A. on 11 May 2010 20:20 "Kid" <Kid(a)discussions.microsoft.com> wrote in message news:F2AEB1E7-1657-4C52-8533-234BB0677E2E(a)microsoft.com... > I have learned OpenSCManager can install and load a sys file without a > device Learn again. OpenSCManager returns a handle for calling other SCM functions. To load a legacy (non PnP) driver, call StartService(). To install a legacy driver, call CreateService(). > and Pnp hardware ID, does this way differ from a virtual driver ? I can > add > kernel mode IO control and kernel mode access function in this driver. > > Is there any reference about WDM virtual device driver ? I would like to > learn how to implement USB2COM or other interface but I do not know where > can > find some good document or sample What is USB2COM? If you mean a USB to serial adapter, just get one in a computer store near you, and study the included driver. > and how a app can create a virtual device > node . Windows is not Linux. In Windows, apps do not create device nodes (exception is of one special program, devcon.exe, that can be found in the WDK samples - but it won't help with "USB2COM" ). Good luck, -- pa
|
Pages: 1 Prev: installing a ramdisk device Next: Yes: checked the MSDN - Inf added |