Platform SDK: DirectX

DirectDrawClipper.SetHWnd

The DirectDrawClipper.SetHWnd method sets the window handle to obtain the clipping information.

object.SetHWnd(hdl As Long)

Parameters

object
Object expression that resolves to a DirectDrawClipper object.
hdl
Window handle to obtain the clipping information.

Error Codes

If the method fails, it raises an error, and Err.Number can be set to one of the following values:

DDERR_INVALIDCLIPLIST
DDERR_INVALIDOBJECT
DDERR_INVALIDPARAMS
DDERR_OUTOFMEMORY

See Also

DirectDrawClipper.GetHWnd