Export (0) Print
Expand All
Expand Minimize

IDirect3DMobileDevice::CreateAdditionalSwapChain

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This method creates an additional swap chain for rendering multiple views.


HRESULT CreateAdditionalSwapChain(
  D3DMPRESENT_PARAMETERS* pPresentationParameters,
  IDirect3DMobileSwapChain** pSwapChain
);

pPresentationParameters

[in] Pointer to a D3DMPRESENT_PARAMETERS structure that represents the presentation parameters for the new swap chain. This value cannot be NULL.

pSwapChain

[out] Address of a pointer to an IDirect3DMobileSwapChain interface that represents the additional swap chain.

If the method succeeds, the return value is D3DM_OK (see D3DM Values).

If the method fails, the return value can be E_OUTOFMEMORY, or one of the following D3DMERR Values.

  • D3DMERR_MEMORYPOOLEMPTY
  • D3DMERR_INVALIDCAL

There is always at least one swap chain (the implicit swap chain) for each device, because Microsoft® Direct3D Mobile® has one swap chain as a property of the device.

Note that any given device can support only one full-screen swap chain.

Headerd3dm.h
LibraryD3dm.lib, D3dmguid.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft