Help me to change the setting for my application

Hi,

I want to do the below things using Nvapi.h interfaces,

I have an application(Example: C:\MyApplication.exe).
I need to change the setting(Open GL compatibility) for my application only.

I could find the sample code for changing the general setting.
But could not find the sample code for changing for a particular application.

If you can provide me the sample code for this, i will be helpful.

Thank you.