"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
|