c# - Prevent application from changing desktop resolution -


so have old game client annoyingly takes upon change desktop resolution cater 1600x900 resolution achieve full screen, i'm trying figure out how stop happening.

i imagine it's calling changedisplaysettings() in user32.dll, if possible block specific dll calls, or perhaps easier way?

thanks in advance.

edit: should add game client not own have no direct control on it's doing.

i have managed breakpoint before changedisplaysettingsa() call , modify lpdevmode parameters achieve want, need figure out how programmatically.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -