ICoreWindowInterop interface (corewindow.h)
Enables apps to obtain the window handle of the window (CoreWindow) associated with this interface.
Inheritance
The ICoreWindowInterop interface inherits from the IUnknown interface.
Methods
The ICoreWindowInterop interface has these methods.
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. (ICoreWindowInterop.put_MessageHandled) |
Remarks
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | corewindow.h |