Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Revokes the registration of a window, preventing it from receiving callbacks when scaling information changes.
Syntax
HRESULT RevokeScaleChangeNotifications(
[in] DISPLAY_DEVICE_TYPE displayDevice,
[in] DWORD dwCookie
);
Parameters
[in] displayDevice
Type: DISPLAY_DEVICE_TYPE
The enum value that indicates which display device to receive notifications about.
[in] dwCookie
Type: DWORD
The registration token returned by a previous call to RegisterScaleChangeNotifications.
Return value
Type: STDAPI
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | shellscalingapi.h |
DLL | Shcore.dll |