User32GetThreadDpiAwarenessContext Method
Gets the DPI_AWARENESS_CONTEXT for the current thread.
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 IntPtr GetThreadDpiAwarenessContext()
<DllImportAttribute("User32.dll", ExactSpelling := true>]
Public Shared Function GetThreadDpiAwarenessContext As IntPtr
Dim returnValue As IntPtr
returnValue = User32.GetThreadDpiAwarenessContext()
public:
[DllImportAttribute(L"User32.dll", ExactSpelling = true)]
static IntPtr GetThreadDpiAwarenessContext()
[<DllImportAttribute("User32.dll", ExactSpelling = true)>]
static member GetThreadDpiAwarenessContext : unit -> IntPtr
No code example is currently available or this language may not be supported.
Return Value
IntPtr
The current DPI_AWARENESS_CONTEXT for the thread.