Vanara/PInvoke/SHCore/readme.md

27 lines
4.4 KiB
Markdown

## Vanara.PInvoke.SHCore
PInvoke API (methods, structures and constants) imported from Windows SHCore.dll.
- Includes methods from shcore.dll
- Current NuGet release: [![Nuget](https://img.shields.io/nuget/v/Vanara.PInvoke.SHCore?logo=nuget&style=flat-square)![Nuget](https://img.shields.io/nuget/dt/Vanara.PInvoke.SHCore?label=%20&style=flat-square)](https://www.nuget.org/packages/Vanara.PInvoke.SHCore)
### Methods - 100% API coverage (10 of 10 functions)
Native Method | Header | Managed Method
--- | --- | ---
[GetDpiForMonitor](https://www.google.com/search?num=5&q=GetDpiForMonitor+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.GetDpiForMonitor](https://github.com/dahall/Vanara/search?l=C%23&q=GetDpiForMonitor)
[GetDpiForShellUIComponent](https://www.google.com/search?num=5&q=GetDpiForShellUIComponent+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.GetDpiForShellUIComponent](https://github.com/dahall/Vanara/search?l=C%23&q=GetDpiForShellUIComponent)
[GetProcessDpiAwareness](https://www.google.com/search?num=5&q=GetProcessDpiAwareness+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.GetProcessDpiAwareness](https://github.com/dahall/Vanara/search?l=C%23&q=GetProcessDpiAwareness)
[GetScaleFactorForDevice](https://www.google.com/search?num=5&q=GetScaleFactorForDevice+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.GetScaleFactorForDevice](https://github.com/dahall/Vanara/search?l=C%23&q=GetScaleFactorForDevice)
[GetScaleFactorForMonitor](https://www.google.com/search?num=5&q=GetScaleFactorForMonitor+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.GetScaleFactorForMonitor](https://github.com/dahall/Vanara/search?l=C%23&q=GetScaleFactorForMonitor)
[RegisterScaleChangeEvent](https://www.google.com/search?num=5&q=RegisterScaleChangeEvent+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.RegisterScaleChangeEvent](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterScaleChangeEvent)
[RegisterScaleChangeNotifications](https://www.google.com/search?num=5&q=RegisterScaleChangeNotifications+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.RegisterScaleChangeNotifications](https://github.com/dahall/Vanara/search?l=C%23&q=RegisterScaleChangeNotifications)
[RevokeScaleChangeNotifications](https://www.google.com/search?num=5&q=RevokeScaleChangeNotifications+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.RevokeScaleChangeNotifications](https://github.com/dahall/Vanara/search?l=C%23&q=RevokeScaleChangeNotifications)
[SetProcessDpiAwareness](https://www.google.com/search?num=5&q=SetProcessDpiAwareness+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.SetProcessDpiAwareness](https://github.com/dahall/Vanara/search?l=C%23&q=SetProcessDpiAwareness)
[UnregisterScaleChangeEvent](https://www.google.com/search?num=5&q=UnregisterScaleChangeEvent+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.UnregisterScaleChangeEvent](https://github.com/dahall/Vanara/search?l=C%23&q=UnregisterScaleChangeEvent)
### Enumerations
Native Enum | Header | Managed Enum
--- | --- | ---
[DISPLAY_DEVICE_TYPE](https://www.google.com/search?num=5&q=DISPLAY_DEVICE_TYPE+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.DISPLAY_DEVICE_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=DISPLAY_DEVICE_TYPE)
[MONITOR_DPI_TYPE](https://www.google.com/search?num=5&q=MONITOR_DPI_TYPE+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.MONITOR_DPI_TYPE](https://github.com/dahall/Vanara/search?l=C%23&q=MONITOR_DPI_TYPE)
[PROCESS_DPI_AWARENESS](https://www.google.com/search?num=5&q=PROCESS_DPI_AWARENESS+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.PROCESS_DPI_AWARENESS](https://github.com/dahall/Vanara/search?l=C%23&q=PROCESS_DPI_AWARENESS)
[SCALE_CHANGE_FLAGS](https://www.google.com/search?num=5&q=SCALE_CHANGE_FLAGS+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.SCALE_CHANGE_FLAGS](https://github.com/dahall/Vanara/search?l=C%23&q=SCALE_CHANGE_FLAGS)
[SHELL_UI_COMPONENT](https://www.google.com/search?num=5&q=SHELL_UI_COMPONENT+site%3Alearn.microsoft.com) | shellscalingapi.h | [Vanara.PInvoke.SHCore.SHELL_UI_COMPONENT](https://github.com/dahall/Vanara/search?l=C%23&q=SHELL_UI_COMPONENT)