When Interrupt arrives How do I inform To My Vc Application .....

HI all,

Using DDK for Nt4.0…

I wanted to read a Data from my device at the moment interrupt arrives and
should get displayed in the Application…

Cld any one suggest the Methods should i follow

Thanks well,in advance…

Sundar…


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

you should use event that shared between the driver and the application.
but note that the event should be triggered in the driver outside the interrupt funtion, so you should use deffered procedure call to set the even there.

if u need more help plz tell

bye

hesham
----- Original Message -----
From: Somasundaram
To: NT Developers Interest List
Sent: Thursday, September 06, 2001 8:05 AM
Subject: [ntdev] When Interrupt arrives How do I inform To My Vc Application …

HI all,

Using DDK for Nt4.0…

I wanted to read a Data from my device at the moment interrupt arrives and
should get displayed in the Application…

Cld any one suggest the Methods should i follow

Thanks well,in advance…

Sundar…


You are currently subscribed to ntdev as: xxxxx@yahoo.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Schedule a DPC from your ISR and complete some IRP from it.

----- Original Message -----
From: Somasundaram
To: NT Developers Interest List
Sent: Thursday, September 06, 2001 9:05 AM
Subject: [ntdev] When Interrupt arrives How do I inform To My Vc Application …

HI all,

Using DDK for Nt4.0…

I wanted to read a Data from my device at the moment interrupt arrives and
should get displayed in the Application…

Cld any one suggest the Methods should i follow

Thanks well,in advance…

Sundar…


You are currently subscribed to ntdev as: xxxxx@storagecraft.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Hi,

Use named event for the communication between the
driver and the application, the ISR (Or a DPC) will
set the event and later the application can really
perform an IOCTL to get the data.

Another approach could be that the application will
always have an outstanding request to the driver and
the DPC scheduled in the ISR will complete this
request giving back the data (got in the ISR) to the
application.

Cheers,
Jay


Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com