Expand Minimize
This topic has not yet been rated - Rate this topic

RevokeScaleChangeNotifications function

Revokes the registration of a window, preventing it from receiving callbacks when scaling information changes.

Syntax


STDAPI RevokeScaleChangeNotifications(
  _In_  DISPLAY_DEVICE_TYPE displayDevice,
  _In_  DWORD dwCookie
);

Parameters

displayDevice [in]

Type: DISPLAY_DEVICE_TYPE

The enum value that indicates which display device to receive notifications about.

dwCookie [in]

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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

ShellScalingApi.h

DLL

Shcore.dll

 

 

Send comments about this topic to Microsoft

Build date: 11/28/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.