Retrieves the presentation parameters associated with a swap chain.
HRESULT GetPresentParameters( D3DPRESENT_PARAMETERS* pPresentationParameters );
If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be D3DERR_INVALIDCALL.
This method can be used to see the presentation parameters of the parent swap chain of a surface (a back buffer, for instance). The parent swap chain can be retrieved with IDirect3DSurface9::GetContainer.
Header: Declared in D3d9.h.