Discussion:
Call "normal" Dll from UMDF driver +++ Interface to UMDF driver
(too old to reply)
sh192
2010-08-02 10:05:02 UTC
Permalink
Hi,
is it possible, to call a "normal" C-DLL from an UMDF driver?

How may I communicate with an UMDF driver? Is it only possible to use
DeviceIoControls or are there other ways?

Thanks in advice,
sh192
Tim Roberts
2010-08-03 03:20:02 UTC
Permalink
Post by sh192
is it possible, to call a "normal" C-DLL from an UMDF driver?
Certainly. It runs in a perfectly normal user-mode process.
Post by sh192
How may I communicate with an UMDF driver? Is it only possible to use
DeviceIoControls or are there other ways?
Virtually any mechanism you would use to communicate between two ordinary
processes will work in a UMDF driver. What would you LIKE to use?
--
Tim Roberts, ***@probo.com
Providenza & Boekelheide, Inc.
Doron Holan [MSFT]
2010-08-03 22:47:17 UTC
Permalink
typically you should only device io control. other IPC mechanisms are not
tested by the WDF team and we don't know how they will react with the
driver, especially around PnP events like remove

d
Post by sh192
is it possible, to call a "normal" C-DLL from an UMDF driver?
Certainly. It runs in a perfectly normal user-mode process.
Post by sh192
How may I communicate with an UMDF driver? Is it only possible to use
DeviceIoControls or are there other ways?
Virtually any mechanism you would use to communicate between two ordinary
processes will work in a UMDF driver. What would you LIKE to use?
--
Tim Roberts, ***@probo.com
Providenza & Boekelheide, Inc.
Loading...