namespace Vanara.PInvoke { /// /// Indicates a spoofed device scale factor, as a percent. Used by IApplicationDesignModeSettings::SetApplicationViewState and IApplicationDesignModeSettings::IsApplicationViewStateSupported /// // https://docs.microsoft.com/en-us/windows/win32/api/shtypes/ne-shtypes-device_scale_factor typedef enum DEVICE_SCALE_FACTOR { // DEVICE_SCALE_FACTOR_INVALID, SCALE_100_PERCENT, SCALE_120_PERCENT, SCALE_125_PERCENT, SCALE_140_PERCENT, SCALE_150_PERCENT, // SCALE_160_PERCENT, SCALE_175_PERCENT, SCALE_180_PERCENT, SCALE_200_PERCENT, SCALE_225_PERCENT, SCALE_250_PERCENT, SCALE_300_PERCENT, // SCALE_350_PERCENT, SCALE_400_PERCENT, SCALE_450_PERCENT, SCALE_500_PERCENT } ; [PInvokeData("shtypes.h", MSDNShortId = "NE:shtypes.DEVICE_SCALE_FACTOR")] public enum DEVICE_SCALE_FACTOR { /// DEVICE_SCALE_FACTOR_INVALID = 0, /// 100%. The scale factor for the device is 1x. SCALE_100_PERCENT = 100, /// 120%. The scale factor for the device is 1.2x. SCALE_120_PERCENT = 120, /// SCALE_125_PERCENT = 125, /// 140%. The scale factor for the device is 1.4x. SCALE_140_PERCENT = 140, /// 150%. The scale factor for the device is 1.5x. SCALE_150_PERCENT = 150, /// 160%. The scale factor for the device is 1.6x. SCALE_160_PERCENT = 160, /// SCALE_175_PERCENT = 175, /// 180%. The scale factor for the device is 1.8x. SCALE_180_PERCENT = 180, /// SCALE_200_PERCENT = 200, /// 225%. The scale factor for the device is 2.25x. SCALE_225_PERCENT = 225, /// SCALE_250_PERCENT = 250, /// SCALE_300_PERCENT = 300, /// SCALE_350_PERCENT = 350, /// SCALE_400_PERCENT = 400, /// SCALE_450_PERCENT = 450, /// SCALE_500_PERCENT = 500, } }