Microsoft DirectX 9.0

IDirectDrawSurface::GetClipper

The GetClipper method returns the DirectDrawClipper associated with this surface. It returns an error if there is no DirectDrawClipper associated.

Syntax

HRESULT GetClipper(
  LPDIRECTDRAWCLIPPER FAR * lplpDDClippe
  );

Parameters

lplpDDClipper

Points to a pointer to the IDirectDrawClipper interface with the surface.

Return Values

Value Description
DD_OK The method succeeded.
DDERR_INVALIDOBJECT DirectDraw received a pointer that was an invalid DirectDraw object.
DDERR_INVALIDPARAMS One or more of the input parameters is invalid.
DDERR_NOCLIPPERATTACHED No clipper object attached to surface object.

See Also