IDirectDrawSurface::GetClipper

HRESULT GetClipper(

LPDIRECTDRAWCLIPPER FAR * lplpDDClipper);

Returns the DirectDrawClipper associated with this surface. An error returns if no DirectDrawClipper is associated.

·Returns DD_OK if successful, or one of the following error values otherwise:

DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS

DDERR_NOCLIPPERATTACHED

lplpDDClipper

Address of a pointer to the DirectDrawClipper associated with the surface.