IDirectDrawSurface2::GetClipper

HRESULT GetClipper(LPDIRECTDRAWCLIPPER FAR * lplpDDClipper);

Retrieves the DirectDrawClipper object associated with this surface.

·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 object associated with the surface.