User32GetAwarenessFromDpiAwarenessContext Method
Retrieves the
DpiAwareness value from a DPI_AWARENESS_CONTEXT.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", ExactSpelling = true)]
public static DpiAwareness GetAwarenessFromDpiAwarenessContext(
IntPtr value
)
<DllImportAttribute("User32.dll", ExactSpelling := true>]
Public Shared Function GetAwarenessFromDpiAwarenessContext (
value As IntPtr
) As DpiAwareness
Dim value As IntPtr
Dim returnValue As DpiAwareness
returnValue = User32.GetAwarenessFromDpiAwarenessContext(value)
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
static DpiAwareness GetAwarenessFromDpiAwarenessContext(
IntPtr value
)
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
static member GetAwarenessFromDpiAwarenessContext :
value : IntPtr -> DpiAwareness
No code example is currently available or this language may not be supported.
- value IntPtr
-
The DPI_AWARENESS_CONTEXT you want to examine.
DpiAwareness
The
DpiAwareness.
If the provided value is null or invalid, this method will return
Invalid.