public HRESULT IsApplicationViewStateSupported(APPLICATION_VIEW_STATE viewState, SIZE nativeDisplaySizePixels, DEVICE_SCALE_FACTOR scaleFactor, BOOL *supported) { return(((delegate * unmanaged <IApplicationDesignModeSettings *, APPLICATION_VIEW_STATE, SIZE, DEVICE_SCALE_FACTOR, BOOL *, int>)(lpVtbl[7]))((IApplicationDesignModeSettings *)Unsafe.AsPointer(ref this), viewState, nativeDisplaySizePixels, scaleFactor, supported)); }
public HRESULT SetScaleFactor(DEVICE_SCALE_FACTOR scaleFactor) { return(((delegate * unmanaged <IApplicationDesignModeSettings *, DEVICE_SCALE_FACTOR, int>)(lpVtbl[4]))((IApplicationDesignModeSettings *)Unsafe.AsPointer(ref this), scaleFactor)); }
public static extern HRESULT GetScaleFactorForMonitor(HMONITOR hMon, out DEVICE_SCALE_FACTOR pScale);
public static extern HResult GetScaleFactorForMonitor(IntPtr hMon, out DEVICE_SCALE_FACTOR pScale);
public static extern int GetScaleFactorForMonitor(IntPtr hMon, out DEVICE_SCALE_FACTOR value);