Vanara/PInvoke/SHCore
David Hall 2eb7120807 Cleaned code and fixed build issues 2023-09-24 15:26:46 -06:00
..
ShellScalingApi.cs Cleaned code and fixed build issues 2023-09-24 15:26:46 -06:00
Vanara.PInvoke.SHCore.csproj Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
pkgreadme.md Updated package readme files 2022-06-14 16:55:29 -06:00
readme.md Updated project files 2022-10-25 11:24:54 -06:00

readme.md

Vanara.PInvoke.SHCore

PInvoke API (methods, structures and constants) imported from Windows SHCore.dll.

  • Includes methods from shcore.dll
  • Current NuGet release: NugetNuget

Methods - 100% API coverage (10 of 10 functions)

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

Enumerations

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