Re: interrupt notification
From: bsqr_TSAT (TSatagaj)
Date: 11/02/04
- Next message: sedgwick: "bootable winCE on CompactFlash"
- Previous message: Alain Roberge: "interrupt notification"
- In reply to: Alain Roberge: "interrupt notification"
- Next in thread: Paul G. Tobey [eMVP]: "Re: interrupt notification"
- Reply: Paul G. Tobey [eMVP]: "Re: interrupt notification"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Nov 2004 07:01:36 -0800
You could have your driver and your apps each create the same named event.
After initializing, your app can WaitForSingleObject() on the event.
When the interrupt occurs, your driver could set the event.
BSQR_TSAT
"Alain Roberge" <floroberge1@hotmail.com> wrote in message
news:ED10FE9E-3591-4D1B-A78E-E15D6D24123D@microsoft.com...
> Hi,
> With WCE 5.0, i created a stream driver for my custom device in our
> platform. This device generates interrupt. I create an IST routine that
> receive the interrupts. All this functionnality work fine. But when an
> interrupt occurs, the responsability of the driver is to notify the
> applications. Depend of reason of the interrupt, the IST must send a
> different notification to the aplpication.
>
> My question is: what is the best method for applications to register to an
> interrupt?
> One method is to pass a handle to a window from my application to the
> driver. The IST can lunch a PostMessage() function to notify application.
> But this method needs a Window!!!
>
> Does anyone have other idea?
> Thank you
> Alain Roberge
>
>
- Next message: sedgwick: "bootable winCE on CompactFlash"
- Previous message: Alain Roberge: "interrupt notification"
- In reply to: Alain Roberge: "interrupt notification"
- Next in thread: Paul G. Tobey [eMVP]: "Re: interrupt notification"
- Reply: Paul G. Tobey [eMVP]: "Re: interrupt notification"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|