[wdmaudiodev] Re: Developing a "simple" user mode installable MIDI driver.
- From: "Chris Hubbard" <chris@xxxxxxxxxxxxxxxxx>
- To: <wdmaudiodev@xxxxxxxxxxxxx>
- Date: Thu, 14 Jun 2018 10:30:47 +1000
Hi Tim,
Thank you for your explanation.
Since the driver ceases to exist, there's no real need for the unload calls
anyway.
Kind Regards,
Chris Hubbard,
CH Sound Design.
www.chsounddesign.com
Sent from my abacus.
-----Original Message-----
From: Tim Roberts
Sent: Thursday, June 14, 2018 3:16 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Developing a "simple" user mode installable MIDI
driver.
Chris Hubbard wrote:
My driver now seems to working quite nicely, but I have noticed the
following:
Whenever any MIDI based application starts, calls are made to
DriverProc for "load", "enable" and "open".
However, no calls ever seem to be made to DriverProc for "close",
"disable" or "unload".
In other words, once started, the driver stays there until the next
reboot.
Well, not exactly. Your "driver" is an ordinary DLL that gets loaded
into the application's process space. When the application terminates,
your DLL will cease to exist. I'm surprised you don't see "close" and
"unload" calls, but since the whole installable driver subsystem is no
longer supported, there's nowhere to complain.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
******************
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.com/
******************
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.com/
Other related posts: