DpiAwareness.GetDpiAwarenessContext(IntPtr) Method

Definition

Gets the DPI awareness context of the given window.

public:
[System::Runtime::CompilerServices::Extension]
 static IntPtr GetDpiAwarenessContext(IntPtr hwnd);
public static IntPtr GetDpiAwarenessContext (this IntPtr hwnd);
static member GetDpiAwarenessContext : nativeint -> nativeint
<Extension()>
Public Function GetDpiAwarenessContext (hwnd As IntPtr) As IntPtr

Parameters

hwnd
IntPtr

nativeint

The IntPtr of the window from which to get the DPI awareness context.

Returns

IntPtr

nativeint

The window's DPI awareness context.

Applies to