DpiAwareness.GetDpiAwarenessContext(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
IntPtr
nativeint
The window's DPI awareness context.