Dear All,
I'm using bt848 WDM stream minidriver (if you need this driver you can find
it at sourgeforce).

It is a stream minidriver and in the DriverEntry it obviously uses
StreamClassRegisterAdapter funcion.

My problem is :
How to send/receive data to/from user application ?
With "normal" WDM driver I use IOCTLs but in this driver there is no dispath
function and
in the application there is no CreateFile and DeviceIoControl (I found an
application to use this
driver at sourgeforce).

Is there another way to exchange data with driver ?
I need to send an event handle to the driver so every time the driver
receive
and interrupt I signal an user event and application start working (this
works
fine with normal WDM drivers).

Thank you very much,
Blu.

Re: stream minidriver (bt848) and IOCTL by Francois

Francois
Fri Jun 25 02:42:57 CDT 2004

You've to use the Kernel Streaming properties, methods and events Sets to
communicate with your Stream Class driver from a user mode application. You
should be able to define custom ones if needed.
This is documented in the DDK.

Francois



"blu" <b.lu@fastwebnet.it> a écrit dans le message de
news:OBFbMHcWEHA.2816@TK2MSFTNGP11.phx.gbl...
> Dear All,
> I'm using bt848 WDM stream minidriver (if you need this driver you can
find
> it at sourgeforce).
>
> It is a stream minidriver and in the DriverEntry it obviously uses
> StreamClassRegisterAdapter funcion.
>
> My problem is :
> How to send/receive data to/from user application ?
> With "normal" WDM driver I use IOCTLs but in this driver there is no
dispath
> function and
> in the application there is no CreateFile and DeviceIoControl (I found an
> application to use this
> driver at sourgeforce).
>
> Is there another way to exchange data with driver ?
> I need to send an event handle to the driver so every time the driver
> receive
> and interrupt I signal an user event and application start working (this
> works
> fine with normal WDM drivers).
>
> Thank you very much,
> Blu.
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004