Microsoft DirectX 8.1 (Visual Basic) |
Returns information describing the raster of the monitor on which the swap chain is presented.
object.GetRasterStatus() As D3DRASTER_STATUS
A D3DRASTER_STATUS type filled with information about the position or other status of the raster on the monitor driven by this adapter.
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL if pRasterStatus is invalid or if the device does not support reading the current scan line. You can determine whether or not the device supports reading the scan line by checking for the D3DCAPS_READ_SCANLINE flag in the Caps member of D3DCAPS8.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.