ISwapChainPanelNative::SetSwapChain method

Sets the DirectX swap chain for SwapChainPanel.

Syntax

HRESULT SetSwapChain(
  IDXGISwapChain *swapChain
);

Parameters

swapChain

A configured IDXGISwapChain.

Return Value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

   
Minimum supported client Windows 8.1 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 R2 [desktop apps | UWP apps]
Target Platform Windows
Header windows.ui.xaml.media.dxinterop.h
DLL Windows.UI.Xaml.dll

See Also

ISwapChainPanelNative