User32IsValidDpiAwarenessContext Method
Determines if a specified DPI_AWARENESS_CONTEXT is valid and supported by the current system.
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 bool IsValidDpiAwarenessContext(
IntPtr value
)
<DllImportAttribute("User32.dll", ExactSpelling := true>]
Public Shared Function IsValidDpiAwarenessContext (
value As IntPtr
) As Boolean
Dim value As IntPtr
Dim returnValue As Boolean
returnValue = User32.IsValidDpiAwarenessContext(value)
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
static bool IsValidDpiAwarenessContext(
IntPtr value
)
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
static member IsValidDpiAwarenessContext :
value : IntPtr -> bool
No code example is currently available or this language may not be supported.
- value IntPtr
-
The context that you want to determine if it is supported.
Boolean if the provided context is supported, otherwise
.