Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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

Syntax

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

Parameters

pPresentationParameters

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

pSwapChain

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

Return Value

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

Remarks

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.

Requirements

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.