Valhalla Legends Forums Archive | Fun Forum™ | An alternative to disassembling when reverse-engineering

AuthorMessageTime
Adron
"jun" <xj137@hotmail.com> wrote in message
news:u5AVJMoqDHA.2440@TK2MSFTNGP10.phx.gbl...
> I want to write a application on a serial device in Win2000, and the
device
> has a driver, but I don't know how to use this driver in my application;By
> the way,I want to know how the serial device and it's driver and Win2000
> work together.Can Win2000 recognized the serial device and it's driver,if
> so,how?and when(when Win2000 starting)?

All versions of windows have a driver called SERENUM that will read the PnP
id from an attached device using an obscure protocol.

Most drivers support an interface that uses CreateFile, ReadFile, WriteFile,
and/or DeviceIoControl. You can apply either of these general strategies to
learn what you need to know:

Plan A: By means of a prodigious feat of mentation, possibly involving
telepathic contact with the author of the driver, deduce the correct
interface.

Plan B: Obtain documentation from the hardware vendor about how to use their
driver.


--

---
Walter Oney
Training and Consulting
http://www.oneysoft.com

November 17, 2003, 5:28 PM
iago
I'd go with plan A, but first I would need either a cell from their body (either from a hair follicle or a sample of their blood) to use for my witchcraft.
November 17, 2003, 6:32 PM
Hostile
[quote author=iago link=board=4;threadid=3669;start=0#msg29705 date=1069093926]
I'd go with plan A, but first I would need either a cell from their body (either from a hair follicle or a sample of their blood) to use for my witchcraft.
[/quote]

iago, you're really out of date. Should go get Teach Yourself Telepathy in 21 Days from your local book store.
November 19, 2003, 11:48 PM

Search