From: "Tony Mason" <mason@osr.com>
Newsgroups: comp.os.ms-windows.programmer.nt.kernel-mode
References: <347f67f4.887756@news.erg.cuhk.edu.hk>
Subject: Re: Kernel Mode DLL?
Date: Sun, 7 Dec 1997 15:45:48 -0500
Lines: 25
Organization: OSR Open Systems Resources, Inc.
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
NNTP-Posting-Host: feanor.osr.com
Message-ID: <348b0afc.0@news.osr.com>
Path: news.mitre.org!blanket.mitre.org!news.tufts.edu!cam-news-feed5.bbnplanet.com!cam-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!206.1.179.76!newsrouter.icnc.com!psinntp!news.osr.com!feanor.osr.com

demo wrote in message <347f67f4.887756@news.erg.cuhk.edu.hk>...
>Is it possible for a NT kernel mode device driver to load DLL?
>If the answer is yes, how do I write one?
>
>vincent

In fact, this is a standard build option.  Instead of declaring the image to
be a driver (and in the kernel, essentially everything is a driver) you
declare it to be an export_driver.  The best place to look for information
about this, and all other undocumented build options is in the makefile
itself (\ddk\inc\makefile.def)
You declare export entry points in the normal way (either using a def file
or via the appropriate declexport directives.)


Regards,

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
mason@osr.com
http://www.osr.com