Ask your beginner questions here.
It is still a dynamic linking but the system does it at driver load time.Okay, this is a static linking, but i want a dynamic linking.
As far as I know, there is nothing like GetProcAddress in kernel. However, this is not a big issue, since you can find exported functions manually (or find a code that does that).
Absence of LoadLibrary is a bigger issue. You can also load your DLL manually but the consequences might not be desirable for your case:
* the system does not know about the loaded DLL which restricts it from using some APIs (notify routines, registry callbacks, DPCs...) or makes their usage quite difficult,
* other drivers won't see the loaded DLL,
* you must be very careful since somebody can modify your DLL (if it is stored on disk).
- Global Moderator
- Posts: 4872
- Joined: Sun Mar 07, 2010 5:35 am
- Location: Russian Federation
This feature is not for general usage. What do you want to do and why you need this dlls in kernel mode, is a top and priority question.
Ring0 - the source of inspiration