Interface ISwapChainPanelNative (windows.ui.xaml.media.dxinterop.h)
Fournit une interopérabilité entre XAML et une chaîne d’échange DirectX. Contrairement à SwapChainBackgroundPanel, un SwapChainPanel peut apparaître à n’importe quel niveau dans l’arborescence d’affichage XAML, et plus de 1 peut être présent dans une arborescence donnée.
Héritage
L’interface ISwapChainPanelNative hérite de l’interface IUnknown . ISwapChainPanelNative a également les types de membres suivants :
Méthodes
L’interface ISwapChainPanelNative a ces méthodes.
ISwapChainPanelNative::SetSwapChain Définit la chaîne d’échange DirectX pour SwapChainPanel. |
Remarques
Cette interface fournit l’implémentation native du type de Windows Runtime Windows::UI::XAML::Control::SwapChainPanel. Pour obtenir un pointeur vers ISwapChainPanelNative, vous devez convertir un instance SwapChainPanel en IInspectable ou IUnknown, puis appeler QueryInterface.
Microsoft::WRL::ComPtr<ISwapChainPanelNative> m_swapChainNative;
// ...
IInspectable* panelInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(swapChainPanel);
panelInspectable->QueryInterface(__uuidof(ISwapChainPanelNative), (void **)&m_swapChainNative);
Configuration requise
Client minimal pris en charge | Windows 8.1 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2012 R2 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | windows.ui.xaml.media.dxinterop.h |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour