ICoreWindowInterop interface

Enables apps to obtain the window handleof the window (CoreWindow) associated with this interface.


The ICoreWindowInterop interface has these methods.

Method Description
ICoreWindowInterop::get_WindowHandle Obtains the handle (HWND) to the CoreWindow for an app.
ICoreWindowInterop::put_MessageHandled Sets whether or not the message to the CoreWindow has been handled.


Windows Store apps can have multiple CoreWindow instances. Each CoreWindow instances also has a native interface for accessing the underlying HWND, represented as an instance of ICoreWindowInterop.


Target Platform Windows
Header corewindow.h

See Also