UI 相互運用 API を使用して開発するには、これらのヘッダーが必要です。
- 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 を する
このテクノロジのプログラミング ガイダンスについては、アプリ ウィンドウの管理に関するページを参照してください。
関数
| BeginDraw の |
|
ContentPreTranslateMessage TranslateMessage 関数と DispatchMessage 関数にディスパッチされる前に、ウィンドウ メッセージをフィルター処理します。 |
| CopySurface を |
| CreateGraphicsDevice の |
|
CreateGraphicsDevice_Abi |
| EndDraw の |
| GetDisplayIdFromMonitor の hmonitor 引数が有効な場合、指定した HMONITORに対応する DisplayId を取得します。 |
|
GetIconFromIconId iconId 引数が有効で、システムにアイコンを表す HICON がある場合に、指定された IconIdに対応する HICON を取得します。 |
| GetIconIdFromIcon の hicon 引数が有効な場合に、指定した HICONに対応する IconId を取得します。 |
| GetMonitorFromDisplayId の displayId 引数が有効で、システムにディスプレイ モニターを表す HMONITOR がある場合は、指定した DisplayIdに対応する HMONITOR を取得します。 |
| GetRenderingDevice の |
| GetWindowFromWindowId を する 指定した WindowIdに対応するウィンドウ ハンドル (HWND) を取得します(windowId 引数が有効で、システムにウィンドウを表す HWND がある場合)。 |
| GetWindowIdFromWindow の hwnd 引数が有効な場合、指定したウィンドウ ハンドル (HWND) に対応する WindowId を取得します。 |
|
OnDirectMessage 現在のフォーカスを持つ要素に対する事前翻訳処理用のキーボード入力メッセージを処理します。 |
|
OnTreeMessage キーボード入力メッセージを処理して、現在のフォーカスのない要素に対する事前翻訳処理を行います。 |
|
Resize |
| ResumeDraw の |
|
スクロール |
| SetPreTranslateHandler の キーボード入力処理用のプリトランスレート ハンドラーを設定します。 |
|
SetRenderingDevice |
| SuspendDraw の |
| TryRedirectForManipulation の |
インターフェイス
|
ICompositionDrawingSurfaceInterop |
|
ICompositionDrawingSurfaceInterop2 |
|
ICompositionGraphicsDeviceInterop |
|
ICompositorInterop |
| IInputPreTranslateKeyboardSourceHandler の kayboard 入力メッセージの処理を有効にします。 |
| IInputPreTranslateKeyboardSourceInterop の XAML とネイティブ ウィンドウの間でキーボード入力の相互運用性を有効にします。 |
| IVisualInteractionSourceInterop の |