ICoreWindowInterop::get_WindowHandle method (corewindow.h)
Obtains the handle (HWND) to the CoreWindow for an app.
This property is read-only.
Syntax
HRESULT get_WindowHandle(
HWND *hwnd
);
Parameters
hwnd
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | corewindow.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for