Device.GetRasterStatus(Int32) Method (Microsoft.DirectX.Direct3D)
Returns information that describes the raster of the monitor on which the swap chain is presented.
Unsigned integer that specifies the swap chain.
InvalidCallException The device does not support reading the current scan line. To determine whether a device supports reading the scan line, check for the DriverCaps.ReadScanLine property in Caps.DriverCaps.