How to design a non-stream interface for a usb device driver?
- From: "Michael" <person_xxxx@xxxxxxxx>
- Date: 3 Nov 2006 11:44:02 -0800
Hi there,
I face the question how to design an interface for a security usb
device. The usb communication between driver and usb device works fine.
Now it's the question how to access the driver from application level.
A stream interface (read, write,open,close etc.) is the standard. But
as the device shall only be accessed by my own library (no access from
other directly to to driver), I would like to have an own, not standard
interface, that is not listed with its device name like HID1: or so .
The ddk docs explicit say that that is possible - but not how. The
question is how to get a handle to the driver dll after USBDeviceAttach
has loaded the driver ? I assume that LoadDriver() is not the right
thing as it is already loaded by USBD and confirmed by USBDeviceAttach
returns TRUE.
OS is Wince 4.2 .net
Any suggestions?
Michael
.
- Prev by Date: Re: How to use 802.1x Authentication for *WIRED* LAN in WinCE?
- Next by Date: a question from a job interview
- Previous by thread: IR Remote for WIN CE
- Next by thread: a question from a job interview
- Index(es):
Relevant Pages
|