ISwapChainBackgroundPanelNative interface (windows.ui.xaml.media.dxinterop.h)
Provides interoperation between XAML and a DirectX swap chain.
Inheritance
The ISwapChainBackgroundPanelNative interface inherits from the IUnknown interface. ISwapChainBackgroundPanelNative also has these types of members:
Methods
The ISwapChainBackgroundPanelNative interface has these methods.
ISwapChainBackgroundPanelNative::SetSwapChain Sets the DirectX swap chain for SwapChainBackgroundPanel. |
Remarks
This interface provides the native implementation of the Windows::UI::XAML::Control::SwapChainBackgroundPanel Windows Runtime type. To obtain a pointer to ISwapChainBackgroundPanelNative, you must cast a SwapChainBackgroundPanel instance to IInspectable or IUnknown, and call QueryInterface.
Microsoft::WRL::ComPtr<ISwapChainBackgroundPanelNative> m_swapChainNative;
// ...
IInspectable* panelInspectable = (IInspectable*) reinterpret_cast<IInspectable*>(swapChainPanel);
panelInspectable->QueryInterface(__uuidof(ISwapChainBackgroundPanelNative), (void **)&m_swapChainNative);
Requirements
Requirement | Value |
---|---|
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 |