IDirectDrawClipper::SetHWnd

HRESULT SetHWnd(DWORD dwFlags, HWND hWnd);

Sets the hWnd that will obtain the clipping information.

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

DDERR_INVALIDOBJECT DDERR_INVALIDPARAMS

DDERR_INVALIDCLIPLIST DDERR_OUTOFMEMORY

dwFlags

This parameter is not used at this time and must be set to 0.

hWnd

The hWnd that obtains the clipping information.