Share via


ISwapChainBackgroundPanelNative ::SetSwapChain, méthode (windows.ui.xaml.media.dxinterop.h)

Définit la chaîne d’échange DirectX pour SwapChainBackgroundPanel.

Syntaxe

HRESULT SetSwapChain(
  [in] IDXGISwapChain *swapChain
);

Paramètres

[in] swapChain

IDXGISwapChain configuré.

Valeur retournée

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
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
DLL Windows.UI.Xaml.dll

Voir aussi

Technologie interop DirectX et XAML

IDXGISwapChain

ISwapChainBackgroundPanelNative