GetProcessDpiAwareness function

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

Syntax


STDAPI GetProcessDpiAwareness(
  _In_opt_  HANDLE hprocess,
  _Out_     PROCESS_DPI_AWARENESS *value
);

Parameters

hprocess [in, optional]
value [out]

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

SetProcessDpiAwareness
GetDpiForMonitor

 

 

Send comments about this topic to Microsoft

Build date: 9/2/2013

Community Additions

Show:
© 2014 Microsoft