ReactOS 0.4.16-dev-1541-g7e1d9ef
shellscalingapi.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS SDK
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: API definitions for api-ms-win-shcore-scaling-l1-1-1.dll
5 * COPYRIGHT: Copyright 2025 Carl Bialorucki (carl.bialorucki@reactos.org)
6 */
7
8#pragma once
9
10#include <shtypes.h>
11
12typedef enum
13{
19
20typedef enum
21{
26
27typedef enum
28{
32
33typedef enum
34{
39
40#if (NTDDI_VERSION >= NTDDI_WIN8)
44#endif // (NTDDI_VERSION >= NTDDI_WIN8)
45
46#if (NTDDI_VERSION >= NTDDI_WINBLUE)
53#endif // (NTDDI_VERSION >= NTDDI_WINBLUE)
54
55#if (NTDDI_VERSION >= NTDDI_WIN10)
56typedef enum
57{
62
64#endif // (NTDDI_VERSION >= NTDDI_WIN10)
unsigned long DWORD
Definition: ntddk_ex.h:95
static HANDLE hEvent
Definition: comm.c:54
unsigned int UINT
Definition: ndis.h:50
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
PROCESS_DPI_AWARENESS
@ PROCESS_SYSTEM_DPI_AWARE
@ PROCESS_PER_MONITOR_DPI_AWARE
@ PROCESS_DPI_UNAWARE
DISPLAY_DEVICE_TYPE
@ DEVICE_IMMERSIVE
@ DEVICE_PRIMARY
UINT WINAPI GetDpiForShellUIComponent(_In_ SHELL_UI_COMPONENT)
HRESULT WINAPI GetDpiForMonitor(_In_ HMONITOR hmonitor, _In_ MONITOR_DPI_TYPE dpiType, _Out_ UINT *dpiX, _Out_ UINT *dpiY)
HRESULT WINAPI UnregisterScaleChangeEvent(_In_ DWORD_PTR dwCookie)
MONITOR_DPI_TYPE
@ MDT_RAW_DPI
@ MDT_EFFECTIVE_DPI
@ MDT_ANGULAR_DPI
@ MDT_DEFAULT
SHELL_UI_COMPONENT
@ SHELL_UI_COMPONENT_DESKBAND
@ SHELL_UI_COMPONENT_NOTIFICATIONAREA
@ SHELL_UI_COMPONENT_TASKBARS
HRESULT WINAPI GetScaleFactorForMonitor(_In_ HMONITOR hMon, _Out_ DEVICE_SCALE_FACTOR *pScale)
HRESULT WINAPI GetProcessDpiAwareness(_In_opt_ HANDLE hprocess, _Out_ PROCESS_DPI_AWARENESS *value)
HRESULT WINAPI SetProcessDpiAwareness(_In_ PROCESS_DPI_AWARENESS value)
HRESULT WINAPI RevokeScaleChangeNotifications(_In_ DISPLAY_DEVICE_TYPE displayDevice, _In_ DWORD dwCookie)
HRESULT WINAPI RegisterScaleChangeEvent(_In_ HANDLE hEvent, _Out_ DWORD_PTR *pdwCookie)
SCALE_CHANGE_FLAGS
@ SCF_SCALE
@ SCF_VALUE_NONE
@ SCF_PHYSICAL
HRESULT WINAPI RegisterScaleChangeNotifications(_In_ DISPLAY_DEVICE_TYPE displayDevice, _In_ HWND hwndNotify, _In_ UINT uMsgNotify, _Out_ DWORD *pdwCookie)
DEVICE_SCALE_FACTOR WINAPI GetScaleFactorForDevice(_In_ DISPLAY_DEVICE_TYPE deviceType)
DEVICE_SCALE_FACTOR
Definition: shtypes.idl:194
uint32_t DWORD_PTR
Definition: typedefs.h:65
Definition: pdh_main.c:96
#define WINAPI
Definition: msvc.h:6