GetAwarenessFromDpiAwarenessContext function
Retrieves the DPI_AWARENESS value from a DPI_AWARENESS_CONTEXT.
Syntax
DPI_AWARENESS WINAPI GetAwarenessFromDpiAwarenessContext(
_In_ DPI_AWARENESS_CONTEXT value
);
Parameters
- value [in]
-
The DPI_AWARENESS_CONTEXT you want to examine.
Return value
The DPI_AWARENESS. If the provided value is null or invalid, this method will return DPI_AWARENESS_INVALID.
Remarks
A DPI_AWARENESS_CONTEXT contains multiple pieces of information. For example, it includes both the current and the inherited DPI_AWARENESS. This method retrieves the DPI_AWARENESS from the structure.
Requirements
|
Minimum supported client |
Windows 10 [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
|
DLL |
|
See also