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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -