ICoreWindowInterop interface

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

Methods

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.

Remarks

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.

Requirements

   
Target Platform Windows
Header corewindow.h

See Also

CoreWindow