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
Post a Comment