LoadKernelLibrary and GetProcAddress


Would it be considered valid to load a dll in kernel mode i.e.LoadKernelLibrary(somedll) followed by GetProcAddess() to obtain the address of function that is exported by the dll?

I tried this and GetProcAddess() fails with GetLastError() of 87 (The Parameter is incorrect).If I do a simple LoadLibrary(somedll) followed by GetProcAddess() for the same function it works.


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!