Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the window handle (HWND) that corresponds to the specified WindowId, if the windowId argument is valid and the system has an HWND that represents the window.
Syntax
HRESULT GetWindowFromWindowId(
ABI::Windows::UI::WindowId id,
HWND *hwnd
);
Parameters
id
The identifier for the window.
hwnd
The window handle that corresponds to windowId, if windowId is valid and the system has an HWND that represents the window. Otherwise, null.
Requirements
Requirement | Value |
---|---|
Header | windows.ui.interop.h |