IWindowNative interface (microsoft.ui.xaml.window.h)
Enables interoperability between XAML and a native window. This interface is implemented by Microsoft.UI.Xaml.Window, which desktop apps can use to get the underlying HWND of the window.
For more info, and code examples, see Retrieve a window handle (HWND).
Inheritance
The IWindowNative interface inherits from the IUnknown interface.
Methods
The IWindowNative interface has these methods.
| IWindowNative::get_WindowHandle Retrieves the window handle (HWND) of the window represented by the object that implements IWindowNative. |
Requirements
| Minimum supported client | Windows 10, version 1809 (with Windows App SDK 0.5 or later) |
| Header | microsoft.ui.xaml.window.h |