Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |