Microsoft DirectX 9.0

IDirectDrawClipper::SetHWnd

The SetHWnd method sets the window handle that will be used to obtain clipping information.

Syntax

HRESULT SetHWnd(
  DWORD dwFlags,
  HWND hWnd 
);

Parameters

dwFlags

Not in use.

hWnd

The window handle associated with the clipping information.

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 parameters passed to the function are incorrect.
DDERR_OUTOFMEMORY DirectDraw does not have enough memory to perform the operation.

See Also