Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ISwapChainPanelNative2 interface

Provides interoperation between XAML and a DirectX swap chain. Unlike SwapChainBackgroundPanel, a SwapChainPanel can appear at any level in the XAML display tree, and more than 1 can be present in any given tree.

Members

The ISwapChainPanelNative2 interface inherits from ISwapChainPanelNative. ISwapChainPanelNative2 also has these types of members:

Methods

The ISwapChainPanelNative2 interface has these methods.

MethodDescription
SetSwapChainHandle

Sets the DirectX swap chain for SwapChainPanel using a handle to the swap chain.

 

Remarks

This interface provides the native implementation of the Windows::UI::XAML::Control::SwapChainPanel Windows Runtime type. To obtain a pointer to ISwapChainPanelNative, you must cast a SwapChainPanel instance to IInspectable or IUnknown, and call QueryInterface.



Microsoft::WRL::ComPtr<ISwapChainPanelNative2>	m_swapChainNative2;
// ...
IInspectable* panelInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(swapChainPanel);
panelInspectable->QueryInterface(__uuidof(ISwapChainPanelNative2), (void **)&m_swapChainNative2);
	

Requirements

Minimum supported client

Windows 8.1 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 R2 [desktop apps | Windows Store apps]

Header

Windows.ui.xaml.media.dxinterop.h

IDL

Windows.ui.xaml.media.dxinterop.idl

DLL

Windows.UI.Xaml.dll

See also

SwapChainPanel
ISwapChainBackgroundPanelNative

 

 

Show: