Microsoft DirectX 9.0

IDirect3DDevice9::GetNumberOfSwapChains Method

Gets the number of implicit swap chains.


UINT GetNumberOfSwapChains(VOID);

Return Value

Number of implicit swap chains. See Remarks.


Implicit swap chains are created by the device during IDirect3D9::CreateDevice. This method returns the number of swap chains created by CreateDevice.

An application may create additional swap chains using IDirect3DDevice9::CreateAdditionalSwapChain.

© 2002 Microsoft Corporation. All rights reserved.