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. |
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 |