How to change the resolution of the application in full screen without affecting the resolution of the Windows desktop?

Which APIs are responsible for this?