UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:shellscalingapi.RegisterScaleChangeNotifications |
RegisterScaleChangeNotifications function (shellscalingapi.h) |
Registers a window to receive callbacks when scaling information changes. |
|
shell\RegisterScaleChangeNotifications.htm |
shell |
79FB0A54-EBF0-4aab-B631-B4D3EA54D20B |
12/05/2018 |
RegisterScaleChangeNotifications, RegisterScaleChangeNotifications function [Windows Shell], shell.RegisterScaleChangeNotifications, shellscalingapi/RegisterScaleChangeNotifications |
shellscalingapi.h |
Windows |
Windows 8 [desktop apps only] |
Windows Server 2012 [desktop apps only] |
Shcore.dll |
Windows |
19H1 |
|
|
|
|
|
|
Registers a window to receive callbacks when scaling information changes.
Type: DISPLAY_DEVICE_TYPE
The enum value that indicates which display device to receive notifications about.
Type: HWND
The handle of the window that will receive the notifications.
Type: UINT
An application-defined message that is passed to the window specified by hwndNotify when scaling information changes. Typically, this should be set to WM_APP+x, where x is an integer value.
Type: DWORD*
Pointer to a value that, when this function returns successfully, receives a registration token. This token is used to revoke notifications by calling RevokeScaleChangeNotifications.
Type: STDAPI
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
This message specified by uMsgNotify is posted to the registered window through PostMessage. The wParam of the message can contain a combination of SCALE_CHANGE_FLAGS that describe the change that occurred.