DirectX SDK |
The DirectDrawClipper.SetClipList method sets or deletes the clip list used by the DirectDrawSurface7.Blt method on surfaces to which the parent DirectDrawClipper object is attached.
object.SetClipList( _ count As Long, _ rects() as RECT)
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DDERR_CLIPPERISUSINGHWND |
DDERR_INVALIDCLIPLIST |
DDERR_INVALIDOBJECT |
DDERR_INVALIDPARAMS |
DDERR_OUTOFMEMORY |
The clip list cannot be set if a window handle is already associated with the DirectDrawClipper object. The DirectDrawSurface7.BltFast method cannot clip.
DirectDrawClipper.GetClipList, DirectDrawSurface7.Blt, DirectDrawSurface7.BltFast