|Microsoft DirectX 9.0|
The GetHWnd method returns the window handle previously associated with this DirectDrawClipper object by using the SetHWnd method.
HRESULT GetHWnd( HWND FAR *lphWnd );
Points to the window handle previously associated with this clipper using the SetHWnd method.
|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.|