Returns information describing the raster of the monitor on which the swap chain is presented.
HRESULT GetRasterStatus( UINT iSwapChain, D3DRASTER_STATUS * pRasterStatus );
If the method succeeds, the return value is D3D_OK. D3DERR_INVALIDCALL is returned if pRasterStatus is invalid or if the device does not support reading the current scan line. To determine if the device supports reading the scan line, check for the D3DCAPS_READ_SCANLINE flag in the Caps member of D3DCAPS9.
Header: Declared in D3d9.h.