Microsoft DirectX 9.0 SDK Update (October 2004)

Device.GetSwapChain Method

Language:

Note: This documentation is preliminary and is subject to change.

Retrieves a reference to a swap chain.

Definition

Visual Basic .NET Public Function GetSwapChain( _
    ByVal swapChain As Integer _
) As SwapChain
C# public SwapChain GetSwapChain(
    int swapChain
);
Managed C++ public: SwapChain* GetSwapChain(
    int swapChain
);
JScript .NET public function GetSwapChain(
    swapChain : int
) : SwapChain;

Parameters

swapChain System.Int32. Swap chain ordinal value. For more information, see Caps.NumberOfAdaptersInGroup.

Return Value

Microsoft.DirectX.Direct3D.SwapChain . A SwapChain class that receives a copy of the swap chain.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center