I want to use a function from nvapi in C# "NvAPI_DRS_EnumProfiles". I have to call QueryInterface(id) with the id of the function. Everything is working fine and i found the ids for the other functions i need on the web, but i can't find the id of this single function, and i don't know how to get it. I tried so many things and even a c-program which print me the memory-address didn't work.
My code looks something like this: http://www.drivenbynostalgia.com/files/SOP.cs
Thank you for your help :)
There is a way to get those IDs. I disassembled the nvapi.lib with the VS dumpbin tool and analysed the result. Here is a full list of current functions and their IDs:
the calling conventions can be found in the nvapi library reference
Hope this helps ;)
Greetings, Nicki