IDirectDrawClipper::SetHWnd

HRESULT SetHWnd(DWORD dwFlags, HWND hWnd);

Sets the window handle that will obtain the clipping information.

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

DDERR_INVALIDCLIPLIST

DDERR_INVALIDOBJECT

DDERR_INVALIDPARAMS

DDERR_OUTOFMEMORY

dwFlags

This parameter is currently not used and must be set to 0.

hWnd

Window handle that obtains the clipping information.