Partager via


IDirect3DDevice8::GetRasterStatus

This method returns information describing the raster of the monitor on which the swap chain is presented.

HRESULT GetRasterStatus(
  D3DRASTER_STATUS* pRasterStatus
);

Parameters

  • pRasterStatus
    [out] Pointer to a D3DRASTER_STATUS structure filled with information about the position or other status of the raster on the monitor driven by this adapter.

Return Values

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 whether the device supports reading the scan line, check for the D3DCAPS_READ_SCANLINE flag in the Caps member of D3DCAPS8.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

D3DCAPS8 | D3DRASTER_STATUS | IDirect3DDevice8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.