Hi,every one:
I write a File System Filter now. The Filter will monitor the FS.
and report what heppen to the the GUI . If I give a call back routine ,
can u call it in Filter in arbitrary context ? Do you have any other
way ?
maile to : peng-314@263.net
Thanks your help !
I am a China. only can speek a little english ,so some thing is wrong
,
I beg you pardon .Thanks again .
Peng Xue Zheng
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
I don’t know if there is some ways to implement it. But always I just use overlapped IO or event.
-Ray Yang
EMail: xxxxx@ybwork.com;xxxxx@yahoo.com
ICQ: 26555015
Homepage: http://www.ybwork.com
I like coding
----- Original Message -----
From:
To: “File Systems Developers”
Sent: Friday, March 09, 2001 12:00 AM
Subject: [ntfsd] How to call User mode in File System ?
> Hi,every one:
> I write a File System Filter now. The Filter will monitor the FS.
> and report what heppen to the the GUI . If I give a call back routine ,
> can u call it in Filter in arbitrary context ? Do you have any other
> way ?
>
> maile to : peng-314@263.net
> Thanks your help !
>
> I am a China. only can speek a little english ,so some thing is wrong
> ,
> I beg you pardon .Thanks again .
>
>
> Peng Xue Zheng
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yahoo.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
?(???.???{&???(??]??,j?m???ɨh??&b???.???????&?v?'??j?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ??v˛??^rLzfެ?
???l??ܢ
A method I use is to create a thread in the user mode app, and get it
to send a DeviceIoctl to the driver. The driver then doesn’t return
from the ioctl (waits on a kernel event) until it want to notify
the user mode app of something. On return the user mode app posts it
off to another thread and then sends another device ioctl to the driver
to wait for the next event. If you want to ensure you don’t miss
anything, you could have multiple user mode threads, or have the driver
store the requests in a queue.
Shaun
Ray Yang wrote:
>I don’t know if there is some ways to implement it. But always I just use
>overlapped IO or event.
>-Ray Yang
>EMail: xxxxx@ybwork.com;xxxxx@yahoo.com
>ICQ: 26555015
>Homepage: http://www.ybwork.com
>I like coding
>----- Original Message -----
>From:
>To: “File Systems Developers”
>Sent: Friday, March 09, 2001 12:00 AM
>Subject: [ntfsd] How to call User mode in File System ?
>
>
>> Hi,every one:
>> I write a File System Filter now. The Filter will monitor the FS.
>> and report what heppen to the the GUI . If I give a call back routine ,
>> can u call it in Filter in arbitrary context ? Do you have any other
>> way ?
>>
>> maile to : peng-314@263.net
>> Thanks your help !
>>
>> I am a China. only can speek a little english ,so some thing is wrong
>> ,
>> I beg you pardon .Thanks again .
>>
>>
>> Peng Xue Zheng
>>
>>
>> —
>> You are currently subscribed to ntfsd as: xxxxx@yahoo.com
>> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>>
>-----Original message-----
>
>-----End of original message from ?@?.?-----
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Another method is by using LPC. The user mode program runs as LPC
server and from kernel mode connect to lpc server and ask it to do
something
— Shaun wrote:
> A method I use is to create a thread in the user mode app, and get it
>
> to send a DeviceIoctl to the driver. The driver then doesn’t return
> from the ioctl (waits on a kernel event) until it want to notify
> the user mode app of something. On return the user mode app posts it
> off to another thread and then sends another device ioctl to the
> driver
> to wait for the next event. If you want to ensure you don’t miss
> anything, you could have multiple user mode threads, or have the
> driver
> store the requests in a queue.
>
> Shaun
>
> Ray Yang wrote:
> >I don’t know if there is some ways to implement it. But always I
> just use
> >overlapped IO or event.
> >-Ray Yang
> >EMail: xxxxx@ybwork.com;xxxxx@yahoo.com
> >ICQ: 26555015
> >Homepage: http://www.ybwork.com
> >I like coding
> >----- Original Message -----
> >From:
> >To: “File Systems Developers”
> >Sent: Friday, March 09, 2001 12:00 AM
> >Subject: [ntfsd] How to call User mode in File System ?
> >
> >
> >> Hi,every one:
> >> I write a File System Filter now. The Filter will monitor the
> FS.
> >> and report what heppen to the the GUI . If I give a call back
> routine ,
> >> can u call it in Filter in arbitrary context ? Do you have any
> other
> >> way ?
> >>
> >> maile to : peng-314@263.net
> >> Thanks your help !
> >>
> >> I am a China. only can speek a little english ,so some thing
> is wrong
> >> ,
> >> I beg you pardon .Thanks again .
> >>
> >>
> >> Peng Xue Zheng
> >>
> >>
> >> —
> >> You are currently subscribed to ntfsd as: xxxxx@yahoo.com
> >> To unsubscribe send a blank email to
> leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >>
> >-----Original message-----
> >
> >-----End of original message from ?@?.?-----
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@yahoo.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail.
http://personal.mail.yahoo.com/
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
I think it should be asymchrone calling from ring 0 to ring 3.
I know there are some example in the MicroSoft DDK examples.
good lucky.
Best Regards
Jansen Zhu.
----- Original Message -----
From: Ray Yang
To: File Systems Developers
Sent: Sunday, March 18, 2001 9:00 PM
Subject: [ntfsd] Re: How to call User mode in File System ?
> I don’t know if there is some ways to implement it. But always I just use overlapped IO or event.
> -Ray Yang
> EMail: xxxxx@ybwork.com;xxxxx@yahoo.com
> ICQ: 26555015
> Homepage: http://www.ybwork.com
> I like coding
> ----- Original Message -----
> From:
> To: “File Systems Developers”
> Sent: Friday, March 09, 2001 12:00 AM
> Subject: [ntfsd] How to call User mode in File System ?
>
>
> > Hi,every one:
> > I write a File System Filter now. The Filter will monitor the FS.
> > and report what heppen to the the GUI . If I give a call back routine ,
> > can u call it in Filter in arbitrary context ? Do you have any other
> > way ?
> >
> > maile to : peng-314@263.net
> > Thanks your help !
> >
> > I am a China. only can speek a little english ,so some thing is wrong
> > ,
> > I beg you pardon .Thanks again .
> >
> >
> > Peng Xue Zheng
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@yahoo.com
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> ???.???{&???]??,j?m???ɨh??&b???.???????v???j?ڞǧ???س??S???ޱ??i?Z?G?j)m?W???~?wW?-??+
b???.???????&?v?'??j?.n?Qyȩf??]?:.?˛???m??֛???zf???%y?ޞ??v˛??^r*Lzfެ?
???l??ܢ