dynamically linked kernel mode dll?

I read the article about kernel mode dlls:
http://www.osronline.com/article.cfm?id=171

Is there a way to dynamically link kernel mode dlls?

Thanks.

Do you mean link, or dynamically load? There is no equivalent of
LoadLibrary in the kernel. It is possible to write your own, but it is a
PITA. The typical approach is to load a driver with ZwLoadDriver then call
it to get a vector table through an IOCTL. While not as pure as just a
function call it works.


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

“Neil Weicher” wrote in message news:xxxxx@ntfsd…
>I read the article about kernel mode dlls:
> http://www.osronline.com/article.cfm?id=171
>
> Is there a way to dynamically link kernel mode dlls?
>
> Thanks.
>

I saw another article on kernel mode dlls- you may find interesting its about “DLLs in Kernel Mode” by Tim Roberts.

http://www.wd-3.com/archive/KernelDlls.htm