UI Interop
To develop with the UI Interop APIs, you need these headers.
- winrt/microsoft.ui.interop.h
- microsoft.ui.interop.h
- microsoft.ui.composition.interop.h
- microsoft.ui.input.inputcursor.interop
- microsoft.ui.dispatching.interop
- microsoft.ui.input.inputpretranslatesource.interop
For programming guidance for this technology, see Manage app windows.
Functions
| BeginDraw |
| CopySurface |
| CreateGraphicsDevice |
| CreateGraphicsDevice_Abi |
| EndDraw |
| GetDisplayIdFromMonitor Gets the DisplayId that corresponds to the specified HMONITOR, if the hmonitor argument is valid. |
| GetDisplayIdFromMonitor Gets the DisplayId that corresponds to the specified hmonitor, if the provided HMONITOR is valid. |
| GetIconFromIconId Gets the HICON that corresponds to the specified IconId, if the iconId argument is valid and the system has an HICON that represents the icon. |
| 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. |
| GetIconIdFromIcon Gets the IconId that corresponds to the specified HICON, if the hicon argument is valid. |
| GetIconIdFromIcon Gets the IconId that corresponds to the specified hicon, if the provided HICON is valid. |
| GetMonitorFromDisplayId Gets the HMONITOR that corresponds to the specified DisplayId, if the displayId argument is valid and the system has an HMONITOR that represents the display monitor. |
| 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. |
| GetRenderingDevice |
| GetWindowFromWindowId 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. |
| 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. |
| GetWindowIdFromWindow Gets the WindowId that corresponds to the specified window handle (HWND), if the hwnd argument is valid. |
| GetWindowIdFromWindow Gets the WindowId that corresponds to the specified hwnd, if the provided HWND is valid. |
| Resize |
| ResumeDraw |
| Scroll |
| SetRenderingDevice |
| SuspendDraw |
| TryRedirectForManipulation |
Interfaces
| ICompositionDrawingSurfaceInterop |
| ICompositionDrawingSurfaceInterop2 |
| ICompositionGraphicsDeviceInterop |
| ICompositorInterop |
| IVisualInteractionSourceInterop |
Feedback
Submit and view feedback for