Hi all, i was writing a kernel mode driver in Windows and was in need of reading certain informations from an ini file.

In usermode applications, i am using the GetProfileString Windows API to read from sections in a ini file. But, i dont believe that i can call this from lower level code. I searched MSDN, Binged a lot and Googled, but no results found about kernel mode equivalent of GetProfileString.

I know about Zwxxx API's for file operations in kernel mode, but they wont serve for my use. I will be greatful if somebody help me out by pointing the right API.

Thanks in Advance