CreateSwapChainForSmartGlassDevice

[Deprecated] Creates a swap chain for a connected SmartGlass device.

Syntax

HRESULT CreateSwapChainForSmartGlassDevice(
         ID3D11Device *device,
         DXGI_SWAP_CHAIN_DESC *desc,
         IDXGISwapChain **swapChain
)  

Parameters

device
Type: ID3D11Device *

[in] A pointer to the Direct3D device that will write to the swap chain. This parameter cannot be NULL.

desc
Type: DXGI_SWAP_CHAIN_DESC *

[in] A pointer to a DXGI_SWAP_CHAIN_DESC structure containing the swap-chain description. This parameter cannot be NULL.

swapChain
Type: IDXGISwapChain **

[out] A pointer to a variable that receives a pointer to the created IDXGISwapChain interface.

Return value

Type: HRESULT 

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

Requirements

Header: Declared in windows.xbox.smartglass.interop.h.

Library: Use Windows.Xbox.SmartGlass.Interop.lib.