ISwapChainPanelNative::SetSwapChain method

Sets the DirectX swap chain for SwapChainPanel.

Syntax


HRESULT SetSwapChain(
  [in] IDXGISwapChain *pSwapChain
);

Parameters

pSwapChain [in]

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]

Header

Windows.ui.xaml.media.dxinterop.h

IDL

Windows.ui.xaml.media.dxinterop.idl

DLL

Windows.UI.Xaml.dll

See also

ISwapChainPanelNative

 

 

Show: