d3d9.dllGetNumberOfSwapChains
Microsoft DirectX 9.0 SDK Update (October 2004)

IDirect3DDevice9::GetNumberOfSwapChains Method


Gets the number of implicit swap chains.

Syntax

UINT GetNumberOfSwapChains(VOID);

Return Value

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.



© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.