SetProcessDpiAwareness function

[This documentation is preliminary and is subject to change.]

Syntax

STDAPI SetProcessDpiAwareness(
  _In_  PROCESS_DPI_AWARENESS value
);

Parameters

  • value [in]

Return value

If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8.1 Preview [desktop apps only]

Minimum supported server

Windows Server 2012 R2 Preview [desktop apps only]

Header

ShellScalingAPI.h

Library

Shcore.lib

DLL

Shcore.dll

See also

GetProcessDpiAwareness

GetDpiForMonitor

 

 

Send comments about this topic to Microsoft

Build date: 9/26/2013