PInvoke API (methods, structures and constants) imported from Windows SHCore.dll.
| Native Method | Header | Managed Method |
|---|---|---|
| GetDpiForMonitor | shellscalingapi.h | Vanara.PInvoke.SHCore.GetDpiForMonitor |
| GetDpiForShellUIComponent | shellscalingapi.h | Vanara.PInvoke.SHCore.GetDpiForShellUIComponent |
| GetProcessDpiAwareness | shellscalingapi.h | Vanara.PInvoke.SHCore.GetProcessDpiAwareness |
| GetScaleFactorForDevice | shellscalingapi.h | Vanara.PInvoke.SHCore.GetScaleFactorForDevice |
| GetScaleFactorForMonitor | shellscalingapi.h | Vanara.PInvoke.SHCore.GetScaleFactorForMonitor |
| RegisterScaleChangeEvent | shellscalingapi.h | Vanara.PInvoke.SHCore.RegisterScaleChangeEvent |
| RegisterScaleChangeNotifications | shellscalingapi.h | Vanara.PInvoke.SHCore.RegisterScaleChangeNotifications |
| RevokeScaleChangeNotifications | shellscalingapi.h | Vanara.PInvoke.SHCore.RevokeScaleChangeNotifications |
| SetProcessDpiAwareness | shellscalingapi.h | Vanara.PInvoke.SHCore.SetProcessDpiAwareness |
| UnregisterScaleChangeEvent | shellscalingapi.h | Vanara.PInvoke.SHCore.UnregisterScaleChangeEvent |
| Native Enum | Header | Managed Enum |
|---|---|---|
| DISPLAY_DEVICE_TYPE | shellscalingapi.h | Vanara.PInvoke.SHCore.DISPLAY_DEVICE_TYPE |
| MONITOR_DPI_TYPE | shellscalingapi.h | Vanara.PInvoke.SHCore.MONITOR_DPI_TYPE |
| PROCESS_DPI_AWARENESS | shellscalingapi.h | Vanara.PInvoke.SHCore.PROCESS_DPI_AWARENESS |
| SCALE_CHANGE_FLAGS | shellscalingapi.h | Vanara.PInvoke.SHCore.SCALE_CHANGE_FLAGS |
| SHELL_UI_COMPONENT | shellscalingapi.h | Vanara.PInvoke.SHCore.SHELL_UI_COMPONENT |