GetDpiAwarenessContextForProcess function (winuser.h)
Gets a DPI_AWARENESS_CONTEXT handle for the specified process.
Syntax
DPI_AWARENESS_CONTEXT GetDpiAwarenessContextForProcess(
HANDLE hProcess
);
Parameters
hProcess
A handle to the process for which the DPI awareness context is retrieved. If NULL is specified, the context is retrieved for the current process.
Return value
The DPI_AWARENESS_CONTEXT for the specified process.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1803 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |