共用方式為


UI Interop

若要使用 UI Interop API 進行開發,您需要這些標頭。

如需這項技術的程式設計指引,請參閱 管理應用程式視窗

功能

 
BeginDraw

ContentPreTranslateMessage

在將訊息分派至 TranslateMessage 和 DispatchMessage 函式之前,先篩選視窗訊息。
CopySurface

CreateGraphicsDevice

CreateGraphicsDevice_Abi

EndDraw

GetDisplayIdFromMonitor

如果 hmonitor 自變數有效,則取得對應至指定 HMONITORDisplayId
GetIconFromIconId

取得對應至指定 IconIdHICON,如果 iconId 自變數有效,而且系統具有代表圖標的 HICON
GetIconIdFromIcon

取得對應至指定 HICONIconId,如果 hicon 自變數有效。
GetMonitorFromDisplayId

取得對應至指定 DisplayIdHMONITOR,如果 displayId 自變數有效,而且系統具有代表顯示監視器的 HMONITOR
GetRenderingDevice

GetWindowFromWindowId

取得視窗句柄 (HWND),對應至指定的 WindowId,如果 windowId 自變數有效,而且系統具有代表視窗的 HWND
GetWindowIdFromWindow

如果 hwnd 自變數有效,則取得對應至指定之視窗句柄的 WindowId。如果 hwnd 自變數有效,則為 。
OnDirectMessage

處理鍵盤輸入訊息,以在具有目前焦點的元素上預先轉譯處理。
OnTreeMessage

處理鍵盤輸入訊息,以在沒有目前焦點的元素上預先翻譯處理。
Resize

ResumeDraw

卷動

SetPreTranslateHandler

設定鍵盤輸入處理的預先傳輸處理程式。
SetRenderingDevice

SuspendDraw

TryRedirectForManipulation

介面

 
ICompositionDrawingSurfaceInterop

ICompositionDrawingSurfaceInterop2

ICompositionGraphicsDeviceInterop

ICompositorInterop

IInputPreTranslateKeyboardSourceHandler

啟用 Kayboard 輸入訊息處理。
IInputPreTranslateKeyboardSourceInterop

啟用 XAML 與原生視窗之間的鍵盤輸入互作性。
IVisualInteractionSourceInterop