| Platform SDK: DirectX |
The DirectDraw7.CreateClipper method creates a DirectDrawClipper object.
object.CreateClipper(flags As Long) As DirectDrawClipper
If the method succeeds, it returns a DirectDrawClipper object.
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
| DDERR_INVALIDOBJECT |
| DDERR_INVALIDPARAMS |
| DDERR_NOCOOPERATIVELEVELSET |
| DDERR_OUTOFMEMORY |
The DirectDrawClipper object can be attached to a DirectDrawSurface and used during DirectDrawSurface7.Blt operations.
DirectDrawSurface7.GetClipper, DirectDrawSurface7.SetClipper