Platform SDK: DirectX |
The DirectDrawSurface7.GetClipper method retrieves the DirectDrawClipper object associated with this surface.
object.GetClipper() As DirectDrawClipper
If the method succeeds, it returns a DirectDrawClipper object associated with the surface.
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_NOCLIPPERATTACHED |
The object returned by a successful function call must be assigned to a DirectDrawClipper object variable. For example:
Dim Clipper as DirectDrawClipper Set Clipper = object.GetClipper()