winrt-microsoft.ui.interop.h header

This header is named Microsoft.UI.Interop.h, and it's in the Windows App SDK's \include\winrt folder.

C#. For C# desktop application developers, the interop functions in this header are wrapped by the methods of the Microsoft.UI.Win32Interop class.

This header is used by the UI Interop API.

winrt-microsoft.ui.interop.h contains the following programming interfaces:

Functions

 
ui::interop::GetDisplayIdFromMonitor

Gets the DisplayId that corresponds to the specified hmonitor, if the provided HMONITOR is valid.
ui::interop::GetIconFromIconId

Gets the icon handle that corresponds to the specified iconId, if the provided iconId is valid and the system has an HICON that represents the icon.
ui::interop::GetIconIdFromIcon

Gets the IconId that corresponds to the specified hicon, if the provided HICON is valid.
ui::interop::GetMonitorFromDisplayId

Gets the display monitor handle that corresponds to the specified displayId, if the provided displayId is valid and the system has an HMONITOR that represents the display monitor.
ui::interop::GetWindowFromWindowId

Gets the window handle that corresponds to the specified windowId, if the provided windowId is valid and the system has an HWND that represents the window.
ui::interop::GetWindowIdFromWindow

Gets the WindowId that corresponds to the specified hwnd, if the provided HWND is valid.