Okay, this is a static linking, but i want a dynamic linking.It is still a dynamic linking but the system does it at driver load time.
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).