I do appologize in advance for my question, because I couldn't find a related forum with my question!!
I'm writting a program in DDK for secure booting of windows XP.
I use NT-Native functions in kernel mode, but unfortunately there is not any reference or example of using these functions!
I want to load some kernel mode dlls there(such as "hal.dll" in system32 folder) and use of "LDRLoadDLL" function whereas there is no good example of it's usage!
I don't know how should I pass those dlls path address in the first input argument of this function? when I set NULL in it, I get error to load some kernel mode dll (Error such as "File not found" where it succeeds in loading only "ntdll.dll"!) and also I don't know how should be the dll's "path" format in first argument of function?
I've seen ntdll.dll's source code for this function, but the correct format of path is some complex for me!!
Here is the ntdll's source including "LDRLoadDll" function:
I extremely hope you could help me!!!!
Thanks in Advance.