[wdmaudiodev] Calling routines from interrupt...

  • From: Dave Gamble <signalzerodb@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 12 Dec 2003 14:28:10 +0000

Hey,

Writing a USB-MIDI driver (via MME rather than DMus)...

The only real documentation I can find for doing this comes from the 98SDK... in which it states that the modMessage function can get called
at interrupt time... So, it has to be reentrant, but also, has only a restricted set of functions which it can safely call...


But is that /quite/ true...?

I've been led to believe that it's perfectly safe to call some functions other than those listed in the docs (i can provide the list if required).
For instance (and of particular relevance), I'm told that one can call DeviceIOControl in a modMessage function, and no ill will come of it...


If this /is/ true, then can one go the whole way, and use ReadFile and WriteFile within a modMessage routine?

Does anyone have any further information on this?

Cheers!

Dave.

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.de/

Other related posts: