Microsoft DirectX 9.0

IDirectDrawClipper::GetHWnd

The GetHWnd method returns the window handle previously associated with this DirectDrawClipper object by using the SetHWnd method.

Syntax

HRESULT GetHWnd(
  HWND FAR *lphWnd 
);

Parameters

lphWnd

Points to the window handle previously associated with this clipper using the SetHWnd method.

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.

See Also