Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > windows service and virtual driver

Reply
Thread Tools Display Modes

windows service and virtual driver

 
 
Kid
Guest
Posts: n/a

 
      05-11-2010
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 .
 
Reply With Quote
 
 
 
 
Pavel A.
Guest
Posts: n/a

 
      05-12-2010
"Kid" <> wrote in message
news:F2AEB1E7-1657-4C52-8533-...
> 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


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updates were unable to be successfully installed wjousts Windows Update 6 01-30-2010 04:01 PM
Game Compatibility BCurrey Windows Vista Games 6 11-29-2007 08:11 PM
cannot install Vista ACPI error Salsakidd Windows Vista Installation 6 10-10-2007 10:12 AM
Going Golfing but not with Vista markbyrn Windows Vista Games 15 03-08-2007 10:59 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59