ICoreWindowInterop interface (corewindow.h)
Enables apps to obtain the window handle of the window (CoreWindow) associated with this interface.
The ICoreWindowInterop interface inherits from the IUnknown interface.
The ICoreWindowInterop interface has these methods.
Obtains the handle (HWND) to the CoreWindow for an app.
Sets whether or not the message to the CoreWindow has been handled. (ICoreWindowInterop.put_MessageHandled)
Windows Store apps can have multiple CoreWindow instances. Each CoreWindow instance also has a native interface for accessing the underlying HWND, represented as an instance of ICoreWindowInterop.