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 |
ContentPreTranslateMessage Filters window messages before they are dispatched to the TranslateMessage and DispatchMessage functions. |
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. |
OnDirectMessage Handles keyboard input messages for pre-translate processing on element with current focus. |
OnTreeMessage Handles keyboard input messages for pre-translate processing on elements without current focus. |
Resize |
ResumeDraw |
Scroll |
SetPreTranslateHandler Sets the pretranslate handler for keyboard input processing. |
SetRenderingDevice |
SuspendDraw |
TryRedirectForManipulation |
Interfaces
ICompositionDrawingSurfaceInterop |
ICompositionDrawingSurfaceInterop2 |
ICompositionGraphicsDeviceInterop |
ICompositorInterop |
IInputPreTranslateKeyboardSourceHandler Enables kayboard input message handling. |
IInputPreTranslateKeyboardSourceInterop Enables keyboard input interoperability between XAML and a native window. |
IVisualInteractionSourceInterop |