IDirect3DDevice9::GetNumberOfSwapChains

Gets the number of implicit swap chains.

UINT GetNumberOfSwapChains();

Parameters

None.

Return Values

Number of implicit swap chains. See Remarks.

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.

Requirements

Header: Declared in D3d9.h.