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 WindowId that corresponds to the specified window handle (HWND), if the hwnd argument is valid.
Syntax
HRESULT GetWindowIdFromWindow(
HWND hwnd,
ABI::Windows::UI::WindowId *id
);
Parameters
hwnd
The handle of the window for which to get the WindowId.
id
The identifier that corresponds to hwnd, if hwnd is valid. Otherwise, null.
Requirements
Requirement | Value |
---|---|
Header | windows.ui.interop.h |