Hi all,
I just wanted to ask for some advise since I am still new in the driver architecture.
I ve created a simple usb driver and now I want to make some of its functionality
available to user mode software applications. (a.k.a create an API).
How does a certain function can be exported (published) to software applications?
And how does a software application accesses the driver’s API?
Can someone give me some general advice on what to read on this issue?
Thanks
Panayiota
First, please don't use html formatting and colors in your postings. People
seem to have problems reading it.
Read about Device Interfaces (IoRegisterDeviceInterface) and IoControl
(IRP_MJ_DEVICE_CONTROL in the kernel and DeviceIoControl for user-mode).
If you have any other question, we'll be there.
Mat
-----Original Message-----
From: Panayiota Bay [mailto:xxxxx@athens.atmel.com]
Sent: Monday, July 07, 2003 5:36 AM
To: NT Developers Interest List
Subject: [ntdev] A beginner's question
?
Hi all,
?
I just wanted to ask for some advise since I am still new in the driver
architecture.
I ve created a simple usb driver and now I want to make some of its
functionality
available to user mode software applications. (a.k.a create an API).
How does a certain function can be exported (published) to software
applications?
And how does a software application accesses the driver's API?
Can someone give me? some general advice on what to read on this issue?
Thanks
?
Panayiota
?
You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Call IoRegisterDeviceInterface and support some IOCTLs.
In user mode, call SetupDiGetClassDevs to find the file name from interface GUID, open this file, then call DeviceIoControl with appropriate IOCTL codes.
Max
----- Original Message -----
From: Panayiota Bay
To: NT Developers Interest List
Sent: Monday, July 07, 2003 1:36 PM
Subject: [ntdev] A beginner’s question
Hi all,
I just wanted to ask for some advise since I am still new in the driver architecture.
I ve created a simple usb driver and now I want to make some of its functionality
available to user mode software applications. (a.k.a create an API).
How does a certain function can be exported (published) to software applications?
And how does a software application accesses the driver’s API?
Can someone give me some general advice on what to read on this issue?
Thanks
Panayiota
You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
I make it a point to ignore and just skip those messages. Maybe he could
just use white on white? His choice is not much better.
“Mathieu Routhier” wrote in message
news:xxxxx@ntdev…
First, please don’t use html formatting and colors in your postings. People
seem to have problems reading it.
Read about Device Interfaces (IoRegisterDeviceInterface) and IoControl
(IRP_MJ_DEVICE_CONTROL in the kernel and DeviceIoControl for user-mode).
If you have any other question, we’ll be there.
Mat
-----Original Message-----
From: Panayiota Bay [mailto:xxxxx@athens.atmel.com]
Sent: Monday, July 07, 2003 5:36 AM
To: NT Developers Interest List
Subject: [ntdev] A beginner’s question
Hi all,
I just wanted to ask for some advise since I am still new in the driver
architecture.
I ve created a simple usb driver and now I want to make some of its
functionality
available to user mode software applications. (a.k.a create an API).
How does a certain function can be exported (published) to software
applications?
And how does a software application accesses the driver’s API?
Can someone give me some general advice on what to read on this issue?
Thanks
Panayiota
—
You are currently subscribed to ntdev as: xxxxx@guillemot.com
To unsubscribe send a blank email to xxxxx@lists.osr.com