Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets a pointer to a swap chain.
HRESULT GetSwapChain(
[in] UINT iSwapChain,
[in] IDirect3DSwapChain9 **pSwapChain
);
[in] iSwapChain
Type: UINT
The swap chain ordinal value. For more information, see NumberOfAdaptersInGroup in D3DCAPS9.
[in] pSwapChain
Type: IDirect3DSwapChain9**
Pointer to an IDirect3DSwapChain9 interface that will receive a copy of swap chain.
Type: HRESULT
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL.
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d9helper.h (include D3D9.h) |
Library | D3D9.lib |